Line | |
---|
1 | INCLUDES=@XPSDK_INCLUDES@
|
---|
2 |
|
---|
3 | AM_CXXFLAGS=$(VSCPL_CFLAGS) $(LIBXPLCOMMON_CFLAGS)
|
---|
4 |
|
---|
5 | AM_CPPFLAGS=-DXPLM210
|
---|
6 |
|
---|
7 | SRCS= \
|
---|
8 | plugin.cc \
|
---|
9 | ListenThread.cc \
|
---|
10 | RequestQueue.cc \
|
---|
11 | ServerThread.cc \
|
---|
12 | TaskRequest.cc \
|
---|
13 | DataRefTask.cc \
|
---|
14 | GetDataRefTask.cc \
|
---|
15 | SetDataRefTask.cc \
|
---|
16 | MultiTaskRequest.cc \
|
---|
17 | GetMultiDataRefRequest.cc \
|
---|
18 | SetMultiDataRefRequest.cc
|
---|
19 |
|
---|
20 | noinst_HEADERS= \
|
---|
21 | ListenThread.h \
|
---|
22 | Request.h \
|
---|
23 | RequestQueue.h \
|
---|
24 | Protocol.h \
|
---|
25 | ServerThread.h \
|
---|
26 | Task.h \
|
---|
27 | TaskRequest.h \
|
---|
28 | DataRefTask.h \
|
---|
29 | GetDataRefTask.h \
|
---|
30 | SetDataRefTask.h \
|
---|
31 | MultiTaskRequest.h \
|
---|
32 | GetMultiDataRefRequest.h \
|
---|
33 | SetMultiDataRefRequest.h
|
---|
34 |
|
---|
35 | if TARGET_API_POSIX
|
---|
36 | AM_CPPFLAGS+=-DLIN
|
---|
37 | AM_CXXFLAGS+=-fPIC -fno-stack-protector
|
---|
38 | AM_LDFLAGS=-shared -rdynamic -nodefaultlibs -undefined_warning -Wl,-version-script=$(srcdir)/version.ldscript
|
---|
39 | noinst_PROGRAMS=lin.xpl
|
---|
40 | lin_xpl_SOURCES=$(SRCS)
|
---|
41 | lin_xpl_LDADD=$(VSCPL_LIBS) $(LIBXPLCOMMON_LIBS)
|
---|
42 | endif
|
---|
43 |
|
---|
44 | if TARGET_API_WIN32
|
---|
45 | AM_CPPFLAGS+=-DIBM
|
---|
46 | AM_LDFLAGS=-shared -Wl,--enable-auto-image-base
|
---|
47 |
|
---|
48 | noinst_PROGRAMS=win.xpl
|
---|
49 | win_xpl_SOURCES=$(SRCS)
|
---|
50 |
|
---|
51 | win_xpl_LDADD=@XPSDK_LDFLAGS@
|
---|
52 | if TARGET_API_WIN64
|
---|
53 | win_xpl_LDADD+=-lXPLM_64
|
---|
54 | else
|
---|
55 | win_xpl_LDADD+=-lXPLM
|
---|
56 | endif
|
---|
57 | win_xpl_LDADD+=$(VSCPL_LIBS) $(LIBXPLCOMMON_LIBS)
|
---|
58 | endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.