boinc/zip/Makefile.am

67 lines
1.3 KiB
Makefile
Raw Normal View History

## -*- mode: makefile; tab-width: 4 -*-
## $Id$
## note: -D flags taken from a zip config build under Linux
include ../Makefile.incl
SUBDIRS = zip unzip
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
if INSTALL_HEADERS
pkginclude_HEADERS = boinc_zip.h
endif
libboinc_zip_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 \
./unzip/api.c \
./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
##noinst_PROGRAMS = test
if ENABLE_LIBRARIES
lib_LTLIBRARIES = libboinc_zip.la
libboinc_zip_la_SOURCES = $(libboinc_zip_sources)
libboinc_zip_la_LDFLAGS = -L$(libdir) -rpath $(libdir) -version-number $(LIBBOINC_VERSION)
libboinc_zip_la_LIBADD =
if BUILD_STATIC_LIBS
all_local = libboinc_zip.a
endif
all-local: $(all_local)
libboinc_zip.a: libboinc_zip.la
rm -f libboinc_zip.a
ln .libs/libboinc_zip.a
endif