1 ###############################################################################
2 # Copyright (c) 2000-2014 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
7 ###############################################################################
9 include $(TOPDIR
)/Makefile.regression
12 .PHONY
: all clean dep run
14 TTCN3_LIB
= ttcn3
$(RT2_SUFFIX
)$(DYNAMIC_SUFFIX
)
16 ASN1_MODULES
= TtemplateRecAsn.asn
18 TTCN3_MODULES
= TtemplateRec.ttcn
20 GENERATED_SOURCES
= $(TTCN3_MODULES
:.ttcn
=.
cc) $(ASN1_MODULES
:.asn
=.
cc)
21 GENERATED_HEADERS
= $(GENERATED_SOURCES
:.
cc=.hh
)
24 GENERATED_SOURCES
:= $(foreach file
, $(GENERATED_SOURCES
:.
cc=), $(addprefix $(file
), .
cc _seq.
cc _set.
cc _seqof.
cc _setof.
cc _union.
cc))
27 OBJECTS
= $(GENERATED_SOURCES
:.
cc=.o
)
29 TARGET
= TtemplateRec
$(EXESUFFIX
)
33 $(TARGET
): $(GENERATED_SOURCES
) $(USER_SOURCES
)
34 $(CXX
) $(CPPFLAGS
) $(CXXFLAGS
) $(LDFLAGS
) -o
$@
$^
-L
$(TTCN3_DIR
)/lib
-l
$(TTCN3_LIB
) -L
$(OPENSSL_DIR
)/lib
-lcrypto
$($(PLATFORM
)_LIBS
)
36 $(GENERATED_SOURCES
) $(GENERATED_HEADERS
): compile
38 compile
: $(TTCN3_MODULES
) $(ASN1_MODULES
)
39 $(TTCN3_COMPILER
) $(COMPILER_FLAGS
) $^
42 -rm -f
$(TARGET
) $(OBJECTS
) $(GENERATED_HEADERS
) \
43 $(GENERATED_SOURCES
) *.log Makefile.bak
45 dep
: $(GENERATED_SOURCES
)
46 makedepend
$(CPPFLAGS
) $(GENERATED_SOURCES
)
48 run
: $(TARGET
) config.cfg
This page took 0.029454 seconds and 5 git commands to generate.