1 | lib_LTLIBRARIES = libminizip.la
|
---|
2 |
|
---|
3 | if COND_DEMOS
|
---|
4 | bin_PROGRAMS = miniunzip minizip
|
---|
5 | endif
|
---|
6 |
|
---|
7 | zlib_top_srcdir = $(top_srcdir)/../..
|
---|
8 | zlib_top_builddir = $(top_builddir)/../..
|
---|
9 |
|
---|
10 | AM_CPPFLAGS = -I$(zlib_top_srcdir)
|
---|
11 | AM_LDFLAGS = -L$(zlib_top_builddir)
|
---|
12 |
|
---|
13 | libminizip_la_SOURCES = \
|
---|
14 | ioapi.c \
|
---|
15 | mztools.c \
|
---|
16 | unzip.c \
|
---|
17 | zip.c
|
---|
18 |
|
---|
19 | libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz
|
---|
20 |
|
---|
21 | minizip_includedir = $(includedir)/minizip
|
---|
22 | minizip_include_HEADERS = \
|
---|
23 | crypt.h \
|
---|
24 | ioapi.h \
|
---|
25 | mztools.h \
|
---|
26 | unzip.h \
|
---|
27 | zip.h
|
---|
28 |
|
---|
29 | pkgconfigdir = $(libdir)/pkgconfig
|
---|
30 | pkgconfig_DATA = minizip.pc
|
---|
31 |
|
---|
32 | EXTRA_PROGRAMS = miniunzip minizip
|
---|
33 |
|
---|
34 | miniunzip_SOURCES = miniunz.c
|
---|
35 | miniunzip_LDADD = libminizip.la
|
---|
36 |
|
---|
37 | minizip_SOURCES = minizip.c
|
---|
38 | minizip_LDADD = libminizip.la -lz
|
---|