Changeset 38:d68450d100a8 in xplcommon
- Timestamp:
- 01/03/13 08:51:38 (12 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r4 r38 21 21 fi 22 22 23 AC_MSG_CHECKING([where to find the X-Plane Plugin SDK]) 24 AC_ARG_WITH(xpsdk, 25 AC_HELP_STRING([--with-xpsdk=DIR], 26 [use the X-Plane Plugin SDK in DIR]), 27 [ 28 if test -r $withval/CHeaders/XPLM/XPLMPlugin.h; then 29 AC_MSG_RESULT([$withval]) 30 XPSDK_INCLUDES="-I$withval/CHeaders/XPLM -I$withval/CHeaders/Wrappers -I$withval/CHeaders/Widgets" 31 if test $_target_win32 -eq 0; then 32 XPSDK_LDFLAGS="-L$withval/Libraries/Win" 33 else 34 XPSDK_LDFLAGS="" 35 fi 36 else 37 AC_MSG_FAILURE([not found in $withval]) 38 fi 39 ], 40 [ 41 AC_MSG_FAILURE([please, specify]) 42 ]) 43 44 AC_SUBST(XPSDK_INCLUDES) 45 AC_SUBST(XPSDK_LDFLAGS) 46 23 47 AC_CONFIG_FILES([ 24 48 Makefile -
src/xplcommon/Makefile.am
r36 r38 1 INCLUDES=@XPSDK_INCLUDES@ 2 1 3 SUBDIRS= 2 4 if TARGET_API_POSIX 3 5 SUBDIRS+=posix 6 AM_CPPFLAGS=-DLIN 7 AM_CXXFLAGS=-fPIC -fno-stack-protector 4 8 endif 9 5 10 if TARGET_API_WIN32 6 11 SUBDIRS+=win32 7 AM_LDFLAGS=-no-undefined 12 AM_CPPFLAGS=-DIBM 13 AM_LDFLAGS=@XPSDK_LDFLAGS@ -lXPLM -no-undefined 8 14 endif 9 15 … … 13 19 PseudoRandom.cc \ 14 20 BlockingStream.cc \ 15 DataStream.cc 21 DataStream.cc \ 22 Util.cc 16 23 17 24 if TARGET_API_POSIX … … 44 51 LocalClientSocket.h \ 45 52 BlockingStream.h \ 46 DataStream.h 53 DataStream.h \ 54 Util.h
Note:
See TracChangeset
for help on using the changeset viewer.