039d0a4733895be117485700adc75157ce7f7af1
[duncan/yast2-qt4.git] / src / pkg / Makefile.am
1 #
2 # Makefile.am for qt/src/pkg
3 #
4
5 SUBDIRS = icons
6
7 AM_CXXFLAGS = -DY2LOG=\"ui-qt\"                         \
8         -DQT3_SUPPORT                                   \
9         -DLOCALEDIR=\"${localedir}\"                    \
10         -DICONDIR=\"${themedir}/current\"               \
11         -DTHEMEDIR=\"${themedir}/current\"              \
12         -DHELPIMAGEDIR=\"${imagedir}\"                  \
13         -Wno-format-nonliteral                          \
14         -fmessage-length=0
15
16
17 # plugin, libtool forces 'lib' prefix
18 # plugin_LTLIBRARIES = libpy2qt_pkg.la
19 plugin_LTLIBRARIES = libpy2qt_pkg.la
20 libpy2qt_pkg_la_LDFLAGS = -version-info 2:0
21
22 libpy2qt_pkg_la_LIBADD =                        \
23         -L$(plugindir) -lpy2UI                  \
24         -L$(QTLIBDIR) -lQtGui -lQt3Support      \
25         ${ZYPP_LIBS}
26
27 noinst_HEADERS = $(wildcard *.h)
28
29 libpy2qt_pkg_la_SOURCES =                       \
30         YQPackageSelector.cc                    \
31         YQPackageSelectorBase.cc                \
32         YQPackageSelectorHelp.cc                \
33         YQPatternSelector.cc                    \
34         YQSimplePatchSelector.cc                \
35                                                 \
36         YQPkgChangeLogView.cc                   \
37         YQPkgChangesDialog.cc                   \
38         YQPkgConflictDialog.cc                  \
39         YQPkgConflictList.cc                    \
40         YQPkgDependenciesView.cc                \
41         YQPkgDescriptionDialog.cc               \
42         YQPkgDescriptionView.cc                 \
43         YQPkgDiskUsageList.cc                   \
44         YQPkgDiskUsageWarningDialog.cc          \
45         YQPkgFileListView.cc                    \
46         YQPkgGenericDetailsView.cc              \
47         YQPkgRepoFilterView.cc          \
48         YQPkgRepoList.cc                        \
49         YQPkgLangList.cc                        \
50         YQPkgList.cc                            \
51         YQPkgObjList.cc                         \
52         YQPkgPatchFilterView.cc                 \
53         YQPkgPatchList.cc                       \
54         YQPkgPatternList.cc                     \
55         YQPkgProductDialog.cc                   \
56         YQPkgProductList.cc                     \
57         YQPkgRpmGroupTagsFilterView.cc          \
58         YQPkgSearchFilterView.cc                \
59         YQPkgSelDescriptionView.cc              \
60         YQPkgSelList.cc                         \
61         YQPkgSelMapper.cc                       \
62         YQPkgStatusFilterView.cc                \
63         YQPkgTechnicalDetailsView.cc            \
64         YQPkgTextDialog.cc                      \
65         YQPkgUpdateProblemFilterView.cc         \
66         YQPkgVersionsView.cc
67
68
69 BUILT_SOURCES =                                 \
70         YQPackageSelector.moc                   \
71         YQPackageSelectorBase.moc               \
72         YQPatternSelector.moc                   \
73         YQSimplePatchSelector.moc               \
74         YQPkgChangeLogView.moc                  \
75         YQPkgChangesDialog.moc                  \
76         YQPkgConflictDialog.moc                 \
77         YQPkgConflictList.moc                   \
78         YQPkgDependenciesView.moc               \
79         YQPkgDescriptionDialog.moc              \
80         YQPkgDescriptionView.moc                \
81         YQPkgDiskUsageList.moc                  \
82         YQPkgDiskUsageWarningDialog.moc         \
83         YQPkgFileListView.moc                   \
84         YQPkgGenericDetailsView.moc             \
85         YQPkgRepoFilterView.moc         \
86         YQPkgRepoList.moc                       \
87         YQPkgLangList.moc                       \
88         YQPkgList.moc                           \
89         YQPkgObjList.moc                        \
90         YQPkgPatchFilterView.moc                \
91         YQPkgPatchList.moc                      \
92         YQPkgPatternList.moc                    \
93         YQPkgProductDialog.moc                  \
94         YQPkgProductDialog.moc                  \
95         YQPkgProductList.moc                    \
96         YQPkgRpmGroupTagsFilterView.moc         \
97         YQPkgSearchFilterView.moc               \
98         YQPkgSelDescriptionView.moc             \
99         YQPkgSelList.moc                        \
100         YQPkgStatusFilterView.moc               \
101         YQPkgTechnicalDetailsView.moc           \
102         YQPkgTextDialog.moc                     \
103         YQPkgUpdateProblemFilterView.moc        \
104         YQPkgVersionsView.moc
105
106
107 YQPackageSelector.o YQPackageSelector.lo:                       YQPackageSelector.moc
108 YQPackageSelectorBase.o YQPackageSelectorBase.lo:               YQPackageSelectorBase.moc
109 YQPatternSelector.o YQPatternSelector.lo:                       YQPatternSelector.moc
110 YQSimplePatchSelector.o YQSimplePatchSelector.lo:               YQSimplePatchSelector.moc
111
112 YQPkgChangeLogView.o YQPkgChangeLogView.lo:                     YQPkgChangeLogView.moc
113 YQPkgChangesDialog.o YQPkgChangesDialog.lo:                     YQPkgChangesDialog.moc
114 YQPkgConflictDialog.o YQPkgConflictDialog.lo:                   YQPkgConflictDialog.moc
115 YQPkgConflictList.o YQPkgConflictList.lo:                       YQPkgConflictList.moc
116 YQPkgDependenciesView.o YQPkgDependenciesView.lo:               YQPkgDependenciesView.moc
117 YQPkgDescriptionDialog.o YQPkgDescriptionDialog.lo:             YQPkgDescriptionDialog.moc
118 YQPkgDescriptionView.o YQPkgDescriptionView.lo:                 YQPkgDescriptionView.moc
119 YQPkgDiskUsageList.o YQPkgDiskUsageList.lo:                     YQPkgDiskUsageList.moc
120 YQPkgDiskUsageWarningDialog.o YQPkgDiskUsageWarningDialog.lo:   YQPkgDiskUsageWarningDialog.moc
121 YQPkgFileListView.o YQPkgFileListView.lo:                       YQPkgFileListView.moc
122 YQPkgGenericDetailsView.o YQPkgGenericDetailsView.lo:           YQPkgGenericDetailsView.moc
123 YQPkgRepoFilterView.o YQPkgRepoFilterView.lo:           YQPkgRepoFilterView.moc
124 YQPkgRepoList.o YQPkgRepoList.lo:                               YQPkgRepoList.moc
125 YQPkgLangList.o YQPkgLangList.lo:                               YQPkgLangList.moc
126 YQPkgList.o YQPkgList.lo:                                       YQPkgList.moc
127 YQPkgObjList.o YQPkgObjList.lo:                                 YQPkgObjList.moc
128 YQPkgPatchFilterView.o YQPkgPatchFilterView.lo:                 YQPkgPatchFilterView.moc
129 YQPkgPatchList.o YQPkgPatchList.lo:                             YQPkgPatchList.moc
130 YQPkgPatternList.o YQPkgPatternList.lo:                         YQPkgPatternList.moc
131 YQPkgProductDialog.o YQPkgProductDialog.lo:                     YQPkgProductDialog.moc
132 YQPkgProductList.o YQPkgProductList.lo:                         YQPkgProductList.moc
133 YQPkgRpmGroupTagsFilterView.o YQPkgRpmGroupTagsFilterView.lo:   YQPkgRpmGroupTagsFilterView.moc
134 YQPkgSearchFilterView.o YQPkgSearchFilterView.lo:               YQPkgSearchFilterView.moc
135 YQPkgSelDescriptionView.o YQPkgSelDescriptionView.lo:           YQPkgSelDescriptionView.moc
136 YQPkgSelList.o YQPkgSelList.lo:                                 YQPkgSelList.moc
137 YQPkgStatusFilterView.o YQPkgStatusFilterView.lo:               YQPkgStatusFilterView.moc
138 YQPkgTechnicalDetailsView.o YQPkgTechnicalDetailsView.lo:       YQPkgTechnicalDetailsView.moc
139 YQPkgTextDialog.o YQPkgTextDialog.lo:                           YQPkgTextDialog.moc
140 YQPkgUpdateProblemFilterView.o YQPkgUpdateProblemFilterView.lo: YQPkgUpdateProblemFilterView.moc
141 YQPkgVersionsView.o YQPkgVersionsView.lo:                       YQPkgVersionsView.moc
142
143
144 YQPackageSelector.moc:                  YQPackageSelector.h
145 YQPackageSelectorBase.moc:              YQPackageSelectorBase.h
146 YQPatternSelector.moc:                  YQPatternSelector.h
147 YQSimplePatchSelector.moc:              YQSimplePatchSelector.h
148
149 YQPkgChangeLogView.moc:                 YQPkgChangeLogView.h
150 YQPkgChangesDialog.moc:                 YQPkgChangesDialog.h
151 YQPkgConflictDialog.moc:                YQPkgConflictDialog.h
152 YQPkgConflictList.moc:                  YQPkgConflictList.h
153 YQPkgDependenciesView.moc:              YQPkgDependenciesView.h
154 YQPkgDescriptionDialog.moc:             YQPkgDescriptionDialog.h
155 YQPkgDescriptionView.moc:               YQPkgDescriptionView.h
156 YQPkgDiskUsageList.moc:                 YQPkgDiskUsageList.h
157 YQPkgDiskUsageWarningDialog.moc:        YQPkgDiskUsageWarningDialog.h
158 YQPkgFileListView.moc:                  YQPkgFileListView.h
159 YQPkgGenericDetailsView.moc:            YQPkgGenericDetailsView.h
160 YQPkgRepoFilterView.moc:                YQPkgRepoFilterView.h
161 YQPkgRepoList.moc:                      YQPkgRepoList.h
162 YQPkgLangList.moc:                      YQPkgLangList.h
163 YQPkgList.moc:                          YQPkgList.h
164 YQPkgObjList.moc:                       YQPkgObjList.h
165 YQPkgPatchFilterView.moc:               YQPkgPatchFilterView.h
166 YQPkgPatchList.moc:                     YQPkgPatchList.h
167 YQPkgPatternList.moc:                   YQPkgPatternList.h
168 YQPkgProductDialog.moc:                 YQPkgProductDialog.h
169 YQPkgProductList.moc:                   YQPkgProductList.h
170 YQPkgRpmGroupTagsFilterView.moc:        YQPkgRpmGroupTagsFilterView.h
171 YQPkgSearchFilterView.moc:              YQPkgSearchFilterView.h
172 YQPkgSelDescriptionView.moc:            YQPkgSelDescriptionView.h
173 YQPkgSelList.moc:                       YQPkgSelList.h
174 YQPkgStatusFilterView.moc:              YQPkgStatusFilterView.h
175 YQPkgTechnicalDetailsView.moc:          YQPkgTechnicalDetailsView.h
176 YQPkgTextDialog.moc:                    YQPkgTextDialog.h
177 YQPkgUpdateProblemFilterView.moc:       YQPkgUpdateProblemFilterView.h
178 YQPkgVersionsView.moc:                  YQPkgVersionsView.h
179
180
181 %.moc: %.h
182         $(MOC) $< -o $@
183
184 CLEANFILES = *.moc
185
186 INCLUDES = -I$(srcdir)/.. -I$(QT_INCLUDEDIR) -I$(includedir) -I$(includedir)/yui ${ZYPP_CFLAGS}