~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to erts/epmd/test/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# %CopyrightBegin%
3
 
4
 
# Copyright Ericsson AB 1998-2009. All Rights Reserved.
5
 
 
3
#
 
4
# Copyright Ericsson AB 1998-2010. All Rights Reserved.
 
5
#
6
6
# The contents of this file are subject to the Erlang Public License,
7
7
# Version 1.1, (the "License"); you may not use this file except in
8
8
# compliance with the License. You should have received a copy of the
9
9
# Erlang Public License along with this software. If not, it can be
10
10
# retrieved online at http://www.erlang.org/.
11
 
 
11
#
12
12
# Software distributed under the License is distributed on an "AS IS"
13
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
# the License for the specific language governing rights and limitations
15
15
# under the License.
16
 
 
16
#
17
17
# %CopyrightEnd%
18
18
#
19
19
include $(ERL_TOP)/make/target.mk
34
34
 
35
35
TARGET_FILES = $(MODULES:%=$(EBIN)/%.$(EMULATOR))
36
36
 
 
37
EMAKEFILE=Emakefile
 
38
 
37
39
# ----------------------------------------------------
38
40
# Release directory specification
39
41
# ----------------------------------------------------
43
45
# FLAGS
44
46
# ----------------------------------------------------
45
47
 
46
 
ERL_COMPILE_FLAGS += -I$(ERL_TOP)/lib/test_server/include \
47
 
                     -I$(ERL_TOP)/lib/kernel/src/         \
48
 
                     $(EPMD_FLAGS)
 
48
ERL_COMPILE_FLAGS += $(EPMD_FLAGS)
49
49
 
50
50
# ----------------------------------------------------
51
51
# Targets
52
52
# ----------------------------------------------------
53
53
 
54
 
tests debug opt: $(TARGET_FILES)
 
54
tests debug opt: $(EMAKEFILE)
 
55
 
 
56
$(EMAKEFILE): Makefile $(ERL_FILES)
 
57
        $(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) \
 
58
        -o$(EBIN) $(MODULES) > $(EMAKEFILE)
55
59
 
56
60
clean:
57
61
        rm -f $(TARGET_FILES)
69
73
release_tests_spec: opt
70
74
        $(INSTALL_DIR) $(RELEPMDDIR)
71
75
        $(INSTALL_DATA) epmd.spec epmd.spec.vxworks $(ERL_FILES) \
72
 
                $(TARGET_FILES) $(RELEPMDDIR)
 
76
                $(EMAKEFILE) $(RELEPMDDIR)
73
77
        chmod -f -R u+w $(RELEPMDDIR)
74
78
 
75
79
release_docs_spec: