971d9bf927f8a9f81943376301eaf9ab317ce2d8
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:10:39 2003
19 # The following make commands are available:
20 # - make, make all Builds the executable test suite.
21 # - make compile Translates TTCN-3 and ASN.1 modules to C++.
22 # - make clean Removes all generated files.
23 # - make dep Creates/updates dependency list.
24 # - make archive Archives all source files.
27 # Set these variables...
30 # The path of your TTCN-3 Test Executor installation:
31 # Uncomment this line to override the environment variable.
34 # Your platform: (SOLARIS, LINUX, FREEBSD or WIN32)
38 CXX
= /mnt
/projects
/TTCN
/Tools
/gcc-3.2
.3-sol8
/bin
/g
++
40 # Flags for the C++ preprocessor (and makedepend as well):
41 CPPFLAGS
= -D
$(PLATFORM
) -I
$(TTCN3_DIR
)/include
43 # Flags for the C++ compiler:
46 # Flags for the linker:
49 # Flags for the TTCN-3 and ASN.1 compiler:
52 # Execution mode: (either ttcn3 or ttcn3-parallel)
53 TTCN3_LIB
= ttcn3
$(RT2_SUFFIX
)$(DYNAMIC_SUFFIX
)
55 # The path of your OpenSSL installation:
56 # If you do not have your own one, leave it unchanged.
57 OPENSSL_DIR
= $(TTCN3_DIR
)
59 # Directory to store the archived source files:
60 # Note: you can set any directory except ./archive
61 ARCHIVE_DIR
= .
/backup
64 # You may change these variables. Add your files if necessary...
67 # The TTCN-3 modules needed for this project:
68 TTCN3_MODULES
= Fibonacci.ttcn
70 # The ASN.1 modules needed for this project:
73 # C++ source & header files generated by TTCN-3 & ASN.1 compilers:
74 GENERATED_SOURCES
= Fibonacci.
cc
75 GENERATED_HEADERS
= Fibonacci.hh
77 GENERATED_SOURCES
:= $(foreach file
, $(GENERATED_SOURCES
:.
cc=), $(addprefix $(file
), .
cc _seq.
cc _set.
cc _seqof.
cc _setof.
cc _union.
cc))
80 # Source & header files of Test Ports and your other modules:
84 # All object files needed for the executable test suite:
87 # The name of the executable test suite:
91 # Do not modify these unless you know what you are doing...
99 # Rules for building the executable...
103 $(TARGET
): $(GENERATED_SOURCES
) $(USER_SOURCES
)
104 $(CXX
) $(CPPFLAGS
) $(CXXFLAGS
) $(LDFLAGS
) -o
$@
$^
-L
$(TTCN3_DIR
)/lib
-l
$(TTCN3_LIB
) \
105 -L
$(OPENSSL_DIR
)/lib
-lcrypto
$($(PLATFORM
)_LIBS
)
107 $(GENERATED_SOURCES
) $(GENERATED_HEADERS
): compile
108 @if
[ ! -f
$@
]; then
$(RM
) compile
; $(MAKE
) compile
; fi
110 compile
: $(TTCN3_MODULES
) $(ASN1_MODULES
)
111 $(TTCN3_DIR
)/bin
/compiler
$(COMPILER_FLAGS
) $(TTCN3_MODULES
) \
116 -$(RM
) $(TARGET
) $(OBJECTS
) $(GENERATED_HEADERS
) \
117 $(GENERATED_SOURCES
) compile
*.log
119 dep
: $(GENERATED_SOURCES
)
120 makedepend
$(CPPFLAGS
) $(USER_SOURCES
) $(GENERATED_SOURCES
)
123 mkdir
-p
$(ARCHIVE_DIR
)
124 tar -cvhf
- $(TTCN3_MODULES
) $(ASN1_MODULES
) \
125 $(USER_HEADERS
) $(USER_SOURCES
) Makefile \
126 | gzip
>$(ARCHIVE_DIR
)/$(TARGET
)-`date '+%y%m%d-%H%M'`.tgz
129 # Add your rules here if necessary...
This page took 0.031907 seconds and 4 git commands to generate.