- (re)enabled LogControl. The LogControlImpl singleton must be the first
[platform/upstream/libzypp.git] / zypp / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 ## ##################################################
3
4 SUBDIRS = base thread url media capability detail pool parser \
5         source target solver zypp_detail ui
6
7 ## ##################################################
8
9 pkginclude_HEADERS = NeedAType.h \
10         Arch.h          \
11         Bit.h           \
12         ByteCount.h     \
13         Capability.h    \
14         CapFactory.h    \
15         CapMatch.h      \
16         CapSet.h        \
17         CapSetFwd.h     \
18         CapFilters.h    \
19         CountryCode.h   \
20         Date.h          \
21         Dep.h           \
22         Dependencies.h  \
23         Edition.h       \
24         LanguageCode.h  \
25         Locale.h        \
26         NVR.h           \
27         NVRA.h          \
28         NVRAD.h         \
29         Range.h         \
30         Rel.h           \
31         RelCompare.h    \
32         ResObject.h     \
33         Resolvable.h    \
34         ResTraits.h     \
35         ResStatus.h     \
36         ResStore.h      \
37         ResFilters.h    \
38         PoolItem.h      \
39         ResPool.h       \
40         ResPoolProxy.h  \
41         ResPoolManager.h\
42         Resolver.h      \
43         ResolverProblem.h       \
44         ProblemTypes.h  \
45         ProblemSolution.h       \
46         Package.h       \
47         Pathname.h      \
48         Source.h        \
49         SourceFactory.h \
50         SourceManager.h \
51         SourceCache.h   \
52         SourceFeed.h    \
53         Target.h        \
54         Selection.h     \
55         Pattern.h       \
56         Message.h       \
57         Script.h        \
58         Patch.h         \
59         Product.h       \
60         Changelog.h     \
61         ExternalProgram.h\
62         Pathname.h      \
63         PathInfo.h      \
64         Digest.h        \
65         Url.h           \
66         TmpPath.h       \
67         KVMap.h         \
68         Callback.h      \
69         DiskUsage.h     \
70         CheckSum.h      \
71         BaseVersion.h   \
72         PatchRpm.h      \
73         DeltaRpm.h      \
74         VendorAttr.h    \
75         UpgradeStatistics.h     \
76         ZYpp.h          \
77         TranslatedText.h \
78         ZYppFactory.h   \
79         ZYppCallbacks.h
80
81 ## ##################################################
82
83 lib_LTLIBRARIES =       lib@PACKAGE@.la
84
85 ## ##################################################
86
87 lib@PACKAGE@_la_SOURCES = \
88         Arch.cc         \
89         ByteCount.cc    \
90         Capability.cc   \
91         CapFactory.cc   \
92         CapMatch.cc     \
93         CapSet.cc       \
94         CountryCode.cc  \
95         Date.cc         \
96         Dep.cc          \
97         Dependencies.cc \
98         Edition.cc      \
99         LanguageCode.cc \
100         Locale.cc       \
101         NVR.cc          \
102         NVRA.cc         \
103         NVRAD.cc        \
104         Range.cc        \
105         Rel.cc          \
106         ResObject.cc    \
107         Resolvable.cc   \
108         ResTraits.cc    \
109         ResStatus.cc    \
110         ResStore.cc     \
111         PoolItem.cc     \
112         ResPool.cc      \
113         ResPoolProxy.cc \
114         ResPoolManager.cc\
115         Resolver.cc     \
116         ResolverProblem.cc      \
117         ProblemSolution.cc      \
118         Package.cc      \
119         Pathname.cc     \
120         Source.cc       \
121         SourceFactory.cc\
122         SourceManager.cc\
123         SourceCache.cc  \
124         SourceFeed.cc   \
125         Target.cc       \
126         Selection.cc    \
127         Pattern.cc      \
128         Message.cc      \
129         Script.cc       \
130         Patch.cc        \
131         Product.cc      \
132         Changelog.cc    \
133         ExternalProgram.cc\
134         PathInfo.cc     \
135         Digest.cc       \
136         Url.cc          \
137         TmpPath.cc      \
138         DiskUsage.cc    \
139         VendorAttr.cc   \
140         UpgradeStatistics.cc    \
141         ZYpp.cc         \
142         TranslatedText.cc \
143         ZYppFactory.cc
144
145
146 lib@PACKAGE@_la_LDFLAGS =       @LIBZYPP_VERSION_INFO@
147
148 lib@PACKAGE@_la_LIBADD =        thread/lib@PACKAGE@_thread.la   \
149                                 detail/lib@PACKAGE@_detail.la   \
150                                 capability/lib@PACKAGE@_capability.la   \
151                                 pool/lib@PACKAGE@_pool.la       \
152                                 parser/lib@PACKAGE@_parser.la   \
153                                 source/lib@PACKAGE@_source.la   \
154                                 media/lib@PACKAGE@_media.la     \
155                                 url/lib@PACKAGE@_url.la         \
156                                 target/lib@PACKAGE@_target.la   \
157                                 solver/lib@PACKAGE@_solver.la   \
158                                 zypp_detail/lib@PACKAGE@_zypp_detail.la \
159                                 ui/lib@PACKAGE@_ui.la   \
160                                 \
161                                 base/lib@PACKAGE@_base.la       \
162                                 -lutil
163 # !!! base/lib@PACKAGE@_base.la MUST BE THE LAST zypp lib linked
164
165 ## ##################################################
166
167 EXTRA_DIST = @DOXYGEN/*
168
169 #<INSTALL-HEADER-TARGET>
170
171 # Automatically inserted by insert_install_target
172 # DO NOT REMOVE THE TAGS!
173
174 # Install header files only if different to version already installed -
175 # prevent unnecessary installations to keep make dependency changes
176 # and thus rebuilds for dependent packages as low as possible.
177
178 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
179         @$(NORMAL_INSTALL)
180         $(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
181         @list='$(pkginclude_HEADERS)';                                                  \
182         for p in $$list; do                                                             \
183                 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi;                    \
184                 if ! cmp -s $$d$$p $(DESTDIR)$(pkgincludedir)/$$p; then                 \
185                         echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgincludedir)/$$p";  \
186                         $(INSTALL_DATA) $$d$$p $(DESTDIR)$(pkgincludedir)/$$p;          \
187                 fi                                                                      \
188         done
189
190 #</INSTALL-HEADER-TARGET>
191