1
0
Fork 0

forgotten ones from Tat's patch to enable make builds on Macs

This commit is contained in:
torsten 2009-09-17 17:03:26 +00:00 committed by Tim Moore
parent 8265bc07b9
commit d14a17b5b8
4 changed files with 32 additions and 11 deletions

View file

@ -1,11 +1,22 @@
noinst_PROGRAMS = GPSsmooth MIDGsmooth UGsmooth noinst_PROGRAMS = GPSsmooth MIDGsmooth UGsmooth
if HAVE_FRAMEWORK_PLIB
GPSsmooth_LDFLAGS = $(plib_FRAMEWORK)
MIDGsmooth_LDFLAGS = $(plib_FRAMEWORK)
UGsmooth_LDFLAGS = $(plib_FRAMEWORK)
else
GPSsmooth_PLIB_LIBS = -lplibnet -lplibul
MIDGsmooth_PLIB_LIBS = -lplibnet -lplibul
UGsmooth_PLIB_LIBS = -lplibnet -lplibul
endif
GPSsmooth_SOURCES = \ GPSsmooth_SOURCES = \
gps.cxx gps.hxx \ gps.cxx gps.hxx \
gps_main.cxx gps_main.cxx
GPSsmooth_LDADD = \ GPSsmooth_LDADD = \
-lsgtiming -lsgmisc -lsgdebug -lplibnet -lplibul \ $(GPSsmooth_PLIB_LIBS) -lsgtiming -lsgmisc -lsgdebug \
$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz $(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
MIDGsmooth_SOURCES = \ MIDGsmooth_SOURCES = \
@ -13,9 +24,8 @@ MIDGsmooth_SOURCES = \
MIDG_main.cxx MIDG_main.cxx
MIDGsmooth_LDADD = \ MIDGsmooth_LDADD = \
-lsgio -lsgserial -lsgtiming -lsgmath -lsgbucket -lsgmisc -lsgdebug \ $(MIDGsmooth_PLIB_LIBS) -lsgio -lsgserial -lsgtiming \
-lsgstructure \ -lsgmath -lsgbucket -lsgmisc -lsgdebug -lsgstructure \
-lplibnet -lplibul \
$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz $(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
UGsmooth_SOURCES = \ UGsmooth_SOURCES = \
@ -26,9 +36,8 @@ UGsmooth_SOURCES = \
UGear_telnet.cxx UGear_telnet.hxx UGear_telnet.cxx UGear_telnet.hxx
UGsmooth_LDADD = \ UGsmooth_LDADD = \
-lsgio -lsgserial -lsgtiming -lsgmath -lsgbucket -lsgmisc -lsgdebug \ $(UGsmooth_PLIB_LIBS) -lsgio -lsgserial -lsgtiming \
-lplibnet -lplibul \ -lsgmath -lsgbucket -lsgmisc -lsgdebug \
$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz $(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
INCLUDES = -I$(top_srcdir)/src INCLUDES = -I$(top_srcdir)/src

View file

@ -1,4 +1,4 @@
DIST_SUBDIRS = GPSsmooth TerraSync Modeller js_server fgadmin xmlgrep propmerge DIST_SUBDIRS = GPSsmooth TerraSync Modeller js_server fgadmin xmlgrep propmerge fgpanel
SUBDIRS = GPSsmooth TerraSync Modeller js_server propmerge fgviewer SUBDIRS = GPSsmooth TerraSync Modeller js_server propmerge fgviewer fgpanel

View file

@ -6,4 +6,10 @@ terrasync_SOURCES = terrasync.cxx
AM_CPPFLAGS = $(svn_CPPFLAGS) AM_CPPFLAGS = $(svn_CPPFLAGS)
terrasync_LDADD = -lplibnet -lplibul -lsgmisc -lsgdebug $(network_LIBS) $(svn_LIBS) if HAVE_FRAMEWORK_PLIB
terrasync_LDFLAGS = $(plib_FRAMEWORK)
else
terrasync_PLIB_LIBS = -lplibnet -lplibul
endif
terrasync_LDADD = $(terrasync_PLIB_LIBS) -lsgmisc -lsgdebug $(network_LIBS) $(svn_LIBS)

View file

@ -1,4 +1,10 @@
noinst_PROGRAMS = js_server noinst_PROGRAMS = js_server
if HAVE_FRAMEWORK_PLIB
js_server_LDFLAGS = $(plib_FRAMEWORK)
else
js_server_PLIB_LIBS = -lplibjs -lplibnet -lplibul
endif
js_server_SOURCES = js_server.cxx js_server_SOURCES = js_server.cxx
js_server_LDADD = -lplibjs -lplibnet -lplibul $(base_LIBS) $(joystick_LIBS) $(network_LIBS) js_server_LDADD = $(js_server_PLIB_LIBS) $(base_LIBS) $(joystick_LIBS) $(network_LIBS)