Changeset 12:3696a9f93983 in xplra for src


Ignore:
Timestamp:
01/20/13 10:28:25 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Customized the linking procedure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplra/Makefile.am

    r11 r12  
    55AM_CPPFLAGS=-DXPLM210
    66
    7 if TARGET_API_WIN32
    8 AM_CPPFLAGS+=-DIBM
    9 AM_LDFLAGS=@XPSDK_LDFLAGS@ -no-undefined
    10 if TARGET_API_WIN64
    11 AM_LDFLAGS+=-lXPLM_64
    12 else
    13 AM_LDFLAGS+=-lXPLM
    14 endif
    15 endif
    16 
    17 if TARGET_API_POSIX
    18 AM_CPPFLAGS+=-DLIN
    19 AM_CXXFLAGS+=-fPIC -fno-stack-protector
    20 AM_LDFLAGS=-rdynamic -nodefaultlibs -undefined_warning -Wl,-version-script=$(srcdir)/version.ldscript
    21 endif
    22 
    23 
    24 lib_LTLIBRARIES=libxplra.la
    25 
    26 libxplra_la_SOURCES= \
     7SRCS= \
    278        plugin.cc                       \
    289        ListenThread.cc                 \
     
    3617        GetMultiDataRefRequest.cc       \
    3718        SetMultiDataRefRequest.cc
    38 
    39 libxplra_la_LIBADD=$(VSCPL_LIBS) $(LIBXPLCOMMON_LIBS)
    4019
    4120noinst_HEADERS= \
     
    5332        GetMultiDataRefRequest.h        \
    5433        SetMultiDataRefRequest.h
     34
     35if TARGET_API_POSIX
     36AM_CPPFLAGS+=-DLIN
     37AM_CXXFLAGS+=-fPIC -fno-stack-protector
     38AM_LDFLAGS=-shared -rdynamic -nodefaultlibs -undefined_warning -Wl,-version-script=$(srcdir)/version.ldscript
     39noinst_PROGRAMS=lin.xpl
     40lin_xpl_SOURCES=$(SRCS)
     41lin_xpl_LDADD=$(VSCPL_LIBS) $(LIBXPLCOMMON_LIBS)
     42endif
     43
     44if TARGET_API_WIN32
     45AM_CPPFLAGS+=-DIBM
     46AM_LDFLAGS=-shared -Wl,--enable-auto-image-base
     47
     48noinst_PROGRAMS=win.xpl
     49win_xpl_SOURCES=$(SRCS)
     50
     51win_xpl_LDADD=@XPSDK_LDFLAGS@
     52if TARGET_API_WIN64
     53win_xpl_LDADD+=-lXPLM_64
     54else
     55win_xpl_LDADD+=-lXPLM
     56endif
     57win_xpl_LDADD+=$(VSCPL_LIBS) $(LIBXPLCOMMON_LIBS)
     58endif
Note: See TracChangeset for help on using the changeset viewer.