4
# Copyright Ericsson AB 2010. 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
23
include $(ERL_TOP)/make/$(TARGET)/otp.mk
25
# ----------------------------------------------------
27
# ----------------------------------------------------
33
# ----------------------------------------------------
34
# Release directory specification
35
# ----------------------------------------------------
36
RELSYSDIR = $(RELEASE_PATH)/lib/inets-$(VSN)
37
EXAMPLE_RELSYSDIR = $(RELSYSDIR)/examples
38
HDLT_RELSYSDIR = $(EXAMPLE_RELSYSDIR)/httpd_load_test
41
# ----------------------------------------------------
43
# ----------------------------------------------------
47
ERL_FILES = $(MODULES:%=%.erl)
49
SOURCE = $(ERL_FILES) $(INTERNAL_HRL_FILES)
52
$(ERL_FILES:%.erl=$(EBIN)/%.$(EMULATOR))
55
ERL_COMPILE_FLAGS += -Ddebug -W
59
# ----------------------------------------------------
61
# ----------------------------------------------------
63
include ../../src/inets_app/inets.mk
65
ERL_COMPILE_FLAGS += \
67
$(INETS_ERL_COMPILE_FLAGS) \
71
# ----------------------------------------------------
72
# Special Build Targets
73
# ----------------------------------------------------
76
# ----------------------------------------------------
78
# ----------------------------------------------------
80
@${MAKE} TYPE=debug opt
91
# ----------------------------------------------------
93
# ----------------------------------------------------
94
include $(ERL_TOP)/make/otp_release_targets.mk
98
$(INSTALL_DIR) $(EXAMPLE_RELSYSDIR)
99
$(INSTALL_DIR) $(HDLT_RELSYSDIR)
100
$(INSTALL_DATA) $(SCRIPT_SKELETONS) $(HDLT_RELSYSDIR)
101
$(INSTALL_DATA) $(CONF_SKELETONS) $(HDLT_RELSYSDIR)
102
$(INSTALL_DATA) $(CERT_FILES) $(HDLT_RELSYSDIR)
103
$(INSTALL_DATA) $(TARGET_FILES) $(HDLT_RELSYSDIR)
104
$(INSTALL_DATA) $(ERL_FILES) $(HDLT_RELSYSDIR)
110
# ----------------------------------------------------
111
# Include dependencies
112
# ----------------------------------------------------
114
megaco_codec_transform.$(EMULATOR): megaco_codec_transform.erl
116
megaco_codec_meas.$(EMULATOR): megaco_codec_meas.erl
118
megaco_codec_mstone1.$(EMULATOR): megaco_codec_mstone1.erl
120
megaco_codec_mstone2.$(EMULATOR): megaco_codec_mstone2.erl
122
megaco_codec_mstone_lib.$(EMULATOR): megaco_codec_mstone_lib.erl