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

« back to all changes in this revision

Viewing changes to lib/dialyzer/test/r9c_tests_SUITE_data/src/mnesia/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
# ``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/.
 
6
 
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
 
10
# under the License.
 
11
 
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.''
 
15
 
16
#     $Id: Makefile,v 1.1 2008/12/17 09:53:37 mikpe Exp $
 
17
#
 
18
include $(ERL_TOP)/make/target.mk
 
19
 
 
20
ifeq ($(TYPE),debug)
 
21
ERL_COMPILE_FLAGS += -Ddebug -W
 
22
endif
 
23
 
 
24
include $(ERL_TOP)/make/$(TARGET)/otp.mk
 
25
 
 
26
# ----------------------------------------------------
 
27
# Application version
 
28
# ----------------------------------------------------
 
29
include ../vsn.mk
 
30
VSN=$(MNESIA_VSN)
 
31
 
 
32
# ----------------------------------------------------
 
33
# Release directory specification
 
34
# ----------------------------------------------------
 
35
RELSYSDIR = $(RELEASE_PATH)/lib/mnesia-$(VSN)
 
36
 
 
37
# ----------------------------------------------------
 
38
# Target Specs
 
39
# ----------------------------------------------------
 
40
MODULES= \
 
41
        mnesia \
 
42
        mnesia_backup \
 
43
        mnesia_bup \
 
44
        mnesia_checkpoint \
 
45
        mnesia_checkpoint_sup \
 
46
        mnesia_controller \
 
47
        mnesia_dumper\
 
48
        mnesia_event \
 
49
        mnesia_frag \
 
50
        mnesia_frag_hash \
 
51
        mnesia_frag_old_hash \
 
52
        mnesia_index \
 
53
        mnesia_kernel_sup \
 
54
        mnesia_late_loader \
 
55
        mnesia_lib\
 
56
        mnesia_loader \
 
57
        mnesia_locker \
 
58
        mnesia_log \
 
59
        mnesia_monitor \
 
60
        mnesia_recover \
 
61
        mnesia_registry \
 
62
        mnesia_schema\
 
63
        mnesia_snmp_hook \
 
64
        mnesia_snmp_sup \
 
65
        mnesia_subscr \
 
66
        mnesia_sup \
 
67
        mnesia_sp  \
 
68
        mnesia_text \
 
69
        mnesia_tm
 
70
 
 
71
HRL_FILES= mnesia.hrl
 
72
 
 
73
ERL_FILES= $(MODULES:%=%.erl)
 
74
 
 
75
TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) $(APP_TARGET) $(APPUP_TARGET)
 
76
 
 
77
APP_FILE= mnesia.app
 
78
 
 
79
APP_SRC= $(APP_FILE).src
 
80
APP_TARGET= $(EBIN)/$(APP_FILE)
 
81
 
 
82
APPUP_FILE= mnesia.appup
 
83
 
 
84
APPUP_SRC= $(APPUP_FILE).src
 
85
APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
 
86
 
 
87
 
 
88
 
 
89
# ----------------------------------------------------
 
90
# FLAGS
 
91
# ----------------------------------------------------
 
92
ERL_FLAGS += 
 
93
ERL_COMPILE_FLAGS += \
 
94
        +warn_unused_vars \
 
95
        +'{parse_transform,sys_pre_attributes}' \
 
96
        +'{attribute,insert,vsn,"mnesia_$(MNESIA_VSN)"}' \
 
97
        -W
 
98
 
 
99
# ----------------------------------------------------
 
100
# Targets
 
101
# ----------------------------------------------------
 
102
 
 
103
opt: $(TARGET_FILES)
 
104
 
 
105
debug:
 
106
        @${MAKE} TYPE=debug
 
107
 
 
108
clean:
 
109
        rm -f $(TARGET_FILES)
 
110
        rm -f core
 
111
 
 
112
docs:
 
113
 
 
114
# ----------------------------------------------------
 
115
# Special Build Targets
 
116
# ----------------------------------------------------
 
117
 
 
118
$(APP_TARGET): $(APP_SRC) ../vsn.mk
 
119
        sed -e 's;%VSN%;$(VSN);' $< > $@
 
120
 
 
121
$(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
 
122
        sed -e 's;%VSN%;$(VSN);' $< > $@
 
123
 
 
124
 
 
125
# ----------------------------------------------------
 
126
# Release Target
 
127
# ---------------------------------------------------- 
 
128
include $(ERL_TOP)/make/otp_release_targets.mk
 
129
 
 
130
release_spec: opt
 
131
        $(INSTALL_DIR) $(RELSYSDIR)/src
 
132
        $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) $(RELSYSDIR)/src
 
133
        $(INSTALL_DIR) $(RELSYSDIR)/ebin
 
134
        $(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin
 
135
 
 
136
release_docs_spec:
 
137