4
# Copyright Ericsson AB 1998-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
19
include $(ERL_TOP)/make/target.mk
21
include $(ERL_TOP)/make/$(TARGET)/otp.mk
27
# ----------------------------------------------------
29
# ----------------------------------------------------
33
ERL_FILES= $(MODULES:%=%.erl)
35
TARGET_FILES = $(MODULES:%=$(EBIN)/%.$(EMULATOR))
37
# ----------------------------------------------------
38
# Release directory specification
39
# ----------------------------------------------------
40
RELEPMDDIR = $(RELEASE_PATH)/epmd_test
42
# ----------------------------------------------------
44
# ----------------------------------------------------
46
ERL_COMPILE_FLAGS += -I$(ERL_TOP)/lib/test_server/include \
47
-I$(ERL_TOP)/lib/kernel/src/ \
50
# ----------------------------------------------------
52
# ----------------------------------------------------
54
tests debug opt: $(TARGET_FILES)
62
# ----------------------------------------------------
64
# ----------------------------------------------------
65
include $(ERL_TOP)/make/otp_release_targets.mk
69
release_tests_spec: opt
70
$(INSTALL_DIR) $(RELEPMDDIR)
71
$(INSTALL_DATA) epmd.spec epmd.spec.vxworks $(ERL_FILES) \
72
$(TARGET_FILES) $(RELEPMDDIR)
73
chmod -f -R u+w $(RELEPMDDIR)