~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/runtime_tools/test/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
include $(ERL_TOP)/make/target.mk
 
3
include $(ERL_TOP)/make/$(TARGET)/otp.mk
 
4
 
 
5
MODULES =  \
 
6
        runtime_tools_SUITE \
 
7
        inviso_testmodule1_foo \
 
8
        inviso_SUITE \
 
9
        dbg_SUITE \
 
10
        erts_alloc_config_SUITE
 
11
 
 
12
ERL_FILES= $(MODULES:%=%.erl)
 
13
 
 
14
TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR))
 
15
INSTALL_PROGS= $(TARGET_FILES)
 
16
 
 
17
EMAKEFILE=Emakefile
 
18
 
 
19
# ----------------------------------------------------
 
20
# Release directory specification
 
21
# ----------------------------------------------------
 
22
RELSYSDIR = $(RELEASE_PATH)/runtime_tools_test
 
23
 
 
24
# ----------------------------------------------------
 
25
# FLAGS
 
26
# ----------------------------------------------------
 
27
 
 
28
ERL_MAKE_FLAGS +=
 
29
ERL_COMPILE_FLAGS += -I$(ERL_TOP)/lib/test_server/include
 
30
 
 
31
EBIN = .
 
32
 
 
33
# ----------------------------------------------------
 
34
# Targets
 
35
# ----------------------------------------------------
 
36
 
 
37
make_emakefile:
 
38
        $(ERL_TOP)/make/make_emakefile $(ERL_COMPILE_FLAGS) -o$(EBIN) $(MODULES)\
 
39
        > $(EMAKEFILE)
 
40
 
 
41
tests debug opt: make_emakefile
 
42
        erl $(ERL_MAKE_FLAGS) -make
 
43
 
 
44
clean:
 
45
        rm -f $(EMAKEFILE)
 
46
        rm -f $(TARGET_FILES)
 
47
        rm -f core
 
48
 
 
49
docs:
 
50
 
 
51
# ----------------------------------------------------
 
52
# Release Target
 
53
# ----------------------------------------------------
 
54
include $(ERL_TOP)/make/otp_release_targets.mk
 
55
 
 
56
release_spec: opt
 
57
 
 
58
release_tests_spec: make_emakefile
 
59
        $(INSTALL_DIR) $(RELSYSDIR)
 
60
        $(INSTALL_DATA) runtime_tools.spec runtime_tools.cover $(ERL_FILES) $(RELSYSDIR)
 
61
        $(INSTALL_DATA) $(EMAKEFILE) runtime_tools.cover $(RELSYSDIR)
 
62
        chmod -f -R u+w $(RELSYSDIR)
 
63
        @tar cf - *_SUITE_data | (cd $(RELSYSDIR); tar xf -)
 
64
 
 
65
release_docs_spec: