close Warning: Can't use blame annotator:
No changeset 2235 in the repository

source: trash/pingpong/Makefile.am@ 4738

Last change on this file since 4738 was 4738, checked in by Christoph Mayer, 15 years ago

relay infos

File size: 1.0 KB
RevLine 
1# sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2
3if OMNET
4lib_LTLIBRARIES = libpingpong.la
5else
6bin_PROGRAMS = pingpong
7endif
8
9# compiler flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10
11AM_CPPFLAGS = -DLINUX -D_LINUX -I../../source -D_REENTRANT
12AM_CPPFLAGS += $(BOOST_CPPFLAGS)
13
14if DEBUG
15AM_CPPFLAGS += -ggdb -DDEBUG -D_DEBUG -O0
16endif
17
18if PROFILING
19AM_CPPFLAGS += -pg
20endif
21
22if OMNET
23AM_CPPFLAGS += -fPIC -DUNDERLAY_OMNET
24endif
25
26# linker flags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27
28AM_LDFLAGS = -L../../source/ariba -lariba
29
30if PROFILING
31AM_LDFLAGS += -pg
32endif
33
34if OMNET
35AM_LDFLAGS += -shared -rdynamic
36endif
37
38# sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39
40if OMNET
41
42libpingpong_la_SOURCES = \
43 PingPong.cpp \
44 PingPong.h \
45 PingPongMessage.cpp \
46 PingPongMessage.h
47
48else
49
50#needed to fix autotools bug
51pingpong_CPPFLAGS = $(AM_CPPFLAGS)
52
53pingpong_SOURCES = \
54 PingPong.cpp \
55 PingPong.h \
56 PingPongMessage.cpp \
57 PingPongMessage.h \
58 main.cpp
59
60endif
Note: See TracBrowser for help on using the repository browser.