4
# Copyright Ericsson AB 1997-2009. All Rights Reserved.
6
# The contents of this file are subject to the Erlang Public License,
7
# Version 1.1, (the "License"); you may not use this file except in
8
# compliance with the License. You should have received a copy of the
9
# Erlang Public License along with this software. If not, it can be
10
# retrieved online at http://www.erlang.org/.
12
# Software distributed under the License is distributed on an "AS IS"
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
# the License for the specific language governing rights and limitations
20
include @erl_interface_mk_include@@DS@eidefs.mk
23
CC = ..@DS@all_SUITE_data@DS@gccifier@exe@ -CC"$(CC0)"
25
LIBPATH = @erl_interface_libpath@
26
LIBERL = $(LIBPATH)/@erl_interface_lib@
27
LIBEI = $(LIBPATH)/@erl_interface_eilib@
28
LIBFLAGS = ../all_SUITE_data/runner@obj@ \
29
$(LIBERL) $(LIBEI) @erl_interface_sock_libs@ @LIBS@ \
30
@erl_interface_threadlib@
31
CFLAGS = @EI_CFLAGS@ $(THR_DEFS) -I@erl_interface_include@ -I../all_SUITE_data
32
ETERM_OBJS = eterm_test@obj@ eterm_test_decl@obj@
33
CNODE_OBJS = cnode@obj@
34
PRINT_OBJS = print_term@obj@
35
EXE_FILES = eterm_test@exe@ print_term@exe@ cnode@exe@
39
eterm_test@exe@: $(ETERM_OBJS) $(LIBERL) $(LIBEI)
40
$(LD) @CROSSLDFLAGS@ -o $@ $(ETERM_OBJS) $(LIBFLAGS)
42
cnode@exe@: $(CNODE_OBJS) $(LIBERL) $(LIBEI)
43
$(LD) @CROSSLDFLAGS@ -o $@ $(CNODE_OBJS) $(LIBFLAGS)
45
print_term@exe@: print_term@obj@ $(LIBERL) $(LIBEI)
46
$(LD) @CROSSLDFLAGS@ -o $@ $(PRINT_OBJS) $(LIBFLAGS)
49
$(RM) $(ETERM_OBJS) $(CNODE_OBJS) $(PRINT_OBJS)