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

Last change on this file since 2327 was 1866, checked in by Sam Hocevar, 13 years ago
  • Link libzzuf with winsock because of our use of htons.
  • Property svn:keywords set to Id
File size: 706 bytes
Line 
1# $Id: Makefile.am 1866 2007-11-03 00:22:58Z 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)
13
14pkglib_LTLIBRARIES = libzzuf.la
15libzzuf_la_SOURCES = libzzuf.c libzzuf.h $(COMMON) debug.c debug.h sys.c sys.h \
16                     lib-fd.c lib-mem.c lib-signal.c lib-stream.c lib-load.h
17libzzuf_la_CFLAGS = -DLIBZZUF
18libzzuf_la_LDFLAGS = -avoid-version -no-undefined $(DLL_LDFLAGS)
19libzzuf_la_LIBADD = $(GETOPT_LIBS) $(DL_LIBS) $(MATH_LIBS) $(WINSOCK2_LIBS)
20
Note: See TracBrowser for help on using the repository browser.