summaryrefslogtreecommitdiff
path: root/Build/source/libs/zziplib/zziplib-src/bins/Makefile.am
blob: 9483dc9c97fa8ed0ec71bbf341b2ca72a7401ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
AUTOMAKE_OPTIONS = 1.4 foreign
AUTOTOOL_VERSION=autoconf-2.52 automake-1.5 libtool-1.4.2
DEFAULT_INCLUDES = # nothing - no default of -I. -I$(srcdir)
DEFS = @DEFS@ -I$(top_builddir) -I$(top_srcdir) # also for automake 1.4

bin_PROGRAMS = zzcat zzdir zzxorcat zzxordir zzxorcopy \
               unzzip unzzip-mix unzzip-mem unzzip-big unzip-mem
noinst_PROGRAMS = zziptest zzobfuscated zzip
aclocaldir = $(datadir)/aclocal
aclocal_DATA = zziplib.m4
#
VERSION_INFO=@VERSION_INFO@
RELEASE_INFO=@RELEASE_INFO@
THREAD_SAFE=@THREAD_SAFE@
#

WCC10_CLEAN = *.obj *.lk1 *.mk1 *.mk *.sym *.tgt

noinst_HEADERS = unzzipdir-zip.h unzzipcat-zip.h unzzip-states.h zzipmake-zip.h
EXTRA_DIST = $(aclocal_DATA) $(noinst_HEADERS)
CLEANFILES = $(WCC10_CLEAN)

zziptest_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
zzcat_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
zzdir_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
zzxorcat_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
zzxordir_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
zzobfuscated_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz

zzip_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
zzip_SOURCES = zzip.c zzipmake-zip.c

unzzip_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
unzzip_SOURCES = unzzip.c unzzipcat-zip.c unzzipdir-zip.c
unzzip_mix_LDADD = ../zzip/libzzip.la @RESOLVES@ -lz
unzzip_mix_SOURCES = unzzip.c unzzipcat-mix.c unzzipdir-mix.c
unzzip_mem_LDADD = ../zzip/libzzipmmapped.la @RESOLVES@ -lz
unzzip_mem_SOURCES = unzzip.c unzzipcat-mem.c unzzipdir-mem.c
unzzip_big_LDADD = ../zzip/libzzipfseeko.la @RESOLVES@ -lz
unzzip_big_SOURCES = unzzip.c unzzipcat-big.c unzzipdir-big.c

unzip_mem_LDADD = ../zzip/libzzipmmapped.la @RESOLVES@ -lz

../zzip/libzzip.la : @top_srcdir@/zzip/*.c
	(cd ../zzip && $(MAKE) `basename $@`)