Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
dll
git-svn-id: http://svn.osgeo.org/qgis/trunk@4734 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
rblazek
committed
Jan 24, 2006
1 parent
84968ad
commit d43ba76
Showing
1 changed file
with
23 additions
and
3 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 |
---|---|---|
@@ -1,22 +1,42 @@ | ||
QGTOP=../../ | ||
|
||
LDADD = $(QGIS_LIBS) | ||
#LDADD = $(QGIS_LIBS) | ||
LDADD = $(GUI_DLL) $(RASTER_DLL) $(LEGEND_DLL) $(COMPOSER_A) \ | ||
$(PROJSEL_DLL) \ | ||
$(GDAL_LDADD) $(PG_LIB) $(GEOS_LDADD) -lproj -lsqlite3 \ | ||
$(QT_LDADD) -lwsock32 | ||
|
||
DLL=qgis_gui.dll | ||
|
||
OBJECTS = qgis-main.o | ||
|
||
all: libs objects qgis.exe | ||
all: libs $(DLL) objects qgis.exe | ||
|
||
objects: | ||
$(MAKE) -f Makefile qgis-main.o | ||
|
||
libs: | ||
$(MAKE) -f Makefile libqgis_gui.la | ||
|
||
$(DLL): | ||
$(CXX) -shared -o $(DLL) \ | ||
-Wl,--out-implib=lib$(DLL).a \ | ||
-Wl,--export-all-symbols \ | ||
-Wl,--enable-auto-import \ | ||
-Wl,--whole-archive .libs/libqgis_gui.a \ | ||
-Wl,--no-whole-archive \ | ||
$(CORE_A) $(COMPOSER_A) $(LEGEND_A) $(RASTER_A) \ | ||
$(GUI_A) $(PROJSEL_A) \ | ||
-lsqlite3 -lgeos -lproj -lgdal \ | ||
$(QT_LDADD) \ | ||
-lwsock32 -lmingw32 | ||
|
||
qgis.exe: | ||
$(CXX) -o $@ $(OBJECTS) $(LDADD) | ||
$(STRIP) $@ | ||
|
||
install: all | ||
$(INSTALL) -m 755 qgis.exe $(prefix)/bin/qgis.exe | ||
$(INSTALL) -m 755 $(DLL) $(prefix)/bin/$(DLL) | ||
|
||
include ../../Makefile.win.rules | ||
include $(QGTOP)/Makefile.win.rules |