Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: xz/src/xzdec/Makefile.am

Issue 2869016: Add an unpatched version of xz, XZ Utils, to /trunk/deps/third_party (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « xz/src/xz/xz_w32res.rc ('k') | xz/src/xzdec/lzmadec_w32res.rc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 ##
2 ## Author: Lasse Collin
3 ##
4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file.
6 ##
7
8 # Windows resource compiler support. It's fine to use xz_CPPFLAGS
9 # also for lzmadec.
10 .rc.o:
11 $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
12 $(xzdec_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
13
14
15 bin_PROGRAMS = xzdec lzmadec
16
17 xzdec_SOURCES = \
18 xzdec.c \
19 $(top_srcdir)/src/common/tuklib_progname.c \
20 $(top_srcdir)/src/common/tuklib_exit.c
21
22 if COND_W32
23 xzdec_SOURCES += xzdec_w32res.rc
24 endif
25
26 xzdec_CPPFLAGS = \
27 -DTUKLIB_GETTEXT=0 \
28 -I$(top_srcdir)/src/common \
29 -I$(top_srcdir)/src/liblzma/api \
30 -I$(top_builddir)/lib \
31 $(STATIC_CPPFLAGS)
32 xzdec_LDFLAGS = $(STATIC_LDFLAGS)
33 xzdec_LDADD = $(top_builddir)/src/liblzma/liblzma.la
34
35 if COND_GNULIB
36 xzdec_LDADD += $(top_builddir)/lib/libgnu.a
37 endif
38
39 xzdec_LDADD += $(LTLIBINTL)
40
41
42 lzmadec_SOURCES = \
43 xzdec.c \
44 $(top_srcdir)/src/common/tuklib_progname.c \
45 $(top_srcdir)/src/common/tuklib_exit.c
46
47 if COND_W32
48 lzmadec_SOURCES += lzmadec_w32res.rc
49 endif
50
51 lzmadec_CPPFLAGS = $(xzdec_CPPFLAGS) -DLZMADEC
52 lzmadec_LDFLAGS = $(xzdec_LDFLAGS)
53 lzmadec_LDADD = $(xzdec_LDADD)
54
55
56 dist_man_MANS = xzdec.1
57
58 install-data-hook:
59 cd $(DESTDIR)$(mandir)/man1 && \
60 target=`echo xzdec | sed '$(transform)'` && \
61 link=`echo lzmadec | sed '$(transform)'` && \
62 rm -f $$link.1 && \
63 $(LN_S) $$target.1 $$link.1
64
65 uninstall-hook:
66 cd $(DESTDIR)$(mandir)/man1 && \
67 link=`echo lzmadec | sed '$(transform)'` && \
68 rm -f $$link.1
OLDNEW
« no previous file with comments | « xz/src/xz/xz_w32res.rc ('k') | xz/src/xzdec/lzmadec_w32res.rc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698