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 ###############################################################################
8 # This Makefile was generated by the compiler
9 # of the TTCN-3 Test Executor version 1.4.pl3
10 # for Roland Gecse (ethrge@pauler) on Wed Aug 6 15:18:24 2003
13 # The following make commands are available:
14 # - make, make all Builds the executable test suite.
15 # - make compile Translates TTCN-3 and ASN.1 modules to C++.
16 # - make clean Removes all generated files.
17 # - make dep Creates/updates dependency list.
18 # - make archive Archives all source files.
21 # Set these variables...
24 # The path of your TTCN-3 Test Executor installation:
25 # Uncomment this line to override the environment variable.
28 # Your platform: (SOLARIS, LINUX, FREEBSD or WIN32)
32 CXX
= /mnt
/projects
/TTCN
/Tools
/gcc-3.2
.3-sol8
/bin
/g
++
34 # Flags for the C++ preprocessor (and makedepend as well):
35 CPPFLAGS
= -D
$(PLATFORM
) -I
$(TTCN3_DIR
)/include
37 # Flags for the C++ compiler:
40 # Flags for the linker:
43 # Flags for the TTCN-3 and ASN.1 compiler:
46 # Execution mode: (either ttcn3 or ttcn3-parallel)
47 TTCN3_LIB
= ttcn3
$(RT2_SUFFIX
)-parallel
$(DYNAMIC_SUFFIX
)
49 # The path of your OpenSSL installation:
50 # If you do not have your own one, leave it unchanged.
51 OPENSSL_DIR
= $(TTCN3_DIR
)
53 # Directory to store the archived source files:
54 # Note: you can set any directory except ./archive
55 ARCHIVE_DIR
= .
/backup
58 # You may change these variables. Add your files if necessary...
61 # The TTCN-3 modules needed for this project:
62 TTCN3_MODULES
= chinese.ttcn
64 # The ASN.1 modules needed for this project:
67 # C++ source & header files generated by TTCN-3 & ASN.1 compilers:
68 GENERATED_SOURCES
= chinese.
cc
69 GENERATED_HEADERS
= chinese.hh
71 GENERATED_SOURCES
:= $(foreach file
, $(GENERATED_SOURCES
:.
cc=), $(addprefix $(file
), .
cc _seq.
cc _set.
cc _seqof.
cc _setof.
cc _union.
cc))
74 # Source & header files of Test Ports and your other modules:
78 # All object files needed for the executable test suite:
81 # The name of the executable test suite:
85 # Do not modify these unless you know what you are doing...
93 # Rules for building the executable...
97 $(TARGET
): $(GENERATED_SOURCES
) $(USER_SOURCES
)
98 $(CXX
) $(CPPFLAGS
) $(CXXFLAGS
) $(LDFLAGS
) -o
$@
$^
-L
$(TTCN3_DIR
)/lib
-l
$(TTCN3_LIB
) \
99 -L
$(OPENSSL_DIR
)/lib
-lcrypto
$($(PLATFORM
)_LIBS
)
101 $(GENERATED_SOURCES
) $(GENERATED_HEADERS
): compile
102 @if
[ ! -f
$@
]; then
$(RM
) compile
; $(MAKE
) compile
; fi
104 compile
: $(TTCN3_MODULES
) $(ASN1_MODULES
)
105 $(TTCN3_DIR
)/bin
/compiler
$(COMPILER_FLAGS
) $(TTCN3_MODULES
) \
110 -$(RM
) $(TARGET
) $(OBJECTS
) $(GENERATED_HEADERS
) \
111 $(GENERATED_SOURCES
) compile
*.log
113 dep
: $(GENERATED_SOURCES
)
114 makedepend
$(CPPFLAGS
) $(USER_SOURCES
) $(GENERATED_SOURCES
)
117 mkdir
-p
$(ARCHIVE_DIR
)
118 tar -cvhf
- $(TTCN3_MODULES
) $(ASN1_MODULES
) \
119 $(USER_HEADERS
) $(USER_SOURCES
) Makefile \
120 | gzip
>$(ARCHIVE_DIR
)/$(TARGET
)-`date '+%y%m%d-%H%M'`.tgz
123 # Add your rules here if necessary...
This page took 0.03749 seconds and 5 git commands to generate.