Last change
on this file since 39:f9c840ac038d was 39:f9c840ac038d, checked in by István Váradi <ivaradi@…>, 12 years ago |
Added the possibility to distinguish between 32-bit and 64-bit Windows
|
File size:
1022 bytes
|
Line | |
---|
1 | INCLUDES=@XPSDK_INCLUDES@
|
---|
2 |
|
---|
3 | SUBDIRS=
|
---|
4 |
|
---|
5 | if TARGET_API_POSIX
|
---|
6 | SUBDIRS+=posix
|
---|
7 | AM_CPPFLAGS=-DLIN
|
---|
8 | AM_CXXFLAGS=-fPIC -fno-stack-protector
|
---|
9 | endif
|
---|
10 |
|
---|
11 | if TARGET_API_WIN32
|
---|
12 | SUBDIRS+=win32
|
---|
13 | AM_CPPFLAGS=-DIBM
|
---|
14 | AM_LDFLAGS=@XPSDK_LDFLAGS@ -no-undefined
|
---|
15 | if TARGET_API_WIN64
|
---|
16 | AM_LDFLAGS+=-lXPLM_64
|
---|
17 | else
|
---|
18 | AM_LDFLAGS+=-lXPLM
|
---|
19 | endif
|
---|
20 | endif
|
---|
21 |
|
---|
22 | lib_LTLIBRARIES=libxplcommon.la
|
---|
23 |
|
---|
24 | libxplcommon_la_SOURCES= \
|
---|
25 | PseudoRandom.cc \
|
---|
26 | BlockingStream.cc \
|
---|
27 | DataStream.cc \
|
---|
28 | Util.cc
|
---|
29 |
|
---|
30 | if TARGET_API_POSIX
|
---|
31 | libxplcommon_la_LIBADD=posix/libxplcommon_posix.la
|
---|
32 | endif
|
---|
33 |
|
---|
34 | if TARGET_API_WIN32
|
---|
35 | libxplcommon_la_LIBADD=win32/libxplcommon_win32.la
|
---|
36 | endif
|
---|
37 |
|
---|
38 | include_xplcommondir=$(includedir)/xplcommon
|
---|
39 | include_xplcommon_HEADERS=\
|
---|
40 | config.h \
|
---|
41 | types.h \
|
---|
42 | PseudoRandom.h \
|
---|
43 | Thread.h \
|
---|
44 | Mutex.h \
|
---|
45 | CondVar.h \
|
---|
46 | Failable.h \
|
---|
47 | Waiter.h \
|
---|
48 | WaitableEvent.h \
|
---|
49 | Buffer.h \
|
---|
50 | BufferedStream.h \
|
---|
51 | ReadingBuffer.h \
|
---|
52 | WritingBuffer.h \
|
---|
53 | LocalAcceptor.h \
|
---|
54 | LocalSocket.h \
|
---|
55 | LocalServerSocket.h \
|
---|
56 | LocalConnector.h \
|
---|
57 | LocalClientSocket.h \
|
---|
58 | BlockingStream.h \
|
---|
59 | DataStream.h \
|
---|
60 | Util.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.