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

Last change on this file since 2534 was 2534, checked in by Sam Hocevar, 12 years ago
  • zzuf.c: retrieve library object name from libtool's .la file so we don't need to hardcode .so, .sl, .dylib etc. for various platforms.
  • Property svn:keywords set to Id
File size: 793 bytes
Line 
1# $Id: Makefile.am 2534 2008-07-16 09:52: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\" -DSONAME=\"$$(grep dlname libzzuf.la | cut -f2 -d"'")\"
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 sys.c sys.h \
17                     lib-fd.c lib-mem.c lib-signal.c lib-stream.c lib-load.h
18libzzuf_la_CFLAGS = -DLIBZZUF
19libzzuf_la_LDFLAGS = -avoid-version -no-undefined $(DLL_LDFLAGS)
20libzzuf_la_LIBADD = $(GETOPT_LIBS) $(DL_LIBS) $(MATH_LIBS) $(WINSOCK2_LIBS)
21
Note: See TracBrowser for help on using the repository browser.