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