~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/wx/test/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# %CopyrightBegin%
 
3
 
4
# Copyright Ericsson AB 2008-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
ESRC = .
 
24
EBIN = .
 
25
ERLC = erlc
 
26
PWD = $(shell pwd)
 
27
APPDIR = $(shell dirname $(PWD))
 
28
ERL_COMPILE_FLAGS = -pa $(APPDIR)/ebin
 
29
 
 
30
Mods =  wxt wx_test_lib \
 
31
        wx_basic_SUITE wx_event_SUITE \
 
32
        wx_class_SUITE \
 
33
        wx_xtra_SUITE \
 
34
        wx_opengl_SUITE
 
35
 
 
36
ErlSrc          = $(Mods:%=%.erl)
 
37
ErlTargets      = $(Mods:%=$(EBIN)/%.beam) 
 
38
 
 
39
# Targets
 
40
opt debug: $(ErlTargets)
 
41
 
 
42
clean:  
 
43
        rm -f $(ErlTargets) 
 
44
        rm -f core erl_crash.dump
 
45
        rm -f *~
 
46
 
 
47
docs: 
 
48
 
 
49
 
 
50
# Rules
 
51
ifneq ($(INSIDE_ERLSRC),true)
 
52
 
 
53
$(EBIN)/%.beam: $(ESRC)/%.erl
 
54
        $(ERLC) -W -bbeam $(ERL_FLAGS) $(ERL_COMPILE_FLAGS) -o$(EBIN) $<
 
55
 
 
56
else
 
57
RELSYSDIR = $(RELEASE_PATH)/wx_test
 
58
include $(ERL_TOP)/make/otp_release_targets.mk
 
59
release_spec: 
 
60
 
 
61
release_tests_spec: opt
 
62
        $(INSTALL_DIR) $(RELSYSDIR)
 
63
        $(INSTALL_DATA) wx.spec wx_test_lib.hrl $(ErlSrc) $(ErlTargets) $(RELSYSDIR)
 
64
        $(INSTALL_PROGRAM) wxt $(RELSYSDIR)
 
65
 
 
66
release_docs_spec:
 
67
 
 
68
endif