Skip to content

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
 

‎src/plugins/gps_importer/Makefile.win

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
QGTOP=../../../
2+
3+
OBJECTS = $(wildcard *.o)
4+
5+
PLUGIN = .libs/gpsimporterplugin.dll
6+
7+
all: objects $(PLUGIN)
8+
9+
objects:
10+
$(MAKE) -f Makefile
11+
12+
$(PLUGIN): $(OBJECTS)
13+
$(CXX) -shared -o $@ \
14+
-Wl,--export-all-symbols \
15+
-Wl,--enable-auto-import \
16+
-Wl,--whole-archive $(OBJECTS) \
17+
-Wl,--no-whole-archive \
18+
-L ../../providers/gpx/.libs \
19+
$(PLUGIN_LIBS) \
20+
$(GSL_LIBS)
21+
$(STRIP) $@
22+
23+
# ../../providers/grass/.libs/libqgisgrass.a \
24+
25+
install: all
26+
$(INSTALL) -m 755 $(PLUGIN) $(prefix)/lib/qgis/gpsimporterplugin.dll
27+
28+
include $(QGTOP)/Makefile.win.rules

0 commit comments

Comments
 (0)
Please sign in to comment.