source: zzuf/trunk/src/Makefile.am @ 4245

Last change on this file since 4245 was 4245, checked in by sam, 5 years ago

Move zzcat to the main src/ directory. It's becoming mature enough to be
distributed.

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Makefile.am 4245 2010-01-12 23:53:09Z sam $
2
3bin_PROGRAMS = zzuf zzcat
4pkglib_LTLIBRARIES = libzzuf.la
5
6ZZUF = \
7    zzuf.c opts.c opts.h md5.c md5.h timer.c timer.h myfork.c myfork.h
8
9ZZCAT = \
10    zzcat.c
11
12LIBZZUF = \
13    libzzuf/libzzuf.c libzzuf/libzzuf.h \
14    libzzuf/debug.c libzzuf/debug.h \
15    libzzuf/sys.c libzzuf/sys.h \
16    libzzuf/network.c libzzuf/network.h \
17    libzzuf/lib-fd.c libzzuf/lib-mem.c libzzuf/lib-signal.c \
18    libzzuf/lib-stream.c libzzuf/lib-load.h
19
20COMMON = \
21    common/common.h \
22    common/random.c common/random.h \
23    common/ranges.c common/ranges.h \
24    common/fd.c common/fd.h \
25    common/fuzz.c common/fuzz.h
26
27if NEED_GETOPT_LONG
28GETOPT = mygetopt.c mygetopt.h
29endif
30
31zzuf_SOURCES = $(ZZUF) $(COMMON) $(GETOPT)
32zzuf_CFLAGS = -DLIBDIR=\"$(libdir)/zzuf\" -I$(srcdir)/common
33zzuf_LDFLAGS = $(MATH_LIBS) $(WINSOCK2_LIBS)
34zzuf_DEPENDENCIES = libzzuf.la
35
36zzcat_SOURCES = $(ZZCAT) $(GETOPT)
37
38libzzuf_la_SOURCES = $(LIBZZUF) $(COMMON)
39libzzuf_la_CFLAGS = -DLIBZZUF -I$(srcdir)/libzzuf -I$(srcdir)/common
40libzzuf_la_LDFLAGS = -avoid-version -no-undefined $(DLL_LDFLAGS)
41libzzuf_la_LIBADD = $(GETOPT_LIBS) $(DL_LIBS) $(MATH_LIBS) $(WINSOCK2_LIBS)
42
43echo-sources: ; echo $(SOURCES)
44
Note: See TracBrowser for help on using the repository browser.