2004-05-11 20:19:49 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
## note: -D flags taken from a zip config build under Linux
|
|
|
|
|
2004-11-26 17:45:13 +00:00
|
|
|
SUBDIRS = zip unzip
|
|
|
|
|
2007-01-15 23:28:33 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/zlib -I$(top_srcdir)/lib -I$(top_srcdir)/zip -I$(top_srcdir)/zip/zip -I$(top_srcdir)/zip/unzip -DUNIX -DDLL
|
2004-05-11 20:19:49 +00:00
|
|
|
|
|
|
|
##noinst_PROGRAMS = test
|
2004-11-23 12:54:33 +00:00
|
|
|
lib_LIBRARIES = libboinc_zip.a
|
2004-11-23 13:02:20 +00:00
|
|
|
|
|
|
|
## install header-files with prefix-subdir BOINC/ to avoid name-conflicts
|
|
|
|
includedir = ${prefix}/include/BOINC/
|
2004-11-23 13:00:25 +00:00
|
|
|
include_HEADERS = boinc_zip.h
|
2004-05-11 20:19:49 +00:00
|
|
|
|
|
|
|
libboinc_zip_a_SOURCES = boinc_zip.cpp \
|
|
|
|
./unzip/apihelp.c \
|
|
|
|
./unzip/crc32.c \
|
|
|
|
./unzip/crctab.c \
|
|
|
|
./unzip/envargs.c \
|
|
|
|
./unzip/explode.c \
|
|
|
|
./unzip/extract.c \
|
|
|
|
./unzip/fileio.c \
|
|
|
|
./unzip/globals.c \
|
|
|
|
./unzip/inflate.c \
|
|
|
|
./unzip/list.c \
|
|
|
|
./unzip/match.c \
|
|
|
|
./unzip/process.c \
|
|
|
|
./unzip/ttyio.c \
|
|
|
|
./unzip/unreduce.c \
|
|
|
|
./unzip/unshrink.c \
|
|
|
|
./unzip/unzip.c \
|
|
|
|
./unzip/zipinfo.c \
|
2007-01-15 19:25:23 +00:00
|
|
|
./unzip/api.c \
|
2004-05-11 20:19:49 +00:00
|
|
|
./zip/deflate.c \
|
|
|
|
./zip/trees.c \
|
|
|
|
./zip/util.c \
|
|
|
|
./zip/z_fileio.c \
|
|
|
|
./zip/z_globals.c \
|
|
|
|
./zip/zip.c \
|
|
|
|
./zip/zipfile.c \
|
|
|
|
./zip/zipup.c \
|
|
|
|
./zip/unix/z_unix.c \
|
|
|
|
./unzip/unix/unix.c
|
|
|
|
|
|
|
|
##test_SOURCES = test.c
|
|
|
|
##test_LDADD = boinc_zip
|
|
|
|
##g++ -o test -DHAVE_DIRENT_H -I./ test.c ../lib/filesys.C ../lib/util.C -L./ -lboinc_zip
|