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