Skip to content

Commit

Permalink
Install include files from the libraries.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5961 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Oct 15, 2006
1 parent 606bf57 commit 9445f2f
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 19 deletions.
22 changes: 13 additions & 9 deletions src/composer/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ libqgis_composer_MOC = qgscomposer.moc.cpp \
qgscomposerview.moc.cpp \
qgscomposition.moc.cpp

##libqgis_composer_la_HEADERS = qgscomposer.h\
## qgscomposeritem.h \
## qgscomposerlabel.h \
## qgscomposerpicture.h \
## qgscomposermap.h \
## qgscomposerscalebar.h \
## qgscomposervectorlegend.h \
## qgscomposerview.h \
## qgscomposition.h
libqgis_composerHEADERS = qgscomposer.h\
qgscomposeritem.h \
qgscomposerlabel.h \
qgscomposerpicture.h \
qgscomposermap.h \
qgscomposerscalebar.h \
qgscomposervectorlegend.h \
qgscomposerview.h \
qgscomposition.h

libqgis_composer_la_SOURCES = qgscomposer.cpp\
qgscomposeritem.cpp \
Expand All @@ -61,3 +61,7 @@ libqgis_composer_la_CXXFLAGS = $(PKGDATAPATH) -I../gui/ -I../ui/ -I../core/ \
BUILT_SOURCES = $(libqgis_composer_MOC)

CLEANFILES = $(BUILT_SOURCES)

pkginclude_dir = $(includedir)/qgis
pkginclude_HEADERS = $(libqgis_composerHEADERS)

6 changes: 2 additions & 4 deletions src/core/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ libqgis_coreHEADERS = \
qgsclipper.h \
qgscolortable.h \
qgscontexthelp.h \
qgscsexception.h \
qgscustomsymbol.h \
qgsdatamanager.h \
qgsdataprovider.h \
Expand Down Expand Up @@ -86,8 +85,7 @@ libqgis_coreHEADERS = \
qgsrenderitem.h \
qgsscalecalculator.h \
qgssearchstring.h \
qgssearchtreenode.h \
qgssinglesymrenderer.h \
qgssearchtreenode.h \
qgssymbol.h \
qgssymbologyutils.h \
qgsvectordataprovider.h
Expand Down Expand Up @@ -169,7 +167,7 @@ libqgis_core_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(CXXFLAGS) $(
## additional files that need to be installed go here
## ----------------------------------------------------------------------
##
pkginclude_HEADERS = $(qgisHEADERS)
pkginclude_HEADERS = $(libqgis_coreHEADERS)

pkginclude_dir = $(includedir)/qgis

Expand Down
3 changes: 1 addition & 2 deletions src/gui/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ libqgis_guiHEADERS = \
qgspointstylewidget.h \
qgsproject.h \
qgsprojectproperties.h \
qgsrangerenderitem.h \
qgsrasterlayerproperties.h \
qgsrubberband.h \
qgsrunprocess.h \
Expand Down Expand Up @@ -305,7 +304,7 @@ libqgis_gui_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(GDAL_CFLAGS)
## additional files that need to be installed go here
## ----------------------------------------------------------------------
##
pkginclude_HEADERS = $(qgisHEADERS)
pkginclude_HEADERS = $(libqgis_guiHEADERS)

pkginclude_dir = $(includedir)/qgis

Expand Down
16 changes: 16 additions & 0 deletions src/legend/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ libqgis_legend_la_SOURCES = qgslegendgroup.cpp \
qgslegendsymbologyitem.cpp \
qgslegendvectorsymbologyitem.cpp

libqgis_legendHEADERS = \
qgslegend.h \
qgslegenditem.h \
qgslegendlayer.h \
qgslegendlayerfile.h \
qgslegendlayerfilegroup.h \
qgslegendpropertygroup.h \
qgslegendpropertyitem.h \
qgslegendsymbologygroup.h \
qgslegendsymbologyitem.h \
qgslegendvectorsymbologyitem.h

libqgis_legend_la_LIBFLAGS = $(QT_LDADD)

libqgis_legend_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
Expand All @@ -45,3 +57,7 @@ libqgis_legend_la_CXXFLAGS = $(PKGDATAPATH) -I../gui/ -I../ui/ -I../core/ \
BUILT_SOURCES = $(qgis_MOC)

CLEANFILES = $(BUILT_SOURCES)

pkginclude_dir = $(includedir)/qgis
pkginclude_HEADERS = $(libqgis_legendHEADERS)

19 changes: 15 additions & 4 deletions src/raster/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,22 @@ endif

%.moc.cpp: %.h
$(MOC) -o $@ $<

lib_LTLIBRARIES = libqgis_raster.la

libqgis_raster_la_MOC = \
qgsrasterlayer.moc.cpp
libqgis_raster_la_SOURCES = qgsrasterbandstats.h \
qgsrasterpyramid.h \

libqgis_raster_la_SOURCES = \
qgsrasterlayer.cpp \
qgsrasterlayer.h \
qgsrasterviewport.h \
$(libqgis_raster_la_MOC)

libqgis_rasterHEADERS = \
qgsrasterbandstats.h \
qgsrasterpyramid.h \
qgsrasterlayer.h \
qgsrasterviewport.h

BUILT_SOURCES = $(libqgis_raster_la_MOC) $(libqgis_raster_la_SOURCES)
##libqgis_raster_la_LDFLAGS = -no-undefined
libqgis_raster_la_CPPFLAGS = -I$(OMSRCDIR)
Expand All @@ -28,3 +35,7 @@ EXTRA_DIST = \
qgsrasterpyramid.h

CLEANFILES = $(libqgis_raster_la_MOC)

pkginclude_dir = $(includedir)/qgis
pkginclude_HEADERS = $(libqgis_rasterHEADERS)

5 changes: 5 additions & 0 deletions src/widgets/projectionselector/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ selector_UIC = qgsprojectionselectorbase.ui

selector_UI = ui_qgsprojectionselectorbase.h

selectorHEADERS = qgsprojectionselector.h

libqgsprojectionselector_la_SOURCES = qgsprojectionselector.cpp \
$(selector_UI) \
Expand All @@ -48,3 +49,7 @@ libqgsprojectionselector_la_LDFLAGS = -avoid-version
libqgsprojectionselector_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GEOS_CFLAGS) -I../../core/

EXTRA_DIST = $(selector_UIC)

pkginclude_dir = $(includedir)/qgis
pkginclude_HEADERS = $(selectorHEADERS)

0 comments on commit 9445f2f

Please sign in to comment.