e445fc98e9f59ac4cce8f058b437bca3a308fc17
1 ##############################################################################
2 # Copyright (c) 2000-2016 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
14 ##############################################################################
16 include ..
/..
/Makefile.regression
18 # Flags for the C++ preprocessor (and makedepend as well):
19 #CPPFLAGS += -D$(PLATFORM) -I$(TTCN3_DIR)/include
21 # Flags for the C++ compiler:
24 # Flags for the linker:
27 # Flags for the TTCN-3 and ASN.1 compiler:
30 # Execution mode: (either ttcn3 or ttcn3-parallel)
31 TTCN3_LIB
= ttcn3
$(RT2_SUFFIX
)-parallel
$(DYNAMIC_SUFFIX
)
35 # You may change these variables. Add your files if necessary...
38 # The TTCN-3 modules needed for this project:
39 TTCN3_MODULES
= comptest.ttcn
41 # The ASN.1 modules needed for this project:
44 # C++ source & header files generated by TTCN-3 & ASN.1 compilers:
45 GENERATED_SOURCES
= comptest.
cc
46 GENERATED_HEADERS
= comptest.hh
48 GENERATED_SOURCES
:= $(foreach file
, $(GENERATED_SOURCES
:.
cc=), $(addprefix $(file
), .
cc _seq.
cc _set.
cc _seqof.
cc _setof.
cc _union.
cc))
51 # Source & header files of Test Ports and your other modules:
55 # All object files needed for the executable test suite:
58 # The name of the executable test suite:
62 # Do not modify these unless you know what you are doing...
64 #SOLARIS_LIBS = -lxnet
70 # Rules for building the executable...
74 $(TARGET
): $(GENERATED_SOURCES
) $(USER_SOURCES
)
75 $(CXX
) $(CPPFLAGS
) $(CXXFLAGS
) $(LDFLAGS
) -o
$@
$^
-L
$(TTCN3_DIR
)/lib
-l
$(TTCN3_LIB
) \
76 -L
$(OPENSSL_DIR
)/lib
-lcrypto
$($(PLATFORM
)_LIBS
)
78 $(GENERATED_SOURCES
) $(GENERATED_HEADERS
): compile
79 @if
[ ! -f
$@
]; then
$(RM
) compile
; $(MAKE
) compile
; fi
81 compile
: $(TTCN3_MODULES
) $(ASN1_MODULES
)
82 $(TTCN3_DIR
)/bin
/compiler
$(COMPILER_FLAGS
) $(TTCN3_MODULES
) \
87 -$(RM
) $(TARGET
) $(OBJECTS
) $(GENERATED_HEADERS
) \
88 $(GENERATED_SOURCES
) compile
*.log
92 # Add your rules here if necessary...
This page took 0.035569 seconds and 4 git commands to generate.