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

Side by Side Diff: xz/src/xz/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/scripts/xzmore.in ('k') | xz/src/xz/args.h » ('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 bin_PROGRAMS = xz
9
10 xz_SOURCES = \
11 args.c \
12 args.h \
13 coder.c \
14 coder.h \
15 file_io.c \
16 file_io.h \
17 hardware.c \
18 hardware.h \
19 list.c \
20 list.h \
21 main.c \
22 main.h \
23 message.c \
24 message.h \
25 options.c \
26 options.h \
27 private.h \
28 signals.c \
29 signals.h \
30 suffix.c \
31 suffix.h \
32 util.c \
33 util.h \
34 $(top_srcdir)/src/common/tuklib_open_stdxxx.c \
35 $(top_srcdir)/src/common/tuklib_progname.c \
36 $(top_srcdir)/src/common/tuklib_exit.c \
37 $(top_srcdir)/src/common/tuklib_cpucores.c
38
39 if COND_W32
40 xz_SOURCES += xz_w32res.rc
41 endif
42
43 xz_CPPFLAGS = \
44 -DLOCALEDIR=\"$(localedir)\" \
45 -I$(top_srcdir)/src/common \
46 -I$(top_srcdir)/src/liblzma/api \
47 -I$(top_builddir)/lib \
48 $(STATIC_CPPFLAGS)
49
50 xz_LDFLAGS = $(STATIC_LDFLAGS)
51 xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la
52
53 if COND_GNULIB
54 xz_LDADD += $(top_builddir)/lib/libgnu.a
55 endif
56
57 # libgnu.a may need these libs, so this must be after libgnu.a.
58 xz_LDADD += $(LTLIBINTL)
59
60
61 # Windows resource compiler support
62 .rc.o:
63 $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
64 $(xz_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
65
66
67 dist_man_MANS = xz.1
68
69
70 ## Create symlinks for unxz and xzcat for convenience. Create symlinks also
71 ## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
72 xzlinks = unxz xzcat lzma unlzma lzcat
73
74 install-exec-hook:
75 cd $(DESTDIR)$(bindir) && \
76 target=`echo xz | sed '$(transform)'`$(EXEEXT) && \
77 for name in $(xzlinks); do \
78 link=`echo $$name | sed '$(transform)'`$(LN_EXEEXT) && \
79 rm -f $$link && \
80 $(LN_S) $$target $$link; \
81 done
82
83 install-data-hook:
84 cd $(DESTDIR)$(mandir)/man1 && \
85 target=`echo xz | sed '$(transform)'` && \
86 for name in $(xzlinks); do \
87 link=`echo $$name | sed '$(transform)'` && \
88 rm -f $$link.1 && \
89 $(LN_S) $$target.1 $$link.1; \
90 done
91
92 uninstall-hook:
93 cd $(DESTDIR)$(bindir) && \
94 for name in $(xzlinks); do \
95 link=`echo $$name | sed '$(transform)'`$(LN_EXEEXT) && \
96 rm -f $$link; \
97 done
98 cd $(DESTDIR)$(mandir)/man1 && \
99 for name in $(xzlinks); do \
100 link=`echo $$name | sed '$(transform)'` && \
101 rm -f $$link.1; \
102 done
OLDNEW
« no previous file with comments | « xz/src/scripts/xzmore.in ('k') | xz/src/xz/args.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698