Debian Codegraph @

src/tools/zip/Makefile.am

raw
1 bin_PROGRAMS = mwawZip
2
3 AM_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/lib/ $(REVENGE_CFLAGS) $(XATTR_CFLAGS) $(ZLIB_CFLAGS) $(DEBUG_CXXFLAGS)
4
5 mwawZip_DEPENDENCIES = @MWAWZIP_WIN32_RESOURCE@
6 mwawZip_LDADD = $(XATTR_LIBS) $(ZLIB_LIBS) @MWAWZIP_WIN32_RESOURCE@
7
8 if STATIC_TOOLS
9 mwawZip_LDFLAGS = -all-static
10 else
11 mwawZip_LDFLAGS =
12 endif
13
14 mwawZip_SOURCES = \
15 input.h \
16 input.cpp \
17 mwawZip.cpp \
18 xattr.h \
19 xattr.cpp \
20 zip.h \
21 zip.cpp \
22 zip_internal.h
23
24 if OS_WIN32
25 @MWAWZIP_WIN32_RESOURCE@ : mwawZip.rc $(mwawZip_OBJECTS)
26 chmod +x $(top_srcdir)/build/win32/*compile-resource
27 WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource mwawZip.rc @MWAWZIP_WIN32_RESOURCE@
28 endif
29
30 EXTRA_DIST = \
31 $(mwawZip_SOURCES) \
32 mwawZip.rc.in
33
34 # These may be in the builddir too
35 BUILD_EXTRA_DIST = \
36 mwawZip.rc
37