source: vscpl/src/hu/varadiistvan/scpl/Makefile.am

Last change on this file was 36:f9699d5dafe2, checked in by István Váradi <ivaradi@…>, 23 months ago

The socket library is linked to the Windows library

File size: 730 bytes
Line 
1SUBDIRS=io
2
3if TARGET_API_POSIX
4SUBDIRS+=_posix
5AM_LDFLAGS=-lpthread
6endif
7
8if TARGET_API_WIN32
9SUBDIRS+=_win32
10AM_LDFLAGS=-no-undefined -lws2_32
11endif
12
13lib_LTLIBRARIES=libvscpl.la
14
15libvscpl_la_SOURCES=\
16 Log.cc \
17 PseudoRandom.cc
18
19libvscpl_la_LIBADD=
20
21if TARGET_API_POSIX
22libvscpl_la_LIBADD+=_posix/libvscpl_posix.la
23endif
24
25if TARGET_API_WIN32
26libvscpl_la_LIBADD+=_win32/libvscpl_win32.la
27endif
28
29libvscpl_la_LIBADD+=io/libvscpl_io.la
30
31include_vscpldir=$(includedir)/hu/varadiistvan/scpl
32include_vscpl_HEADERS=\
33 types.h \
34 Log.h \
35 Thread.h \
36 Mutex.h \
37 CondVar.h \
38 PseudoRandom.h
39nodist_include_vscpl_HEADERS=config.h
Note: See TracBrowser for help on using the repository browser.