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