|
10 | 10 | #
|
11 | 11 | # $Id: Makefile.am 4490 2006-01-07 01:09:27Z timlinux $
|
12 | 12 |
|
| 13 | +## |
| 14 | +## ---------------------------------------------------------------------- |
| 15 | +## Define Targets |
| 16 | +## ---------------------------------------------------------------------- |
| 17 | +## |
| 18 | +lib_LTLIBRARIES= libqgis_designerwidgets.la |
| 19 | +## TODO change this so it installs into ${QTDIR}/plugins/designer |
| 20 | +libqgis_designerwidgetsdir = ${pkglibdir}/designer |
13 | 21 |
|
14 |
| -plugindir = ${pkglibdir}/designer |
| 22 | +## |
| 23 | +## ---------------------------------------------------------------------- |
| 24 | +## get Qt4 to run moc and rcc where required... |
| 25 | +## ---------------------------------------------------------------------- |
| 26 | +## |
15 | 27 |
|
| 28 | +#run moc on files |
16 | 29 | %.moc.cpp: %.h
|
17 | 30 | $(MOC) -o $@ $<
|
18 | 31 |
|
19 |
| -# name of the designer plugin |
20 |
| -plugin_LTLIBRARIES = qgisdesignerwidgets.la |
| 32 | +#qt resources |
| 33 | +%.qrc.cpp: %.qrc |
| 34 | + $(RCC) -o $@ $< |
21 | 35 |
|
22 |
| -qgisdesignerwidgets_la_SOURCES = qgsdesignerwidgets.cpp \ |
23 |
| - qgsdesignerwidgets.h \ |
24 |
| - $(projectionselector_la_MOC) |
| 36 | +libqgis_designerwidgets_la_MOC = qgsprojectionselectorwidget.moc.cpp |
25 | 37 |
|
26 |
| -qgisdesignerwidgets_la_MOC = qgsprojectionselectorplugin.moc.cpp |
| 38 | +libqgis_designerwidgets_RES = qgisdesignerwidgets.qrc.cpp |
27 | 39 |
|
28 |
| -#projectionselector_la_LIBADD = ../src/gui/libqgis_gui.la $(QT_LDADD) |
29 |
| -#qgisdesignerwidgets_la_LIBADD = $(QT_LDADD) ../widgets/projectionselector/libqgsprojectionselector.la |
30 |
| -qgisdesignerwidgets_la_LDFLAGS = -avoid-version -module |
31 |
| -qgisdesignerwidgets_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../gui/ -I../legend |
| 40 | +libqgis_designerwidgets_QRC = qgisdesignerwidgets.qrc |
| 41 | + |
| 42 | + |
| 43 | +## $(libqgis_designerwidgets_la_MOC) \ |
| 44 | +libqgis_designerwidgets_la_SOURCES = qgsprojectionselectorwidget.cpp \ |
| 45 | + $(libqgis_designerwidgets_QRC) \ |
| 46 | + $(libqgis_designerwidgets_RES) |
| 47 | + |
| 48 | + |
| 49 | +libqgis_designerwidgets_la_LIBADD = $(QT_LDADD) ../widgets/projectionselector/libqgsprojectionselector.la |
| 50 | +libqgis_designerwidgets_la_LDFLAGS = -avoid-version -module |
| 51 | +libqgis_designerwidgets_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../gui/ -I../legend -I../core -I../widgets/projectionselector/ |
| 52 | + |
| 53 | +## |
| 54 | +## ---------------------------------------------------------------------- |
| 55 | +## additional files that need to be installed go here |
| 56 | +## ---------------------------------------------------------------------- |
| 57 | +## |
| 58 | +libqgis_designerwidgets_HEADERS = qgsprojectionselectorwidget.h |
0 commit comments