picking up branches/tmp/sh/qt4-port/, merging it with trunk
[duncan/yast2-qt4.git] / src / Makefile.am
1 #
2 # Makefile.am for qt/src
3 #
4
5 # SUBDIRS = pkg
6
7 AM_CXXFLAGS = -DY2LOG=\"ui-qt\"                                 \
8         -DQT3_SUPPORT                                           \
9         -DQT_THREAD_SUPPORT                                     \
10         -DLOCALEDIR=\"${localedir}\"                            \
11         -DQT_LOCALEDIR=\"$(QT_TRANSLATIONSDIR)\"                \
12         -DICONDIR=\"${themedir}/current\"                       \
13         -DTHEMEDIR=\"${themedir}/current\"                      \
14         -DLANG_FONTS_FILE=\"${lang_fontsdir}/lang_fonts\"       \
15         -DQTLIBDIR=\"$(QT_LIBDIR)\"                             \
16         -fmessage-length=0
17
18 serversdir = $(execcompdir)/servers
19
20 lang_fontsdir=$(ydatadir)
21 lang_fonts_DATA = lang_fonts
22
23 EXTRA_DIST = $(lang_fonts_DATA)
24
25 # plugin, libtool forces 'lib' prefix
26 plugin_LTLIBRARIES = libpy2qt.la
27 libpy2qt_la_LDFLAGS = -version-info 2:0
28
29 libpy2qt_la_LIBADD =                    \
30         -L$(plugindir) -lpy2UI          \
31         -L$(QTLIBDIR) -lQtGui -lQt3Support
32
33 # libpy2qt_la_LIBADD =                  \
34 #       -Lpkg -ly2qt_pkg                \
35 #       -L$(plugindir) -lpy2UI          \
36 #       -L$(QTLIBDIR) -lqt-mt           \
37 #       -lX11 -lXext -lSM -lICE
38
39 # noinst_LTLIBRARIES = liby2qt.la
40 # liby2qt_la_LDFLAGS = -version-info 2:0
41 # liby2qt_la_LIBADD = $(libpy2qt_la_LIBADD)
42
43
44 noinst_HEADERS = $(wildcard *.h)
45
46 libpy2qt_la_SOURCES =                           \
47         Y2CCQt.cc                               \
48                                                 \
49         YQUI_core.cc                            \
50         YQUI_widgets.cc                         \
51         YQUI_builtins.cc                        \
52         YQUI_x11.cc                             \
53         YQApplication.cc                        \
54         YQWidgetFactory.cc                      \
55         YQOptionalWidgetFactory.cc              \
56         YQPackageSelectorPlugin.cc              \
57         YQSignalBlocker.cc                      \
58         YQIconPool.cc                           \
59         YQWidgetCaption.cc                      \
60                                                 \
61         YQAlignment.cc                          \
62         YQBarGraph.cc                           \
63         YQCheckBox.cc                           \
64         YQCheckBoxFrame.cc                      \
65                                                 \
66         YQComboBox.cc                           \
67         YQDateField.cc                          \
68         YQDialog.cc                             \
69         YQDownloadProgress.cc                   \
70         YQEBunny.cc                             \
71         YQEmpty.cc                              \
72         YQFrame.cc                              \
73         YQGenericButton.cc                      \
74         YQImage.cc                              \
75         YQInputField.cc                         \
76         YQIntField.cc                           \
77         YQLabel.cc                              \
78         YQLayoutBox.cc                          \
79         YQMenuButton.cc                         \
80         YQMultiProgressMeter.cc                 \
81         YQPartitionSplitter.cc                  \
82         YQProgressBar.cc                        \
83         YQPushButton.cc                         \
84         YQRadioButton.cc                        \
85         YQRadioButtonGroup.cc                   \
86         YQReplacePoint.cc                       \
87         YQSelectionBox.cc                       \
88         YQSlider.cc                             \
89         YQSpacing.cc                            \
90         YQSquash.cc                             \
91         YQTimeField.cc                          \
92         YQWizard.cc                             \
93         YQWizardButton.cc                       \
94                                                 \
95         YFrameBuffer.cc                         \
96         QY2ComboTabWidget.cc                    \
97         QY2DiskUsageList.cc                     \
98         QY2CharValidator.cc                     \
99         QY2ListView.cc                          \
100         QY2Settings.cc                          \
101         QY2LayoutUtils.cc                       \
102                                                 \
103         YQTable.cc                              \
104         YQTree.cc                               \
105         YQLogView.cc                            \
106         YQMultiLineEdit.cc                      \
107         YQDumbTab.cc                            \
108         YQMultiSelectionBox.cc                  \
109         YQRichText.cc                   
110
111 # Note: QY2LayoutUtils and QY2Settings don't need any .moc file: No QObjects
112
113
114 # the plugin adds the liby2 component interface
115 #
116 # libpy2qt_la_SOURCES =                         \
117 #       $(liby2qt_la_SOURCES)                   \
118 #       Y2CCQt.cc
119
120
121 BUILT_SOURCES =                                 \
122         YQUI.moc                                \
123         YQApplication.moc                       \
124         YQWidgetCaption.cc                      \
125                                                 \
126         YQAlignment.moc                         \
127         YQBarGraph.moc                          \
128         YQCheckBox.moc                          \
129         YQCheckBoxFrame.moc                     \
130         YQComboBox.moc                          \
131         YQDialog.moc                            \
132         YQDownloadProgress.moc                  \
133         YQDumbTab.moc                           \
134         YQEmpty.moc                             \
135         YQFrame.moc                             \
136         YQGenericButton.moc                     \
137         YQImage.moc                             \
138         YQInputField.moc                        \
139         YQIntField.moc                          \
140         YQLabel.moc                             \
141         YQLayoutBox.moc                         \
142         YQLogView.moc                           \
143         YQMenuButton.moc                        \
144         YQMultiLineEdit.moc                     \
145         YQMultiProgressMeter.moc                \
146         YQMultiSelectionBox.moc                 \
147         YQPartitionSplitter.moc                 \
148         YQProgressBar.moc                       \
149         YQPushButton.moc                        \
150         YQRadioButton.moc                       \
151         YQRadioButtonGroup.moc                  \
152         YQReplacePoint.moc                      \
153         YQRichText.moc                          \
154         YQSelectionBox.moc                      \
155         YQSlider.moc                            \
156         YQSpacing.moc                           \
157         YQSquash.moc                            \
158         YQTable.moc                             \
159         YQTree.moc                              \
160         YQWizard.moc                            \
161         YQWizardButton.moc                      \
162                                                 \
163         QY2ComboTabWidget.moc                   \
164         QY2DiskUsageList.moc                    \
165         QY2CharValidator.moc                    \
166         QY2ListView.moc
167
168
169 YQUI_core.o YQUI_core.lo:                                       YQUI.moc
170 YQUI_widgets.o YQUI_widgets.lo:                                 YQUI.moc
171 YQUI_builtins.o YQUI_builtins.lo:                               YQUI.moc
172 YQUI_x11.o YQUI_x11.lo:                                         YQUI.moc
173 YQApplication.o YQApplication.lo:                               YQApplication.moc
174 YQWidgetCaption.o YQWidgetCaption.lo:                           YQWidgetCaption.moc
175
176 YQAlignment.o YQAlignment.lo:                                   YQAlignment.moc
177 YQBarGraph.o YQBarGraph.lo:                                     YQBarGraph.moc
178 YQCheckBox.o YQCheckBox.lo:                                     YQCheckBox.moc
179 YQCheckBoxFrame.o YQCheckBoxFrame.lo:                           YQCheckBoxFrame.moc
180 YQComboBox.o YQComboBox.lo:                                     YQComboBox.moc
181 YQDateField.o YQDateField.lo:                                   YQDateField.moc
182 YQDialog.o YQDialog.lo:                                         YQDialog.moc
183 YQDownloadProgress.o YQDownloadProgress.lo:                     YQDownloadProgress.moc
184 YQDumbTab.o YQDumbTab.lo:                                       YQDumbTab.moc
185 YQEmpty.o YQEmpty.lo:                                           YQEmpty.moc
186 YQFrame.o YQFrame.lo:                                           YQFrame.moc
187 YQGenericButton.o YQGenericButton.lo:                           YQGenericButton.moc
188 YQImage.o YQImage.lo:                                           YQImage.moc
189 YQInputField.o YQInputField.lo:                                 YQInputField.moc
190 YQIntField.o YQIntField.lo:                                     YQIntField.moc
191 YQLabel.o YQLabel.lo:                                           YQLabel.moc
192 YQLayoutBox.o YQLayoutBox.lo:                                   YQLayoutBox.moc
193 YQLogView.o YQLogView.lo:                                       YQLogView.moc
194 YQMenuButton.o YQMenuButton.lo:                                 YQMenuButton.moc
195 YQMultiLineEdit.o YQMultiLineEdit.lo:                           YQMultiLineEdit.moc
196 YQMultiProgressMeter.o YQMultiProgressMeter.lo:                 YQMultiProgressMeter.moc
197 YQMultiSelectionBox.o YQMultiSelectionBox.lo:                   YQMultiSelectionBox.moc
198 YQPartitionSplitter.o YQPartitionSplitter.lo:                   YQPartitionSplitter.moc
199 YQProgressBar.o YQProgressBar.lo:                               YQProgressBar.moc
200 YQPushButton.o YQPushButton.lo:                                 YQPushButton.moc
201 YQRadioButton.o YQRadioButton.lo:                               YQRadioButton.moc
202 YQRadioButtonGroup.o YQRadioButtonGroup.lo:                     YQRadioButtonGroup.moc
203 YQReplacePoint.o YQReplacePoint.lo:                             YQReplacePoint.moc
204 YQRichText.o YQRichText.lo:                                     YQRichText.moc
205 YQSelectionBox.o YQSelectionBox.lo:                             YQSelectionBox.moc
206 YQSlider.o YQSlider.lo:                                         YQSlider.moc
207 YQSpacing.o YQSpacing.lo:                                       YQSpacing.moc
208 YQSquash.o YQSquash.lo:                                         YQSquash.moc
209 YQTable.o YQTable.lo:                                           YQTable.moc
210 YQTimeField.o YQTimeField.lo:                                   YQTimeField.moc
211 YQTree.o YQTree.lo:                                             YQTree.moc
212 YQWizard.o YQWizard.lo:                                         YQWizard.moc
213 YQWizardButton.o YQWizardButton.lo:                             YQWizardButton.moc
214
215 QY2ComboTabWidget.o QY2ComboTabWidget.lo:                       QY2ComboTabWidget.cc
216 QY2DiskUsageList.o QY2DiskUsageList.lo:                         QY2DiskUsageList.cc
217 QY2CharValidator.o QY2CharValidator.lo:                         QY2CharValidator.moc
218 QY2ListView.o QY2ListView.lo:                                   QY2ListView.moc
219
220
221
222 YQUI.moc:                               YQUI.h
223 YQApplication.moc:                      YQApplication.h
224 YQWidgetCaption.moc:                    YQWidgetCaption.h
225
226 YQAlignment.moc:                        YQAlignment.h
227 YQBarGraph.moc:                         YQBarGraph.h
228 YQCheckBox.moc:                         YQCheckBox.h
229 YQCheckBoxFrame.moc:                    YQCheckBoxFrame.h
230 YQComboBox.moc:                         YQComboBox.h
231 YQDialog.moc:                           YQDialog.h
232 YQDownloadProgress.moc:                 YQDownloadProgress.h
233 YQDumbTab.moc:                          YQDumbTab.h
234 YQEmpty.moc:                            YQEmpty.h
235 YQFrame.moc:                            YQFrame.h
236 YQGenericButton.moc:                    YQGenericButton.h
237 YQImage.moc:                            YQImage.h
238 YQInputField.moc:                       YQInputField.h
239 YQIntField.moc:                         YQIntField.h
240 YQLabel.moc:                            YQLabel.h
241 YQLayoutBox.moc:                        YQLayoutBox.h
242 YQLogView.moc:                          YQLogView.h
243 YQMenuButton.moc:                       YQMenuButton.h
244 YQMultiLineEdit.moc:                    YQMultiLineEdit.h
245 YQMultiProgressMeter.moc:               YQMultiProgressMeter.h
246 YQMultiSelectionBox.moc:                YQMultiSelectionBox.h
247 YQPartitionSplitter.moc:                YQPartitionSplitter.h
248 YQProgressBar.moc:                      YQProgressBar.h
249 YQPushButton.moc:                       YQPushButton.h
250 YQRadioButton.moc:                      YQRadioButton.h
251 YQRadioButtonGroup.moc:                 YQRadioButtonGroup.h
252 YQReplacePoint.moc:                     YQReplacePoint.h
253 YQRichText.moc:                         YQRichText.h
254 YQSelectionBox.moc:                     YQSelectionBox.h
255 YQSlider.moc:                           YQSlider.h
256 YQSpacing.moc:                          YQSpacing.h
257 YQSquash.moc:                           YQSquash.h
258 YQTable.moc:                            YQTable.h
259 YQTree.moc:                             YQTree.h
260 YQWizard.moc:                           YQWizard.h
261 YQWizardButton.moc:                     YQWizardButton.h
262
263 QY2ComboTabWidget.moc:                  QY2ComboTabWidget.h
264 QY2DiskUsageList.moc:                   QY2DiskUsageList.h
265 QY2CharValidator.moc:                   QY2CharValidator.h
266 QY2ListView.moc:                        QY2ListView.h
267
268
269 %.moc: %.h
270         $(MOC) $< -o $@
271
272 CLEANFILES = *.moc
273
274 INCLUDES = -I$(srcdir)/pkg `pkg-config --cflags QtGui` `pkg-config --cflags QtCore` `pkg-config --cflags Qt3Support` -I$(includedir) -I$(includedir)/yui