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

« back to all changes in this revision

Viewing changes to lib/inets/examples/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
1
#
2
2
# %CopyrightBegin%
3
 
4
 
# Copyright Ericsson AB 1997-2009. All Rights Reserved.
5
 
 
3
#
 
4
# Copyright Ericsson AB 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
#
21
21
include $(ERL_TOP)/make/$(TARGET)/otp.mk
22
22
 
23
23
# ----------------------------------------------------
24
 
# Application version
25
 
# ----------------------------------------------------
26
 
include ../vsn.mk
27
 
VSN=$(INETS_VSN)
28
 
 
29
 
# ----------------------------------------------------
30
 
# Release directory specification
31
 
# ----------------------------------------------------
32
 
RELSYSDIR = $(RELEASE_PATH)/lib/inets-$(VSN)
33
 
 
34
 
# ----------------------------------------------------
35
 
# Target Specs
36
 
# ----------------------------------------------------
37
 
MODULE= 
38
 
 
39
 
AUTH_FILES = server_root/auth/group \
40
 
        server_root/auth/passwd 
41
 
CGI_FILES = server_root/cgi-bin/printenv.sh 
42
 
CONF_FILES = server_root/conf/8080.conf \
43
 
        server_root/conf/8888.conf \
44
 
        server_root/conf/httpd.conf \
45
 
        server_root/conf/ssl.conf \
46
 
        server_root/conf/mime.types 
47
 
OPEN_FILES = server_root/htdocs/open/dummy.html 
48
 
MNESIA_OPEN_FILES = server_root/htdocs/mnesia_open/dummy.html 
49
 
MISC_FILES = server_root/htdocs/misc/friedrich.html \
50
 
        server_root/htdocs/misc/oech.html
51
 
SECRET_FILES = server_root/htdocs/secret/dummy.html 
52
 
MNESIA_SECRET_FILES = server_root/htdocs/mnesia_secret/dummy.html 
53
 
HTDOCS_FILES = server_root/htdocs/index.html \
54
 
        server_root/htdocs/config.shtml \
55
 
        server_root/htdocs/echo.shtml \
56
 
        server_root/htdocs/exec.shtml \
57
 
        server_root/htdocs/flastmod.shtml \
58
 
        server_root/htdocs/fsize.shtml \
59
 
        server_root/htdocs/include.shtml
60
 
ICON_FILES = server_root/icons/README \
61
 
        server_root/icons/a.gif \
62
 
        server_root/icons/alert.black.gif \
63
 
        server_root/icons/alert.red.gif \
64
 
        server_root/icons/apache_pb.gif \
65
 
        server_root/icons/back.gif \
66
 
        server_root/icons/ball.gray.gif \
67
 
        server_root/icons/ball.red.gif \
68
 
        server_root/icons/binary.gif \
69
 
        server_root/icons/binhex.gif \
70
 
        server_root/icons/blank.gif \
71
 
        server_root/icons/bomb.gif \
72
 
        server_root/icons/box1.gif \
73
 
        server_root/icons/box2.gif \
74
 
        server_root/icons/broken.gif \
75
 
        server_root/icons/burst.gif \
76
 
        server_root/icons/button1.gif \
77
 
        server_root/icons/button10.gif \
78
 
        server_root/icons/button2.gif \
79
 
        server_root/icons/button3.gif \
80
 
        server_root/icons/button4.gif \
81
 
        server_root/icons/button5.gif \
82
 
        server_root/icons/button6.gif \
83
 
        server_root/icons/button7.gif \
84
 
        server_root/icons/button8.gif \
85
 
        server_root/icons/button9.gif \
86
 
        server_root/icons/buttonl.gif \
87
 
        server_root/icons/buttonr.gif \
88
 
        server_root/icons/c.gif \
89
 
        server_root/icons/comp.blue.gif \
90
 
        server_root/icons/comp.gray.gif \
91
 
        server_root/icons/compressed.gif \
92
 
        server_root/icons/continued.gif \
93
 
        server_root/icons/dir.gif \
94
 
        server_root/icons/down.gif \
95
 
        server_root/icons/dvi.gif \
96
 
        server_root/icons/f.gif \
97
 
        server_root/icons/folder.gif \
98
 
        server_root/icons/folder.open.gif \
99
 
        server_root/icons/folder.sec.gif \
100
 
        server_root/icons/forward.gif \
101
 
        server_root/icons/generic.gif \
102
 
        server_root/icons/generic.red.gif \
103
 
        server_root/icons/generic.sec.gif \
104
 
        server_root/icons/hand.right.gif \
105
 
        server_root/icons/hand.up.gif \
106
 
        server_root/icons/htdig.gif \
107
 
        server_root/icons/icon.sheet.gif \
108
 
        server_root/icons/image1.gif \
109
 
        server_root/icons/image2.gif \
110
 
        server_root/icons/image3.gif \
111
 
        server_root/icons/index.gif \
112
 
        server_root/icons/layout.gif \
113
 
        server_root/icons/left.gif \
114
 
        server_root/icons/link.gif \
115
 
        server_root/icons/movie.gif \
116
 
        server_root/icons/p.gif \
117
 
        server_root/icons/patch.gif \
118
 
        server_root/icons/pdf.gif \
119
 
        server_root/icons/pie0.gif \
120
 
        server_root/icons/pie1.gif \
121
 
        server_root/icons/pie2.gif \
122
 
        server_root/icons/pie3.gif \
123
 
        server_root/icons/pie4.gif \
124
 
        server_root/icons/pie5.gif \
125
 
        server_root/icons/pie6.gif \
126
 
        server_root/icons/pie7.gif \
127
 
        server_root/icons/pie8.gif \
128
 
        server_root/icons/portal.gif \
129
 
        server_root/icons/poweredby.gif \
130
 
        server_root/icons/ps.gif \
131
 
        server_root/icons/quill.gif \
132
 
        server_root/icons/right.gif \
133
 
        server_root/icons/screw1.gif \
134
 
        server_root/icons/screw2.gif \
135
 
        server_root/icons/script.gif \
136
 
        server_root/icons/sound1.gif \
137
 
        server_root/icons/sound2.gif \
138
 
        server_root/icons/sphere1.gif \
139
 
        server_root/icons/sphere2.gif \
140
 
        server_root/icons/star.gif \
141
 
        server_root/icons/star_blank.gif \
142
 
        server_root/icons/tar.gif \
143
 
        server_root/icons/tex.gif \
144
 
        server_root/icons/text.gif \
145
 
        server_root/icons/transfer.gif \
146
 
        server_root/icons/unknown.gif \
147
 
        server_root/icons/up.gif \
148
 
        server_root/icons/uu.gif \
149
 
        server_root/icons/uuencoded.gif \
150
 
        server_root/icons/world1.gif \
151
 
        server_root/icons/world2.gif
152
 
 
153
 
SSL_FILES = server_root/ssl/ssl_client.pem \
154
 
        server_root/ssl/ssl_server.pem
155
 
 
156
 
# ----------------------------------------------------
157
 
# FLAGS
158
 
# ----------------------------------------------------
159
 
ERL_COMPILE_FLAGS +=
160
 
 
161
 
# ----------------------------------------------------
162
 
# Targets
163
 
# ----------------------------------------------------
164
 
 
165
 
debug opt: 
166
 
 
167
 
clean:
168
 
 
169
 
docs:
170
 
 
171
 
# ----------------------------------------------------
172
 
# Release Target
173
 
# ---------------------------------------------------- 
174
 
include $(ERL_TOP)/make/otp_release_targets.mk
175
 
 
176
 
release_spec: opt
177
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/auth
178
 
        $(INSTALL_DATA) $(AUTH_FILES) $(RELSYSDIR)/examples/server_root/auth
179
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/cgi-bin
180
 
        $(INSTALL_SCRIPT) $(CGI_FILES) $(RELSYSDIR)/examples/server_root/cgi-bin
181
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/conf
182
 
        $(INSTALL_DATA) $(CONF_FILES) $(RELSYSDIR)/examples/server_root/conf
183
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/htdocs/open
184
 
        $(INSTALL_DATA) $(OPEN_FILES) \
185
 
                $(RELSYSDIR)/examples/server_root/htdocs/open
186
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/htdocs/mnesia_open
187
 
        $(INSTALL_DATA) $(MNESIA_OPEN_FILES) \
188
 
                $(RELSYSDIR)/examples/server_root/htdocs/mnesia_open
189
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/htdocs/misc
190
 
        $(INSTALL_DATA) $(MISC_FILES) \
191
 
                $(RELSYSDIR)/examples/server_root/htdocs/misc
192
 
        $(INSTALL_DIR)  \
193
 
                $(RELSYSDIR)/examples/server_root/htdocs/secret/top_secret
194
 
        $(INSTALL_DIR)  \
195
 
                $(RELSYSDIR)/examples/server_root/htdocs/mnesia_secret/top_secret
196
 
        $(INSTALL_DATA) $(SECRET_FILES)  \
197
 
                $(RELSYSDIR)/examples/server_root/htdocs/secret
198
 
        $(INSTALL_DATA) $(MNESIA_SECRET_FILES)  \
199
 
                $(RELSYSDIR)/examples/server_root/htdocs/mnesia_secret
200
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/htdocs
201
 
        $(INSTALL_DATA) $(HTDOCS_FILES) $(RELSYSDIR)/examples/server_root/htdocs
202
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/icons
203
 
        $(INSTALL_DATA) $(ICON_FILES) $(RELSYSDIR)/examples/server_root/icons
204
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/ssl
205
 
        $(INSTALL_DATA) $(SSL_FILES) $(RELSYSDIR)/examples/server_root/ssl
206
 
        $(INSTALL_DIR) $(RELSYSDIR)/examples/server_root/logs
207
 
 
208
 
release_docs_spec:
 
24
# Common Macros
 
25
# ----------------------------------------------------
 
26
 
 
27
include subdirs.mk
 
28
 
 
29
SPECIAL_TARGETS = 
 
30
 
 
31
# ----------------------------------------------------
 
32
# Default Subdir Targets
 
33
# ----------------------------------------------------
 
34
include $(ERL_TOP)/make/otp_subdir.mk
209
35