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

Last change on this file since 4115 was 4115, checked in by Sam Hocevar, 10 years ago

Move process creation stuff to a separate myfork.c file.

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Makefile.am 4115 2009-12-12 22:20:11Z sam $
2
3bin_PROGRAMS = zzuf
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
9LIBZZUF = \
10    libzzuf/libzzuf.c libzzuf/libzzuf.h \
11    libzzuf/debug.c libzzuf/debug.h \
12    libzzuf/sys.c libzzuf/sys.h \
13    libzzuf/network.c libzzuf/network.h \
14    libzzuf/lib-fd.c libzzuf/lib-mem.c libzzuf/lib-signal.c \
15    libzzuf/lib-stream.c libzzuf/lib-load.h
16
17COMMON = \
18    common/random.c common/random.h \
19    common/ranges.c common/ranges.h \
20    common/fd.c common/fd.h \
21    common/fuzz.c common/fuzz.h
22
23if NEED_GETOPT_LONG
24GETOPT = mygetopt.c mygetopt.h
25endif
26
27zzuf_SOURCES = $(ZZUF) $(COMMON) $(GETOPT)
28zzuf_CFLAGS = -DLIBDIR=\"$(libdir)/zzuf\" -I$(srcdir)/common
29zzuf_LDFLAGS = $(MATH_LIBS) $(WINSOCK2_LIBS)
30zzuf_DEPENDENCIES = libzzuf.la
31
32libzzuf_la_SOURCES = $(LIBZZUF) $(COMMON)
33libzzuf_la_CFLAGS = -DLIBZZUF -I$(srcdir)/libzzuf -I$(srcdir)/common
34libzzuf_la_LDFLAGS = -avoid-version -no-undefined $(DLL_LDFLAGS)
35libzzuf_la_LIBADD = $(GETOPT_LIBS) $(DL_LIBS) $(MATH_LIBS) $(WINSOCK2_LIBS)
36
37echo-sources: ; echo $(SOURCES)
38
Note: See TracBrowser for help on using the repository browser.