Skip to content
Permalink
Browse files
Makefiles for building win32 version
git-svn-id: http://svn.osgeo.org/qgis/trunk@5557 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jul 1, 2006
1 parent 5068f3a commit 1ed0915dd074565a01e6b4248c243ce6244f38fc
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit 1ed0915

Please sign in to comment.