Use LTTngUSTLogger logger plugin in logtest regression test
[deliverable/titan.core.git] / Makefile
CommitLineData
d44e3c4f 1##############################################################################
2# Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
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
d44e3c4f 7#
8# Contributors:
c902f2cc 9#
10# Baji, Laszlo
11# Balasko, Jeno
12# Delic, Adam
13# Forstner, Matyas
14# Godar, Marton
15# Horvath, Gabriella
16# Koppany, Csaba
17# Kovacs, Ferenc
18# Kovacs, Zoltan
19# Kremer, Peter
20# Lovassy, Arpad
21# Ormandi, Matyas
dee86a3f 22# Pilisi, Gergely
c902f2cc 23# Raduly, Csaba
24# Szabados, Kristof
25# Szabo, Janos Zoltan – initial implementation
26# Torpis, Zsolt
27# Zalanyi, Balazs Andor
d44e3c4f 28#
29##############################################################################
c902f2cc 30# Main Makefile for the TTCN-3 Test Executor
31# For use with GNU make only.
970ed795 32
c902f2cc 33TOP := .
34include $(TOP)/Makefile.cfg
970ed795 35
c902f2cc 36# Dirlist for "all", "clean", "distclean"
37ALLDIRS := common compiler2 repgen xsdconvert
970ed795 38
c902f2cc 39ifndef MINGW
f08ff9ca 40 ALLDIRS += mctr2 core core2 loggerplugins
c902f2cc 41endif
970ed795 42
c902f2cc 43# JNI not supported on Cygwin or Mingw
44ifneq ($(PLATFORM), WIN32)
45 ifeq ($(JNI), yes)
46 ALLDIRS += JNI
47 endif
48endif
970ed795 49
c902f2cc 50#ALLDIRS += ctags
970ed795 51
c902f2cc 52# Dirlist for "dep", "tags"
53DEPDIRS := $(ALLDIRS)
970ed795 54
c902f2cc 55ALLDIRS += usrguide
970ed795 56
c902f2cc 57# Dirlist for "install"
58INSTALLDIRS := $(ALLDIRS)
970ed795 59
c902f2cc 60INSTALLDIRS += etc help hello
61
62###########################################################
63
64all run clean distclean:
65 @for dir in $(ALLDIRS); do \
66 $(MAKE) -C $$dir $@ || exit; \
67 done
68
69dep tags:
70 @for dir in $(DEPDIRS); do \
71 $(MAKE) -C $$dir $@ || exit; \
72 done
73
74install:
75 if test -h $(TTCN3_DIR); then \
76 echo $(TTCN3_DIR) is a symlink, you cannot be serious; exit 1; fi
77ifdef MINGW
78 $(info cross your fingers...)
79endif
80 -rm -rf $(TTCN3_DIR)
81ifeq ($(INCLUDE_EXTERNAL_LIBS), yes)
82 mkdir -p $(TTCN3_DIR)/lib
83 cp -d $(OPENSSL_DIR)/lib/libcrypto.so* $(TTCN3_DIR)/lib
84 cp -d $(XMLDIR)/lib/libxml2.so* $(TTCN3_DIR)/lib
85endif
86 @for dir in $(INSTALLDIRS); do \
87 $(MAKE) -C $$dir $@ || exit; \
88 done
89ifeq ($(LICENSING), yes)
90 mkdir -p $(ETCDIR)/licensegen
91 cp licensegen/license.dat $(ETCDIR)/license
92endif
93 chmod -R +r,go-w $(TTCN3_DIR)
94
95# check is the standard GNU target for running tests
96# (avoids clash with shell builtin 'test')
97check:
dee86a3f 98 compiler2/compiler -v
c902f2cc 99
100ifneq (,$(findstring prereq,$(MAKECMDGOALS)))
101# Export all variables into the environment for the prereq target
102export
103endif
104
105
106# no need to include Makefile.genrules
107
108.PHONY: all clean distclean dep tags install psi dox check confess prereq
109
110
111Makefile.personal: SHELL:=/bin/bash
112Makefile.personal:
113 if [ -f $(TOP)/makefiles/$@.$${HOSTNAME:=$${COMPUTERNAME}} ]; then ln -s $(TOP)/makefiles/$@.$${HOSTNAME} $@; else touch $@; fi
This page took 0.030261 seconds and 5 git commands to generate.