~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/wx/examples/xrc/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-07 15:07:37 UTC
  • mfrom: (1.2.1 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090507150737-i4yb5elwinm7r0hc
Tags: 1:13.b-dfsg1-1
* Removed another bunch of non-free RFCs from original tarball
  (closes: #527053).
* Fixed build-dependencies list by adding missing comma. This requires
  libsctp-dev again. Also, added libsctp1 dependency to erlang-base and
  erlang-base-hipe packages because the shared library is loaded via
  dlopen now and cannot be added using dh_slibdeps (closes: #526682).
* Weakened dependency of erlang-webtool on erlang-observer to recommends
  to avoid circular dependencies (closes: #526627).
* Added solaris-i386 to HiPE enabled architectures.
* Made script sources in /usr/lib/erlang/erts-*/bin directory executable,
  which is more convenient if a user wants to create a target Erlang system.
* Shortened extended description line for erlang-dev package to make it
  fit 80x25 terminals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# %CopyrightBegin%
 
3
 
4
# Copyright Ericsson AB 2009. 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 ../../vsn.mk
 
21
include ../../config.mk
 
22
 
 
23
TOPDIR = ../..
 
24
EBIN = .
 
25
ERLINC = $(TOPDIR)/include
 
26
ERLC = erlc
 
27
TESTMODS = xrc
 
28
TESTTARGETS = $(TESTMODS:%=%.beam)
 
29
TESTSRC = $(TESTMODS:%=%.erl)
 
30
 
 
31
RESOURCEFILES = appicon.ico basicdlg.xpm custclas.xpm fileopen.gif menu.xrc \
 
32
        resource.xrc uncenter.xpm  variable.xrc appicon.xpm basicdlg.xrc \
 
33
        custclas.xrc filesave.gif platform.xpm stop.xpm uncenter.xrc \
 
34
        artprov.xpm controls.xpm derivdlg.xpm frame.xrc platform.xrc \
 
35
        throbber.gif update.gif artprov.xrc controls.xrc derivdlg.xrc \
 
36
        fuzzy.gif quotes.gif toolbar.xrc variable.xpm
 
37
 
 
38
TESTRESOURCE = $(RESOURCEFILES:%=rc/%)
 
39
 
 
40
# Targets
 
41
opt debug:      $(TESTTARGETS)
 
42
clean:
 
43
        rm -f $(TESTTARGETS)
 
44
        rm -f *~ core erl_crash.dump
 
45
 
 
46
docs: 
 
47
 
 
48
run: opt
 
49
        erl -smp -detached -pa $(TOPDIR)/ebin -s xrc 
 
50
 
 
51
ifneq ($(INSIDE_ERLSRC),true)
 
52
 
 
53
%.beam: %.erl
 
54
        $(ERLC) -W -I$(ERLINC)  -bbeam -o$(BIN) $<
 
55
 
 
56
else
 
57
EXRELSYSDIR = $(RELSYSDIR)/examples/xrc
 
58
include $(ERL_TOP)/make/otp_release_targets.mk
 
59
 
 
60
docs: 
 
61
 
 
62
release_spec: 
 
63
        $(INSTALL_DIR) $(EXRELSYSDIR)
 
64
        $(INSTALL_DATA) $(TESTSRC) $(EXRELSYSDIR)
 
65
        $(INSTALL_DATA) $(TESTTARGETS) $(EXRELSYSDIR)
 
66
        $(INSTALL_DIR) $(EXRELSYSDIR)/rc
 
67
        $(INSTALL_DATA) $(TESTRESOURCE) $(EXRELSYSDIR)/rc
 
68
 
 
69
release_tests_spec:
 
70
 
 
71
release_docs_spec:
 
72
 
 
73
endif
 
74
 
 
75
 
 
76