Changeset 13:42fd631176b7 in xplra


Ignore:
Timestamp:
01/27/13 08:21:24 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Reorganized code to be able to handle the client library as a normal libtool library

Files:
13 added
4 edited
29 moved

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r12 r13  
    11SUBDIRS=src
     2
     3ACLOCAL_AMFLAGS = -I m4
  • bootstrap.sh

    r12 r13  
    77cd "${scriptdir}"
    88
    9 #libtoolize
    10 aclocal -I $1
     9libtoolize
     10aclocal -I m4 -I "${1}"
    1111automake -a
    1212autoconf
     13
     14"${scriptdir}/src/plugin/bootstrap.sh" "${1}"
  • configure.ac

    r12 r13  
    11AC_INIT(xplra, 0.1, ivaradi@gmail.com)
    22AM_INIT_AUTOMAKE([foreign no-exeext])
     3
     4LT_INIT
     5AC_CONFIG_MACRO_DIR([m4])
    36
    47AC_PROG_CC
     
    912AM_VSCPL_TARGET_API
    1013
    11 AC_MSG_CHECKING([where to find the X-Plane Plugin SDK])
    12 AC_ARG_WITH(xpsdk,
    13             AC_HELP_STRING([--with-xpsdk=DIR],
    14                            [use the X-Plane Plugin SDK in DIR]),
    15             [
    16                 if test -r $withval/CHeaders/XPLM/XPLMPlugin.h; then
    17                     AC_MSG_RESULT([$withval])
    18                     XPSDK_INCLUDES="-I$withval/CHeaders/XPLM -I$withval/CHeaders/Wrappers -I$withval/CHeaders/Widgets"
    19                     if test $_target_win32 -eq 0; then
    20                         XPSDK_LDFLAGS="-L$withval/Libraries/Win"
    21                     else
    22                         XPSDK_LDFLAGS=""
    23                     fi
    24                 else
    25                     AC_MSG_FAILURE([not found in $withval])
    26                 fi
    27             ],
    28             [
    29                  AC_MSG_FAILURE([please, specify])
    30             ])
    31 
    3214AC_SUBST(XPSDK_INCLUDES)
    3315AC_SUBST(XPSDK_LDFLAGS)
    3416
    3517AM_VSCPL
    36 PKG_CHECK_MODULES([LIBXPLCOMMON], [libxplcommon >= 0.1])
    3718
    3819AC_CONFIG_FILES([
    3920        Makefile
    4021        src/Makefile
    41         src/xplra/Makefile
     22        src/client/Makefile
     23        src/client/c/Makefile
     24        src/client/c/hu/Makefile
     25        src/client/c/hu/varadiistvan/Makefile
     26        src/client/c/hu/varadiistvan/xplra/Makefile
    4227])
    4328
     29AC_CONFIG_SUBDIRS([src/plugin])
     30
    4431AC_OUTPUT()
  • src/Makefile.am

    r0 r13  
    1 SUBDIRS=xplra
     1SUBDIRS=plugin client
  • src/plugin/src/xplra/Makefile.am

    r12 r13  
    5757win_xpl_LDADD+=$(VSCPL_LIBS) $(LIBXPLCOMMON_LIBS)
    5858endif
     59
     60EXTRA_DIST=version.ldscript
Note: See TracChangeset for help on using the changeset viewer.