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

« back to all changes in this revision

Viewing changes to lib/cosTime/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
# %CopyrightBegin%
 
3
 
4
# Copyright Ericsson AB 2000-2011. All Rights Reserved.
 
5
 
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/.
 
11
 
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
 
15
# under the License.
 
16
 
17
# %CopyrightEnd%
 
18
#
 
19
#
 
20
include $(ERL_TOP)/make/target.mk
 
21
include $(ERL_TOP)/make/$(TARGET)/otp.mk
 
22
 
 
23
# ----------------------------------------------------
 
24
# Application version
 
25
# ----------------------------------------------------
 
26
include ../vsn.mk
 
27
VSN=$(COSTIME_VSN)
 
28
# ----------------------------------------------------
 
29
# Release directory specification
 
30
# ----------------------------------------------------
 
31
RELSYSDIR = $(RELEASE_PATH)/cosTime_test
 
32
 
 
33
# ----------------------------------------------------
 
34
# Target Specs
 
35
# ----------------------------------------------------
 
36
TEST_SPEC_FILE = cosTime.spec
 
37
COVER_FILE = cosTime.cover
 
38
 
 
39
 
 
40
IDL_FILES = 
 
41
 
 
42
IDLOUTDIR = idl_output
 
43
 
 
44
MODULES =  \
 
45
        time_SUITE \
 
46
        generated_SUITE
 
47
 
 
48
GEN_MODULES = \
 
49
 
 
50
GEN_HRL_FILES = \
 
51
 
 
52
ERL_FILES = $(MODULES:%=%.erl)
 
53
 
 
54
HRL_FILES =
 
55
 
 
56
GEN_FILES = \
 
57
        $(GEN_HRL_FILES:%=$(IDLOUTDIR)/%) \
 
58
        $(GEN_MODULES:%=$(IDLOUTDIR)/%.erl) 
 
59
 
 
60
GEN_TARGET_FILES = $(GEN_MODULES:%=$(IDLOUTDIR)/%.$(EMULATOR))
 
61
 
 
62
SUITE_TARGET_FILES = $(MODULES:%=%.$(EMULATOR))
 
63
 
 
64
TARGET_FILES = \
 
65
        $(GEN_TARGET_FILES) \
 
66
        $(SUITE_TARGET_FILES)
 
67
 
 
68
 
 
69
# ----------------------------------------------------
 
70
# PROGRAMS
 
71
# ----------------------------------------------------
 
72
LOCAL_CLASSPATH = $(ERL_TOP)lib/cosTime/priv:$(ERL_TOP)lib/cosTime/test
 
73
# ----------------------------------------------------
 
74
# FLAGS
 
75
# ----------------------------------------------------
 
76
ERL_IDL_FLAGS += -pa $(ERL_TOP)/lib/cosTime/ebin \
 
77
        -pa $(ERL_TOP)/lib/cosTime/src \
 
78
        -pa $(ERL_TOP)/lib/cosTime/include \
 
79
        -pa $(ERL_TOP)/lib/cosNotification/ebin \
 
80
        -pa $(ERL_TOP)/lib/orber/ebin \
 
81
        -pa $(ERL_TOP)/lib/ic/ebin
 
82
 
 
83
ERL_COMPILE_FLAGS +=  \
 
84
        $(ERL_IDL_FLAGS) \
 
85
        -pa $(ERL_TOP)/lib/orber/include \
 
86
        -pa $(ERL_TOP)/lib/cosNotification/include \
 
87
        -pa $(ERL_TOP)/internal_tools/test_server/ebin \
 
88
        -pa $(ERL_TOP)/lib/cosTime/ebin \
 
89
        -pa $(ERL_TOP)/lib/cosTime/include \
 
90
        -pa $(ERL_TOP)/lib/cosTime/test/idl_output \
 
91
        -I$(ERL_TOP)/lib/orber/include \
 
92
        -I$(ERL_TOP)/lib/cosNotification/include \
 
93
        -I$(ERL_TOP)/lib/cosTime/src \
 
94
        -I$(ERL_TOP)/lib/cosTime/include \
 
95
        -I$(ERL_TOP)/lib/cosTime \
 
96
        -I$(ERL_TOP)/lib/cosTime/test/$(IDLOUTDIR) \
 
97
        -I$(ERL_TOP)/lib/test_server/include
 
98
 
 
99
# ----------------------------------------------------
 
100
# Targets
 
101
# ----------------------------------------------------
 
102
 
 
103
 
 
104
tests debug opt: $(TARGET_FILES)
 
105
 
 
106
clean:
 
107
        rm -f idl_output/*
 
108
        rm -f $(TARGET_FILES) 
 
109
        rm -f errs core *~
 
110
 
 
111
docs:
 
112
 
 
113
# ----------------------------------------------------
 
114
# Special Targets
 
115
# ----------------------------------------------------
 
116
 
 
117
# ----------------------------------------------------
 
118
# Release Targets
 
119
# ---------------------------------------------------- 
 
120
# We don't copy generated intermediate erlang and hrl files
 
121
 
 
122
include $(ERL_TOP)/make/otp_release_targets.mk
 
123
 
 
124
release_spec: 
 
125
 
 
126
release_docs_spec:
 
127
 
 
128
release_tests_spec: tests
 
129
        $(INSTALL_DIR) $(RELSYSDIR)
 
130
        $(INSTALL_DATA) $(IDL_FILES)  $(TEST_SPEC_FILE) \
 
131
                $(COVER_FILE) $(ERL_FILES) $(RELSYSDIR)
 
132
        $(INSTALL_DATA) $(SUITE_TARGET_FILES) $(RELSYSDIR)
 
133
#       $(INSTALL_DIR) $(RELSYSDIR)/$(IDLOUTDIR)
 
134
#       $(INSTALL_DATA) $(GEN_TARGET_FILES) $(GEN_FILES) \
 
135
#               $(RELSYSDIR)/$(IDLOUTDIR)
 
136