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

« back to all changes in this revision

Viewing changes to lib/cosFileTransfer/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=$(COSFILETRANSFER_VSN)
 
28
# ----------------------------------------------------
 
29
# Release directory specification
 
30
# ----------------------------------------------------
 
31
RELSYSDIR = $(RELEASE_PATH)/cosFileTransfer_test
 
32
 
 
33
# ----------------------------------------------------
 
34
# Target Specs
 
35
# ----------------------------------------------------
 
36
TEST_SPEC_FILE = cosFileTransfer.spec
 
37
COVER_FILE = cosFileTransfer.cover
 
38
 
 
39
 
 
40
IDL_FILES = 
 
41
 
 
42
IDLOUTDIR = idl_output
 
43
 
 
44
MODULES =  \
 
45
        fileTransfer_SUITE \
 
46
 
 
47
GEN_MODULES = \
 
48
 
 
49
GEN_HRL_FILES = \
 
50
 
 
51
ERL_FILES = $(MODULES:%=%.erl)
 
52
 
 
53
HRL_FILES =
 
54
 
 
55
GEN_FILES = \
 
56
        $(GEN_HRL_FILES:%=$(IDLOUTDIR)/%) \
 
57
        $(GEN_MODULES:%=$(IDLOUTDIR)/%.erl) 
 
58
 
 
59
GEN_TARGET_FILES = $(GEN_MODULES:%=$(IDLOUTDIR)/%.$(EMULATOR))
 
60
 
 
61
SUITE_TARGET_FILES = $(MODULES:%=%.$(EMULATOR))
 
62
 
 
63
TARGET_FILES = \
 
64
        $(GEN_TARGET_FILES) \
 
65
        $(SUITE_TARGET_FILES)
 
66
 
 
67
 
 
68
# ----------------------------------------------------
 
69
# PROGRAMS
 
70
# ----------------------------------------------------
 
71
LOCAL_CLASSPATH = $(ERL_TOP)lib/cosFileTransfer/priv:$(ERL_TOP)lib/cosFileTransfer/test
 
72
# ----------------------------------------------------
 
73
# FLAGS
 
74
# ----------------------------------------------------
 
75
ERL_IDL_FLAGS += -pa $(ERL_TOP)/lib/cosFileTransfer/ebin \
 
76
        -pa $(ERL_TOP)/lib/cosFileTransfer/src \
 
77
        -pa $(ERL_TOP)/lib/cosFileTransfer/include \
 
78
        -pa $(ERL_TOP)/lib/cosProperty/ebin \
 
79
        -pa $(ERL_TOP)/lib/cosProperty/include \
 
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/cosProperty/include \
 
87
        -pa $(ERL_TOP)/internal_tools/test_server/ebin \
 
88
        -pa $(ERL_TOP)/lib/cosFileTransfer/ebin \
 
89
        -pa $(ERL_TOP)/lib/cosFileTransfer/include \
 
90
        -pa $(ERL_TOP)/lib/cosFileTransfer/test/idl_output \
 
91
        -I$(ERL_TOP)/lib/orber/include \
 
92
        -I$(ERL_TOP)/lib/cosProperty/include \
 
93
        -I$(ERL_TOP)/lib/cosFileTransfer/src \
 
94
        -I$(ERL_TOP)/lib/cosFileTransfer/include \
 
95
        -I$(ERL_TOP)/lib/cosFileTransfer \
 
96
        -I$(ERL_TOP)/lib/cosFileTransfer/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
        chmod -f -R u+w $(RELSYSDIR)