1
# ``The contents of this file are subject to the Erlang Public License,
2
# Version 1.1, (the "License"); you may not use this file except in
3
# compliance with the License. You should have received a copy of the
4
# Erlang Public License along with this software. If not, it can be
5
# retrieved via the world wide web at http://www.erlang.org/.
7
# Software distributed under the License is distributed on an "AS IS"
8
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
9
# the License for the specific language governing rights and limitations
12
# The Initial Developer of the Original Code is Ericsson Utvecklings AB.
13
# Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
14
# AB. All Rights Reserved.''
18
include $(ERL_TOP)/make/target.mk
19
include $(ERL_TOP)/make/$(TARGET)/otp.mk
23
crashdump_viewer_SUITE \
28
ERL_FILES= $(MODULES:%=%.erl)
30
TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
31
INSTALL_PROGS= $(TARGET_FILES)
34
COVERFILE=observer.cover
36
# ----------------------------------------------------
37
# Release directory specification
38
# ----------------------------------------------------
39
RELSYSDIR = $(RELEASE_PATH)/observer_test
41
# ----------------------------------------------------
43
# ----------------------------------------------------
44
ERL_MAKE_FLAGS += -pa $(ERL_TOP)/lib/test_server/ebin
45
ERL_COMPILE_FLAGS += -I$(ERL_TOP)/lib/test_server/include
49
# ----------------------------------------------------
51
# ----------------------------------------------------
52
.PHONY: make_emakefile
55
$(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) \
56
$(MODULES) > $(EMAKEFILE)
58
tests debug opt: make_emakefile
59
cd $(ERL_TOP)/lib/test_server/src && \
60
$(MAKE) ../ebin/test_server_line.beam
61
erl $(ERL_MAKE_FLAGS) -make
70
# ----------------------------------------------------
72
# ----------------------------------------------------
74
# ----------------------------------------------------
76
# ----------------------------------------------------
77
include $(ERL_TOP)/make/otp_release_targets.mk
81
release_tests_spec: make_emakefile
82
$(INSTALL_DIR) $(RELSYSDIR)
83
$(INSTALL_DATA) observer.spec $(EMAKEFILE) \
84
$(COVERFILE) $(ERL_FILES) \
86
@tar cf - *_SUITE_data | (cd $(RELSYSDIR); tar xf -)