Statistics
| Branch: | Revision:

root / Makefile.inc.in @ 34a5b297

History | View | Annotate | Download (3.65 KB)

1
#
2
# Do not edit this file -- it gets generated from Makefile.inc.in.
3
# Your changes will be lost the next time ./configure is run.
4
#
5
OMNETPP_PRODUCT = @OMNETPP_PRODUCT@
6
OMNETPP_RELEASE = @OMNETPP_RELEASE@
7
OMNETPP_VERSION = @OMNETPP_VERSION@
8
OMNETPP_BUILDID = @OMNETPP_BUILDID@
9
OMNETPP_EDITION = @OMNETPP_EDITION@
10

    
11
#
12
# Directories
13
#
14
OMNETPP_ROOT = @OMNETPP_ROOT@
15
OMNETPP_BIN_DIR = @OMNETPP_BIN_DIR@
16
OMNETPP_INCL_DIR = @OMNETPP_INCL_DIR@
17
OMNETPP_LIB_DIR = @OMNETPP_LIB_DIR@
18
OMNETPP_OUT_DIR = @OMNETPP_OUT_DIR@
19
OMNETPP_IMAGE_PATH = @OMNETPP_IMAGE_PATH@
20

    
21
OMNETPP_SRC_DIR = @OMNETPP_SRC_DIR@
22
OMNETPP_UI_DIR = @OMNETPP_UI_DIR@
23
OMNETPP_UTILS_DIR = @OMNETPP_UTILS_DIR@
24
OMNETPP_DOC_DIR = @OMNETPP_DOC_DIR@
25
OMNETPP_TEST_DIR = @OMNETPP_TEST_DIR@
26

    
27
#
28
# Make "debug" the default mode
29
#
30
ifndef MODE
31
MODE = debug
32
endif
33

    
34
#
35
# Configname determines where (in which subdirectory of out/)
36
# makemake-generated makefiles create object files and other
37
# build artifacts.
38
#
39
ifndef CONFIGNAME
40
CONFIGNAME = $(TOOLCHAIN_NAME)-$(MODE)
41
endif
42

    
43
#
44
# Various tools and options
45
#
46
ifeq ($(MODE),debug)
47
CFLAGS=$(CFLAGS_DEBUG)
48
D=d
49
else
50
CFLAGS=$(CFLAGS_RELEASE)
51
D=
52
endif
53

    
54
PERL = @PERL@
55
YACC = @YACC@
56
LEX = @LEX@
57
CC = @CC@
58
CXX = @CXX@
59
TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
60
CPPFLAGS = @CPPFLAGS@
61
CFLAGS_DEBUG = @CFLAGS_DEBUG@
62
CFLAGS_RELEASE = @CFLAGS_RELEASE@
63
LDFLAGS = @LDFLAGS@
64
WHOLE_ARCHIVE_ON = @WHOLE_ARCHIVE_ON@
65
WHOLE_ARCHIVE_OFF = @WHOLE_ARCHIVE_OFF@
66
MYPWD = @MYPWD@
67
MSGC = @MSGC@
68
NEDTOOL = @NEDTOOL@
69
AS = @AS@
70
AR = @AR@
71
RANLIB = @RANLIB@
72
SHLIB_LD = @SHLIB_LD@
73
DLLTOOL = @DLLTOOL@
74
STRIP = @STRIP@
75
WISH = @WISH@
76
MAKEDEPEND = @MAKEDEPEND@
77
LN = @LN@
78
MKPATH = @MKPATH@
79
SHLIB_POSTPROCESS = @SHLIB_POSTPROCESS@
80

    
81
A_LIB_SUFFIX = @A_LIB_SUFFIX@
82
SO_LIB_SUFFIX = @SO_LIB_SUFFIX@
83
DLL_LIB_SUFFIX = @DLL_LIB_SUFFIX@
84
JNI_LIB_SUFFIX = @JNI_LIB_SUFFIX@
85
EXE_SUFFIX = @EXE_SUFFIX@
86
LIB_PREFIX = @LIB_PREFIX@
87

    
88
ifeq ("$(SHARED_LIBS)", "")
89
SHARED_LIBS = @SHARED_LIBS@
90
endif
91
SHARED_LIB_SUFFIX = @SHARED_LIB_SUFFIX@
92

    
93
NO_TCL = @NO_TCL@
94
HAVE_DLOPEN = @HAVE_DLOPEN@
95
TK_CFLAGS = @TK_CFLAGS@
96
TK_LIBS = @TK_LIBS@
97
HAVE_BLT = @HAVE_BLT@
98
BLT_LIBS = @BLT_LIBS@
99
ZLIB_CFLAGS = @ZLIB_CFLAGS@
100
ZLIB_LIBS = @ZLIB_LIBS@
101
HAVE_MPI = @HAVE_MPI@
102
MPI_CFLAGS = @MPI_CFLAGS@
103
MPI_LIBS = @MPI_LIBS@
104
HAVE_PCAP = @HAVE_PCAP@
105
PCAP_CFLAGS = @PCAP_CFLAGS@
106
PCAP_LIBS = @PCAP_LIBS@
107
HAVE_PTHREAD = @HAVE_PTHREAD@
108
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
109
PTHREAD_LIBS = @PTHREAD_LIBS@
110

    
111
XMLPARSER = @XMLPARSER@
112
XML_CFLAGS = @XML_CFLAGS@
113
XML_LIBS = @XML_LIBS@
114

    
115
AKAROA_CFLAGS = @AKAROA_CFLAGS@
116
AKAROA_LIBS = @AKAROA_LIBS@
117

    
118
TKENV_IF_POSSIBLE = @TKENV_IF_POSSIBLE@
119
JNILIBS_IF_POSSIBLE = @JNILIBS_IF_POSSIBLE@
120

    
121
EMBED_TCL_CODE = @EMBED_TCL_CODE@
122
OMNETPP_TKENV_DIR = @OMNETPP_TKENV_DIR@
123

    
124
WITH_NETBUILDER = @WITH_NETBUILDER@
125
WITH_PARSIM = @WITH_PARSIM@
126

    
127
JAVA_CFLAGS = @JAVA_CFLAGS@
128
JAVA_LIBS = @JAVA_LIBS@
129
SWIG = @SWIG@
130
PLATFORM = @PLATFORM@
131

    
132
#
133
# Definitions for makemake-generated makefiles
134
#
135
ALL_ENV_LIBS = @ALL_ENV_LIBS@
136
CMDENV_LIBS = -u _cmdenv_lib -Wl,--no-as-needed -loppcmdenv$D -loppenvir$D
137
TKENV_LIBS = -u _tkenv_lib -Wl,--no-as-needed -lopptkenv$D -loppenvir$D -lopplayout$D
138
KERNEL_LIBS = -loppsim$D
139

    
140
ifeq ($(SHARED_LIBS),yes)
141
  LIB_SUFFIX =  $(SHARED_LIB_SUFFIX)
142
else
143
  LIB_SUFFIX = $(A_LIB_SUFFIX)
144
  # extra libs we are indirectly depend on. they are needed if we are building statically
145
  KERNEL_LIBS += $(XML_LIBS) -loppnedxml$D -loppcommon$D
146
  TKENV_LIBS += $(TK_LIBS) $(BLT_LIBS) $(ZLIB_LIBS)
147

    
148
  ifeq ($(WITH_PARSIM),yes)
149
    ifeq ($(HAVE_MPI),yes)
150
      KERNEL_LIBS += $(MPI_LIBS)
151
    endif
152
  endif
153

    
154
  # add the Carbon framework if we are building statically on Mac OS X, because Tcl/Tk needs it
155
  #FIXME why not in ./configure?
156
  ifeq ($(PLATFORM),macosx)
157
    TKENV_LIBS += -framework Carbon
158
  endif
159
endif
160

    
161
SYS_LIBS = @SYS_LIBS@
162