Statistics
| Branch: | Revision:

root / Makefile.inc.in @ 2fa11240

History | View | Annotate | Download (3.74 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
# Avoid undefined references in the nativelib
29
# library for the Java GUI
30
#
31
BUILDING_UILIBS=yes
32

    
33
#
34
# Make "debug" the default mode
35
#
36
ifndef MODE
37
MODE = debug
38
endif
39

    
40
#
41
# Configname determines where (in which subdirectory of out/)
42
# makemake-generated makefiles create object files and other
43
# build artifacts.
44
#
45
ifndef CONFIGNAME
46
CONFIGNAME = $(TOOLCHAIN_NAME)-$(MODE)
47
endif
48

    
49
#
50
# Various tools and options
51
#
52
ifeq ($(MODE),debug)
53
CFLAGS=$(CFLAGS_DEBUG)
54
D=d
55
else
56
CFLAGS=$(CFLAGS_RELEASE)
57
D=
58
endif
59

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

    
87
A_LIB_SUFFIX = @A_LIB_SUFFIX@
88
SO_LIB_SUFFIX = @SO_LIB_SUFFIX@
89
DLL_LIB_SUFFIX = @DLL_LIB_SUFFIX@
90
JNI_LIB_SUFFIX = @JNI_LIB_SUFFIX@
91
EXE_SUFFIX = @EXE_SUFFIX@
92
LIB_PREFIX = @LIB_PREFIX@
93

    
94
ifeq ("$(SHARED_LIBS)", "")
95
SHARED_LIBS = @SHARED_LIBS@
96
endif
97
SHARED_LIB_SUFFIX = @SHARED_LIB_SUFFIX@
98

    
99
NO_TCL = @NO_TCL@
100
HAVE_DLOPEN = @HAVE_DLOPEN@
101
TK_CFLAGS = @TK_CFLAGS@
102
TK_LIBS = @TK_LIBS@
103
HAVE_BLT = @HAVE_BLT@
104
BLT_LIBS = @BLT_LIBS@
105
ZLIB_CFLAGS = @ZLIB_CFLAGS@
106
ZLIB_LIBS = @ZLIB_LIBS@
107
HAVE_MPI = @HAVE_MPI@
108
MPI_CFLAGS = @MPI_CFLAGS@
109
MPI_LIBS = @MPI_LIBS@
110
HAVE_PCAP = @HAVE_PCAP@
111
PCAP_CFLAGS = @PCAP_CFLAGS@
112
PCAP_LIBS = @PCAP_LIBS@
113
HAVE_PTHREAD = @HAVE_PTHREAD@
114
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
115
PTHREAD_LIBS = @PTHREAD_LIBS@
116

    
117
XMLPARSER = @XMLPARSER@
118
XML_CFLAGS = @XML_CFLAGS@
119
XML_LIBS = @XML_LIBS@
120

    
121
AKAROA_CFLAGS = @AKAROA_CFLAGS@
122
AKAROA_LIBS = @AKAROA_LIBS@
123

    
124
TKENV_IF_POSSIBLE = @TKENV_IF_POSSIBLE@
125
JNILIBS_IF_POSSIBLE = @JNILIBS_IF_POSSIBLE@
126

    
127
EMBED_TCL_CODE = @EMBED_TCL_CODE@
128
OMNETPP_TKENV_DIR = @OMNETPP_TKENV_DIR@
129

    
130
WITH_NETBUILDER = @WITH_NETBUILDER@
131
WITH_PARSIM = @WITH_PARSIM@
132

    
133
JAVA_CFLAGS = @JAVA_CFLAGS@
134
JAVA_LIBS = @JAVA_LIBS@
135
SWIG = @SWIG@
136
PLATFORM = @PLATFORM@
137

    
138
#
139
# Definitions for makemake-generated makefiles
140
#
141
ALL_ENV_LIBS = @ALL_ENV_LIBS@
142
CMDENV_LIBS = -u _cmdenv_lib -Wl,--no-as-needed -loppcmdenv$D -loppenvir$D
143
TKENV_LIBS = -u _tkenv_lib -Wl,--no-as-needed -lopptkenv$D -loppenvir$D -lopplayout$D
144
KERNEL_LIBS = -loppsim$D
145

    
146
ifeq ($(SHARED_LIBS),yes)
147
  LIB_SUFFIX =  $(SHARED_LIB_SUFFIX)
148
else
149
  LIB_SUFFIX = $(A_LIB_SUFFIX)
150
  # extra libs we are indirectly depend on. they are needed if we are building statically
151
  KERNEL_LIBS += $(XML_LIBS) -loppnedxml$D -loppcommon$D
152
  TKENV_LIBS += $(TK_LIBS) $(BLT_LIBS) $(ZLIB_LIBS)
153

    
154
  ifeq ($(WITH_PARSIM),yes)
155
    ifeq ($(HAVE_MPI),yes)
156
      KERNEL_LIBS += $(MPI_LIBS)
157
    endif
158
  endif
159

    
160
  # add the Carbon framework if we are building statically on Mac OS X, because Tcl/Tk needs it
161
  #FIXME why not in ./configure?
162
  ifeq ($(PLATFORM),macosx)
163
    TKENV_LIBS += -framework Carbon
164
  endif
165
endif
166

    
167
SYS_LIBS = @SYS_LIBS@
168