Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Makefiles for building win32 version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5557 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
gsherman
committed
Jul 1, 2006
1 parent
3d6a882
commit 467a502
Showing
10 changed files
with
275 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
QGTOP=../../../ | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/copyrightlabelplugin.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/copyrightlabelplugin.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
QGTOP=../../../ | ||
|
||
LDADD = $(PLUGIN_LIBS) | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/delimitedtextplugin.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/delimitedtextplugin.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
QGTOP=../../../ | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/pggeoprocessing.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/pggeoprocessing.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
QGTOP=../../../ | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/georefplugin.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
-L/home/user/win/i586-mingw32msvc/lib -lgsl -lgslcblas \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/georefplugin.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
QGTOP=../../../ | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/gridmakerplugin.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/gridmakerplugin.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
QGTOP=../../../ | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/northarrowplugin.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/northarrowplugin.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
QGTOP=../../../ | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/libScaleBarplugin.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/libScaleBarplugin.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
QGTOP=../../../ | ||
|
||
OBJECTS = $(wildcard *.o) | ||
|
||
PLUGIN = .libs/spitplugin.dll | ||
|
||
all: objects $(PLUGIN) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PLUGIN): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive $(OBJECTS) \ | ||
-Wl,--no-whole-archive \ | ||
-L ../../providers/postgres/.libs/ -lpostgresprovider -lpq \ | ||
-lwsock32 \ | ||
$(PLUGIN_LIBS) | ||
$(STRIP) $@ | ||
|
||
# ../../providers/grass/.libs/libqgisgrass.a \ | ||
|
||
install: all | ||
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/spitplugin.dll | ||
|
||
include $(QGTOP)/Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
QGTOP=../../../ | ||
|
||
LDADD = $(PLUGIN_LIBS) | ||
|
||
OBJECTS = delimitedtextprovider_la-qgsdelimitedtextprovider.o | ||
|
||
PROVIDER = .libs/delimitedtextprovider.dll | ||
|
||
all: objects $(PROVIDER) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PROVIDER): $(OBJECTS) | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive delimitedtextprovider_la-qgsdelimitedtextprovider.o \ | ||
-Wl,--no-whole-archive \ | ||
$(CORE_DLL) $(GUI_DLL) $(CORE_DLL) \ | ||
$(RASTER_DLL) $(PROJSEL_DLL) $(LEGEND_DLL) \ | ||
$(GUI_DLL) $(CORE_DLL) $(COMPOSER_DLL) $(GUI_DLL) \ | ||
-lgdal -lgeos -lsqlite3 -lproj $(PG_LIB) \ | ||
$(QT_LDADD) \ | ||
-lwsock32 -lmingw32 | ||
$(STRIP) $@ | ||
|
||
install: all | ||
mkdir -p $(prefix)/lib/qgis/ | ||
$(INSTALL) -m 755 .libs/delimitedtextprovider.dll $(prefix)/lib/qgis/delimitedtextprovider.dll | ||
|
||
include ../../../Makefile.win.rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
QGTOP=../../../ | ||
|
||
LDADD = $(PLUGIN_LIBS) | ||
|
||
PROVIDER = .libs/gpxprovider.dll | ||
|
||
all: objects $(PROVIDER) | ||
|
||
objects: | ||
$(MAKE) -f Makefile | ||
|
||
$(PROVIDER): .libs/gpxprovider.a | ||
$(CXX) -shared -o $@ \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive .libs/gpxprovider.a \ | ||
-Wl,--no-whole-archive \ | ||
$(CORE_A) $(GUI_A) $(CORE_A) \ | ||
$(RASTER_A) $(PROJSEL_A) $(LEGEND_A) \ | ||
$(GUI_A) $(CORE_A) $(COMPOSER_A) $(GUI_A) \ | ||
-lgdal -lgeos -lsqlite3 -lproj -lexpat \ | ||
$(QT_LDADD) \ | ||
-lwsock32 -lmingw32 | ||
$(STRIP) $@ | ||
|
||
install: all | ||
mkdir -p $(prefix)/lib/qgis/ | ||
$(INSTALL) -m 755 .libs/gpxprovider.dll $(prefix)/lib/qgis/gpxprovider.dll | ||
|
||
include ../../../Makefile.win.rules |