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

Side by Side Diff: xz/src/liblzma/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/common/tuklib_progname.c ('k') | xz/src/liblzma/api/Makefile.am » ('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 SUBDIRS = api
9
10 EXTRA_DIST =
11 CLEANFILES =
12 doc_DATA =
13
14 lib_LTLIBRARIES = liblzma.la
15 liblzma_la_SOURCES = $(top_srcdir)/src/common/tuklib_physmem.c
16 liblzma_la_CPPFLAGS = \
17 -I$(top_srcdir)/src/liblzma/api \
18 -I$(top_srcdir)/src/liblzma/common \
19 -I$(top_srcdir)/src/liblzma/check \
20 -I$(top_srcdir)/src/liblzma/lz \
21 -I$(top_srcdir)/src/liblzma/rangecoder \
22 -I$(top_srcdir)/src/liblzma/lzma \
23 -I$(top_srcdir)/src/liblzma/delta \
24 -I$(top_srcdir)/src/liblzma/simple \
25 -I$(top_srcdir)/src/common \
26 -DTUKLIB_SYMBOL_PREFIX=lzma_
27 liblzma_la_LDFLAGS = -no-undefined -version-info 0:0:0
28
29 include $(srcdir)/common/Makefile.inc
30 include $(srcdir)/check/Makefile.inc
31
32 if COND_FILTER_LZ
33 include $(srcdir)/lz/Makefile.inc
34 endif
35
36 if COND_FILTER_LZMA1
37 include $(srcdir)/lzma/Makefile.inc
38 include $(srcdir)/rangecoder/Makefile.inc
39 endif
40
41 if COND_FILTER_DELTA
42 include $(srcdir)/delta/Makefile.inc
43 endif
44
45 if COND_FILTER_SIMPLE
46 include $(srcdir)/simple/Makefile.inc
47 endif
48
49
50 ## Windows-specific stuff
51
52 # Windows resource compiler support. libtool knows what to do with .rc
53 # files, but Automake (<= 1.11 at least) doesn't know.
54 #
55 # We want the resource file only in shared liblzma. To avoid linking it into
56 # static liblzma, we overwrite the static object file with an object file
57 # compiled from empty input. Note that GNU-specific features are OK here,
58 # because on Windows we are compiled with the GNU toolchain.
59 .rc.lo:
60 $(LIBTOOL) --mode=compile $(RC) $(DEFS) $(DEFAULT_INCLUDES) \
61 $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) \
62 -i $< -o $@
63 echo > empty.c
64 $(COMPILE) -c empty.c -o $(*D)/$(*F).o
65
66 # Remove ordinals from the generated .def file. People must link by name,
67 # not by ordinal, because no one is going to track the ordinal numbers.
68 liblzma.def: liblzma.la liblzma.def.in
69 sed 's/ \+@ *[0-9]\+//' liblzma.def.in > liblzma.def
70
71 # Creating liblzma.def.in is a side effect of linking the library.
72 liblzma.def.in: liblzma.la
73
74 if COND_W32
75 CLEANFILES += liblzma.def liblzma.def.in empty.c
76 liblzma_la_SOURCES += liblzma_w32res.rc
77 liblzma_la_LDFLAGS += -Xlinker --output-def -Xlinker liblzma.def.in
78
79 ## liblzma.def.in is created only when building shared liblzma, so don't
80 ## try to create liblzma.def when not building shared liblzma.
81 if COND_SHARED
82 doc_DATA += liblzma.def
83 endif
84 endif
85
86
87 ## pkg-config
88 pkgconfigdir = $(libdir)/pkgconfig
89 pkgconfig_DATA = liblzma.pc
90 EXTRA_DIST += liblzma.pc.in
OLDNEW
« no previous file with comments | « xz/src/common/tuklib_progname.c ('k') | xz/src/liblzma/api/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698