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

« back to all changes in this revision

Viewing changes to lib/common_test/c_src/Makefile.in

  • 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
 
# ``The contents of this file are subject to the Erlang Public License,
2
 
# Version 1.1, (the "License"); you may not use this file except in
3
 
# compliance with the License. You should have received a copy of the
4
 
# Erlang Public License along with this software. If not, it can be
5
 
# retrieved via the world wide web at http://www.erlang.org/.
6
 
7
 
# Software distributed under the License is distributed on an "AS IS"
8
 
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
9
 
# the License for the specific language governing rights and limitations
10
 
# under the License.
11
 
12
 
# The Initial Developer of the Original Code is Ericsson Utvecklings AB.
13
 
# Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
14
 
# AB. All Rights Reserved.''
15
 
16
 
#     $Id$
17
 
#
18
 
 
19
 
.PHONY : debug opt release clean distclean depend
20
 
 
21
 
TARGET = @TARGET@
22
 
 
23
 
include $(ERL_TOP)/make/target.mk
24
 
include $(ERL_TOP)/make/$(TARGET)/otp.mk
25
 
 
26
 
PRIV = ../priv
27
 
BUILD_RX = $(PRIV)/build_rx_lib
28
 
RX = $(PRIV)/rx-1.5
29
 
 
30
 
ifneq ($(TARGET),win32)
31
 
 
32
 
# ====================================================
33
 
# UNIX / LINUX
34
 
# ====================================================
35
 
 
36
 
SOLIBS = erl_rx_driver.so
37
 
 
38
 
CC = @CC@
39
 
CFLAGS  = @RX_CFLAGS@ -I$(ERLINCL) -I$(RX)/rx
40
 
 
41
 
LD = @RX_LD@
42
 
LDFLAGS = @RX_LDFLAGS@ -L$(RX)/rx -lrx -lc
43
 
 
44
 
ERLINCL = $(ERL_TOP)/erts/emulator/beam
45
 
 
46
 
#
47
 
# Files
48
 
#
49
 
 
50
 
SRC_FILES = erl_rx_driver.c
51
 
 
52
 
OBJ_FILES= $(SRC_FILES:%.c=%.o)
53
 
 
54
 
#
55
 
# Rules
56
 
#
57
 
 
58
 
rx:
59
 
        $(BUILD_RX) $(PRIV) $(MAKE)
60
 
 
61
 
erl_rx_driver.so: rx $(OBJ_FILES)
62
 
        $(LD) $(OBJ_FILES) $(LDFLAGS) -o $@
63
 
%.o: %.c
64
 
        $(CC) -c $(CFLAGS) $<
65
 
 
66
 
debug opt: $(SOLIBS)
67
 
 
68
 
docs:
69
 
 
70
 
clean:
71
 
        rm -f $(SOLIBS)
72
 
        rm -f $(OBJ_FILES)
73
 
        rm -f core
74
 
 
75
 
# ----------------------------------------------------
76
 
# Release Target
77
 
# ---------------------------------------------------- 
78
 
include $(ERL_TOP)/make/otp_release_targets.mk
79
 
 
80
 
release_spec: opt
81
 
        $(INSTALL_PROGRAM) $(SOLIBS) $(PRIV)/lib/$(TARGET)
82
 
 
83
 
release_docs_spec:
84
 
 
85
 
else
86
 
 
87
 
# ====================================================
88
 
# WIN32
89
 
# ====================================================
90
 
 
91
 
rx:
92
 
 
93
 
erl_rx_driver.so: rx 
94
 
 
95
 
%.o: %.c
96
 
 
97
 
debug opt: 
98
 
 
99
 
docs:
100
 
 
101
 
clean:
102
 
 
103
 
# ----------------------------------------------------
104
 
# Release Target
105
 
# ---------------------------------------------------- 
106
 
include $(ERL_TOP)/make/otp_release_targets.mk
107
 
 
108
 
release_spec: opt
109
 
 
110
 
release_docs_spec:
111
 
 
112
 
endif