Skip to content

Commit

Permalink
Makefiles for MinGW
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@4668 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jan 12, 2006
1 parent 60588a0 commit fb622fc
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Makefile.win
@@ -0,0 +1,8 @@
STDSUBDIRS = core ui legend raster composer widgets helpviewer
#providers plugins

WINSUBDIRS = gui

all: stdsubdirs winsubdirs

include ../Makefile.win.rules
25 changes: 25 additions & 0 deletions src/gui/Makefile.win
@@ -0,0 +1,25 @@
QGTOP=../../

LDADD = $(QGIS_LIBS)

OBJECTS = qgis-main.o

all: libs objects qgis.exe

objects:
$(MAKE) -f Makefile qgis-main.o

libs:
$(MAKE) -f Makefile libqgis_gui.la

qgis.exe:
$(CXX) -o $@ $(OBJECTS) $(LDADD)
$(STRIP) $@

install: all
$(MAKE) -C i18n -f Makefile install
$(MAKE) -C images -f Makefile install
$(MAKE) -C resources -f Makefile install
$(INSTALL) -m 755 qgis.exe $(prefix)/bin/qgis.exe

include ../../Makefile.win.rules
19 changes: 19 additions & 0 deletions src/providers/ogr/Makefile.win
@@ -0,0 +1,19 @@
QGTOP=../../../

LDADD = $(PLUGIN_LIBS)

OBJECTS = ogrprovider_la-qgsogrprovider.o

all: objects .libs/ogrprovider.dll

objects:
$(MAKE) -f Makefile ogrprovider_la-qgsogrprovider.o

.libs/ogrprovider.dll: $(OBJECTS)
$(CXX) -shared -o $@ $(OBJECTS) $(LDADD)
$(STRIP) $@

install: all
$(INSTALL) -m 755 .libs/ogrprovider.dll $(prefix)/lib/qgis/ogrprovider.dll

include ../../../Makefile.win.rules

0 comments on commit fb622fc

Please sign in to comment.