2 ## Author: Lasse Collin
4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file.
8 # Windows resource compiler support. It's fine to use xz_CPPFLAGS
11 $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
12 $(xzdec_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
15 bin_PROGRAMS = xzdec lzmadec
19 $(top_srcdir)/src/common/tuklib_progname.c \
20 $(top_srcdir)/src/common/tuklib_exit.c
23 xzdec_SOURCES += xzdec_w32res.rc
28 -I$(top_srcdir)/src/common \
29 -I$(top_srcdir)/src/liblzma/api \
30 -I$(top_builddir)/lib \
32 xzdec_LDFLAGS = $(STATIC_LDFLAGS)
33 xzdec_LDADD = $(top_builddir)/src/liblzma/liblzma.la
36 xzdec_LDADD += $(top_builddir)/lib/libgnu.a
39 xzdec_LDADD += $(LTLIBINTL)
44 $(top_srcdir)/src/common/tuklib_progname.c \
45 $(top_srcdir)/src/common/tuklib_exit.c
48 lzmadec_SOURCES += lzmadec_w32res.rc
51 lzmadec_CPPFLAGS = $(xzdec_CPPFLAGS) -DLZMADEC
52 lzmadec_LDFLAGS = $(xzdec_LDFLAGS)
53 lzmadec_LDADD = $(xzdec_LDADD)
56 dist_man_MANS = xzdec.1
59 cd $(DESTDIR)$(mandir)/man1 && \
60 target=`echo xzdec | sed '$(transform)'` && \
61 link=`echo lzmadec | sed '$(transform)'` && \
63 $(LN_S) $$target.1 $$link.1
66 cd $(DESTDIR)$(mandir)/man1 && \
67 link=`echo lzmadec | sed '$(transform)'` && \