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

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

Detect libzzuf soname at configure time rather than compile time.

  • Property svn:keywords set to Id
File size: 780 bytes
Line 
1# $Id: Makefile.am 3951 2009-11-19 00:51:32Z 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
Note: See TracBrowser for help on using the repository browser.