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

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

Cleaner solution for echoing the SOURCES variable.

  • Property svn:keywords set to Id
File size: 813 bytes
Line 
1# $Id: Makefile.am 4043 2009-11-26 01:19:08Z sam $
2
3COMMON = random.c random.h ranges.c ranges.h fd.c fd.h fuzz.c fuzz.h
4if NEED_GETOPT_LONG
5GETOPT = mygetopt.c mygetopt.h
6endif
7
8bin_PROGRAMS = zzuf
9zzuf_SOURCES = zzuf.c $(COMMON) $(GETOPT) \
10               opts.c opts.h md5.c md5.h timer.c timer.h
11zzuf_CFLAGS = -DLIBDIR=\"$(libdir)/zzuf\"
12zzuf_LDFLAGS = $(MATH_LIBS) $(WINSOCK2_LIBS)
13zzuf_DEPENDENCIES = libzzuf.la
14
15pkglib_LTLIBRARIES = libzzuf.la
16libzzuf_la_SOURCES = libzzuf.c libzzuf.h $(COMMON) debug.c debug.h \
17                     sys.c sys.h network.c network.h \
18                     lib-fd.c lib-mem.c lib-signal.c lib-stream.c lib-load.h
19libzzuf_la_CFLAGS = -DLIBZZUF
20libzzuf_la_LDFLAGS = -avoid-version -no-undefined $(DLL_LDFLAGS)
21libzzuf_la_LIBADD = $(GETOPT_LIBS) $(DL_LIBS) $(MATH_LIBS) $(WINSOCK2_LIBS)
22
23echo-sources: ; echo $(SOURCES)
24
Note: See TracBrowser for help on using the repository browser.