diff options
author | Bernd Zeimetz <bernd@bzed.de> | 2010-05-16 17:18:24 +0200 |
---|---|---|
committer | Bernd Zeimetz <bernd@bzed.de> | 2010-05-16 17:18:24 +0200 |
commit | e850fb1f659096ae55ca8906048a28e01c18f6b4 (patch) | |
tree | d341adcd805b4604bcb463ee25c5c24811569fd2 /libQgpsmm/libQgpsmm.pro | |
parent | 2bd75f41977d726c8a27e96bdf48099ca7a6fda2 (diff) | |
download | gpsd-e850fb1f659096ae55ca8906048a28e01c18f6b4.tar.gz |
CLean up the win32 parts of libQgpsmm.pro.
Diffstat (limited to 'libQgpsmm/libQgpsmm.pro')
-rw-r--r-- | libQgpsmm/libQgpsmm.pro | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/libQgpsmm/libQgpsmm.pro b/libQgpsmm/libQgpsmm.pro index d78ae2c2..6758ba46 100644 --- a/libQgpsmm/libQgpsmm.pro +++ b/libQgpsmm/libQgpsmm.pro @@ -30,8 +30,7 @@ HEADERS += libQgpsmm_global.h \ ../gps.h \ ../libgpsmm.h \ ../gps_json.h \ - ../json.h \ - ../ais_json.i + ../json.h !win32 { @@ -39,7 +38,8 @@ HEADERS += libQgpsmm_global.h \ VERSION = $$system($${MAKE} -s -C .. print_libgps_VERSION) } HEADERS += \ - ../gpsd.h + ../gpsd.h \ + ../ais_json.i # Prefix: base instalation directory isEmpty( PREFIX ) { @@ -59,17 +59,20 @@ HEADERS += libQgpsmm_global.h \ win32 { # TODO: - # - library version handling - # - add missing files (if there are any) # - test build + include( mingw/version.pri ) HEADERS += \ - gpsd.h + gpsd.h \ + mingw/ais_json.i + + INCLUDEPATH = $$PWD/mingw $${INCLUDEPATH} gpsdhcreate.target = gpsd.h - gpsdhcreate.commands = "copy /Y /B ..\gpsd.h-head + mingw\gpsd_config.h + ..\gpsd.h-tail gpsd.h" && "copy /Y mingw\gpsd_config.h .." && "copy /Y mingw\ais_json.i .." + gpsdhcreate.commands = "copy /Y /B ..\gpsd.h-head + mingw\gpsd_config.h + ..\gpsd.h-tail gpsd.h" gpsdhcreate.depends = FORCE PRE_TARGETDEPS += gpsd.h QMAKE_EXTRA_TARGETS += gpsdhcreate + } |