1 AUTOMAKE_OPTIONS = 1.4 foreign
2 AUTOTOOL_VERSION=autoconf-2.52 automake-1.5 libtool-1.4.2
3 DEFAULT_INCLUDES = # nothing - no default of -I. -I$(srcdir)
4 DEFS = @DEFS@ -I$(top_builddir) -I$(top_srcdir) # also for automake 1.4
6 noinst_PROGRAMS = zzipwrap
7 lib_LTLIBRARIES = libzzipwrap.la
8 zzipdir = ${includedir}/zzip
9 zzip_HEADERS = $(libzzipwrap_la_headers)
11 VERSION_INFO=@VERSION_INFO@
12 RELEASE_INFO=@RELEASE_INFO@
13 THREAD_SAFE=@THREAD_SAFE@
16 libzzipwrap_la_SOURCES = \
18 libzzipwrap_la_headers = \
21 libzzipwrap_la_LDFLAGS= @ZZIPLIB_LDFLAGS@ $(RELEASE_INFO) $(VERSION_INFO) \
23 libzzipwrap_la_LIBADD= ../zzip/libzzip.la @RESOLVES@ -lz
25 ../zzip/libzzip.la : @top_srcdir@/zzip/*.c
26 (cd ../zzip && $(MAKE) `basename $@`)
29 WCC10_CLEAN = *.obj *.lk1 *.mk1 *.mk *.sym *.tgt
32 CLEANFILES = $(WCC10_CLEAN) *.pc *.omf
34 zzipwrap_LDFLAGS = @ZZIPLIB_LDFLAGS@
35 zzipwrap_LDADD = libzzipwrap.la @RESOLVES@ ../zzip/libzzip.la -lz
37 # ----------------------------------------------------------------------
38 pkgconfigdir=$(libdir)/pkgconfig
39 pkgconfig_HEADERS= zzipwrap.pc
41 zzipwrap.pc : Makefile
42 @ echo "prefix=$(prefix)" >$@
43 @ echo "libdir=$(libdir)" >>$@
44 @ echo "includedir=$(includedir)" >>$@
46 @ echo "Name: zzipwrap" >>$@
47 @ echo "Version: $(VERSION)" >>$@
48 @ echo "Description: Callback Wrappers for ZZipLib" >>$@
49 echo 'Requires: zziplib' >>$@
50 echo 'Libs: -L$${libdir} -lzzipwrap' >>$@
51 echo 'Cflags: -I$${includedir}' >>$@