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

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

Issue 7109015: Update XZ Utils to 5.0.3 (in deps) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/xz/
Patch Set: Created 9 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 | « src/scripts/xzmore.1 ('k') | 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')
OLDNEW
1 ## 1 ##
2 ## Author: Lasse Collin 2 ## Author: Lasse Collin
3 ## 3 ##
4 ## This file has been put into the public domain. 4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file. 5 ## You can do whatever you want with this file.
6 ## 6 ##
7 7
8 bin_PROGRAMS = xz 8 bin_PROGRAMS = xz
9 9
10 xz_SOURCES = \ 10 xz_SOURCES = \
(...skipping 16 matching lines...) Expand all
27 private.h \ 27 private.h \
28 signals.c \ 28 signals.c \
29 signals.h \ 29 signals.h \
30 suffix.c \ 30 suffix.c \
31 suffix.h \ 31 suffix.h \
32 util.c \ 32 util.c \
33 util.h \ 33 util.h \
34 $(top_srcdir)/src/common/tuklib_open_stdxxx.c \ 34 $(top_srcdir)/src/common/tuklib_open_stdxxx.c \
35 $(top_srcdir)/src/common/tuklib_progname.c \ 35 $(top_srcdir)/src/common/tuklib_progname.c \
36 $(top_srcdir)/src/common/tuklib_exit.c \ 36 $(top_srcdir)/src/common/tuklib_exit.c \
37 » $(top_srcdir)/src/common/tuklib_cpucores.c 37 » $(top_srcdir)/src/common/tuklib_cpucores.c \
38 » $(top_srcdir)/src/common/tuklib_mbstr_width.c \
39 » $(top_srcdir)/src/common/tuklib_mbstr_fw.c
38 40
39 if COND_W32 41 if COND_W32
40 xz_SOURCES += xz_w32res.rc 42 xz_SOURCES += xz_w32res.rc
41 endif 43 endif
42 44
43 xz_CPPFLAGS = \ 45 xz_CPPFLAGS = \
44 -DLOCALEDIR=\"$(localedir)\" \ 46 -DLOCALEDIR=\"$(localedir)\" \
45 -I$(top_srcdir)/src/common \ 47 -I$(top_srcdir)/src/common \
46 -I$(top_srcdir)/src/liblzma/api \ 48 -I$(top_srcdir)/src/liblzma/api \
47 » -I$(top_builddir)/lib \ 49 » -I$(top_builddir)/lib
48 » $(STATIC_CPPFLAGS)
49 50
50 xz_LDFLAGS = $(STATIC_LDFLAGS)
51 xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la 51 xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la
52 52
53 if COND_GNULIB 53 if COND_GNULIB
54 xz_LDADD += $(top_builddir)/lib/libgnu.a 54 xz_LDADD += $(top_builddir)/lib/libgnu.a
55 endif 55 endif
56 56
57 # libgnu.a may need these libs, so this must be after libgnu.a. 57 # libgnu.a may need these libs, so this must be after libgnu.a.
58 xz_LDADD += $(LTLIBINTL) 58 xz_LDADD += $(LTLIBINTL)
59 59
60 60
61 # Windows resource compiler support 61 # Windows resource compiler support
62 .rc.o: 62 .rc.o:
63 $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 63 $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
64 $(xz_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@ 64 $(xz_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
65 65
66 66
67 dist_man_MANS = xz.1 67 dist_man_MANS = xz.1
68 68
69 69
70 ## Create symlinks for unxz and xzcat for convenience. Create symlinks also 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. 71 ## for lzma, unlzma, and lzcat for compatibility with LZMA Utils 4.32.x.
72 xzlinks = unxz xzcat lzma unlzma lzcat 72 xzlinks = unxz xzcat
73
74 if COND_LZMALINKS
75 xzlinks += lzma unlzma lzcat
76 endif
73 77
74 install-exec-hook: 78 install-exec-hook:
75 cd $(DESTDIR)$(bindir) && \ 79 cd $(DESTDIR)$(bindir) && \
76 target=`echo xz | sed '$(transform)'`$(EXEEXT) && \ 80 target=`echo xz | sed '$(transform)'`$(EXEEXT) && \
77 for name in $(xzlinks); do \ 81 for name in $(xzlinks); do \
78 link=`echo $$name | sed '$(transform)'`$(LN_EXEEXT) && \ 82 link=`echo $$name | sed '$(transform)'`$(LN_EXEEXT) && \
79 rm -f $$link && \ 83 rm -f $$link && \
80 $(LN_S) $$target $$link; \ 84 $(LN_S) $$target $$link; \
81 done 85 done
82 86
(...skipping 10 matching lines...) Expand all
93 cd $(DESTDIR)$(bindir) && \ 97 cd $(DESTDIR)$(bindir) && \
94 for name in $(xzlinks); do \ 98 for name in $(xzlinks); do \
95 link=`echo $$name | sed '$(transform)'`$(LN_EXEEXT) && \ 99 link=`echo $$name | sed '$(transform)'`$(LN_EXEEXT) && \
96 rm -f $$link; \ 100 rm -f $$link; \
97 done 101 done
98 cd $(DESTDIR)$(mandir)/man1 && \ 102 cd $(DESTDIR)$(mandir)/man1 && \
99 for name in $(xzlinks); do \ 103 for name in $(xzlinks); do \
100 link=`echo $$name | sed '$(transform)'` && \ 104 link=`echo $$name | sed '$(transform)'` && \
101 rm -f $$link.1; \ 105 rm -f $$link.1; \
102 done 106 done
OLDNEW
« no previous file with comments | « src/scripts/xzmore.1 ('k') | src/xz/args.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698