~ubuntu-branches/debian/squeeze/ffcall/squeeze

« back to all changes in this revision

Viewing changes to callback/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2010-06-26 15:29:30 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100626152930-c09y01gk3szcnykn
Tags: 1.10+cvs20100619-2
Ship to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for callback
 
2
 
 
3
#### Start of system configuration section. ####
 
4
 
 
5
HOST = @host@
 
6
CPU = @host_cpu_abi@
 
7
 
 
8
# Directories used by "make":
 
9
srcdir = @srcdir@
 
10
 
 
11
# Directories used by "make install":
 
12
prefix = @prefix@
 
13
local_prefix = /usr/local
 
14
exec_prefix = @exec_prefix@
 
15
libdir = @libdir@
 
16
includedir = @includedir@
 
17
mandir = @mandir@
 
18
datadir = @datadir@
 
19
datarootdir = @datarootdir@
 
20
htmldir = $(datadir)/html
 
21
 
 
22
# Programs used by "make":
 
23
CC = @CC@
 
24
CFLAGS = @CFLAGS@
 
25
CPP = @CPP@
 
26
INCLUDES = -I. -I$(srcdir)
 
27
LIBTOOL = @LIBTOOL@
 
28
LIBTOOL_LINK = $(LIBTOOL) --mode=link
 
29
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
 
30
LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
 
31
AR = ar
 
32
AR_FLAGS = rc
 
33
RANLIB = @RANLIB@
 
34
LN_S = @LN_S@
 
35
RM = rm -f
 
36
@SET_MAKE@
 
37
 
 
38
# Programs used by "make install":
 
39
INSTALL = @INSTALL@
 
40
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
41
INSTALL_DATA = @INSTALL_DATA@
 
42
 
 
43
#### End of system configuration section. ####
 
44
 
 
45
SHELL = /bin/sh
 
46
 
 
47
# Needed by $(LIBTOOL).
 
48
top_builddir = .
 
49
 
 
50
all : all-subdirs callback.h vacall_r.h trampoline_r.h libcallback.la $(srcdir)/callback.3 $(srcdir)/callback.html
 
51
 
 
52
all-subdirs : force
 
53
        cd @subdir@ && $(MAKE) all
 
54
 
 
55
callback.h :
 
56
        $(LN_S) $(srcdir)/callback.h.in callback.h
 
57
 
 
58
vacall_r.h :
 
59
        $(LN_S) vacall_r/vacall_r.h vacall_r.h
 
60
 
 
61
trampoline_r.h :
 
62
        $(LN_S) trampoline_r/trampoline_r.h trampoline_r.h
 
63
 
 
64
libcallback.la : vacall_r/libvacall.la trampoline_r/libtrampoline.la
 
65
        $(LIBTOOL_LINK) $(CC) -o libcallback.la -rpath $(libdir) vacall_r/vacall.lo vacall_r/misc.lo vacall_r/structcpy.lo trampoline_r/*.lo
 
66
 
 
67
# Installs the library and include files only. Typically called with only
 
68
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
 
69
install-lib : all force
 
70
        cd @subdir@ && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
 
71
        mkdir -p $(libdir)
 
72
        $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcallback.la $(libdir)/libcallback.la
 
73
        mkdir -p $(includedir)
 
74
        $(INSTALL_DATA) callback.h $(includedir)/callback.h
 
75
 
 
76
install : force
 
77
        cd @subdir@ && $(MAKE) install
 
78
        mkdir -p $(DESTDIR)$(prefix)
 
79
        mkdir -p $(DESTDIR)$(exec_prefix)
 
80
        mkdir -p $(DESTDIR)$(libdir)
 
81
        $(LIBTOOL_INSTALL) $(INSTALL_DATA) libcallback.la $(DESTDIR)$(libdir)/libcallback.la
 
82
        mkdir -p $(DESTDIR)$(includedir)
 
83
        $(INSTALL_DATA) callback.h $(DESTDIR)$(includedir)/callback.h
 
84
        mkdir -p $(DESTDIR)$(mandir)
 
85
        mkdir -p $(DESTDIR)$(mandir)/man3
 
86
        $(INSTALL_DATA) $(srcdir)/callback.3 $(DESTDIR)$(mandir)/man3/callback.3
 
87
        mkdir -p $(DESTDIR)$(datadir)
 
88
        mkdir -p $(DESTDIR)$(htmldir)
 
89
        $(INSTALL_DATA) $(srcdir)/callback.html $(DESTDIR)$(htmldir)/callback.html
 
90
 
 
91
installdirs : force
 
92
        cd @subdir@ && $(MAKE) installdirs
 
93
        mkdir -p $(DESTDIR)$(prefix)
 
94
        mkdir -p $(DESTDIR)$(exec_prefix)
 
95
        mkdir -p $(DESTDIR)$(libdir)
 
96
        mkdir -p $(DESTDIR)$(includedir)
 
97
        mkdir -p $(DESTDIR)$(mandir)
 
98
        mkdir -p $(DESTDIR)$(mandir)/man3
 
99
        mkdir -p $(DESTDIR)$(datadir)
 
100
        mkdir -p $(DESTDIR)$(htmldir)
 
101
 
 
102
uninstall : force
 
103
        cd @subdir@ && $(MAKE) uninstall
 
104
        $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libcallback.la
 
105
        $(RM) $(DESTDIR)$(includedir)/callback.h
 
106
        $(RM) $(DESTDIR)$(mandir)/man3/callback.3
 
107
        $(RM) $(DESTDIR)$(htmldir)/callback.html
 
108
 
 
109
minitests.o : $(srcdir)/minitests.c $(srcdir)/tests.c callback.h vacall_r.h trampoline_r.h
 
110
        $(CC) $(CFLAGS) $(INCLUDES) -c $(srcdir)/minitests.c
 
111
 
 
112
minitests.s : $(srcdir)/minitests.c $(srcdir)/tests.c callback.h vacall_r.h trampoline_r.h
 
113
        $(CC) $(CFLAGS) $(INCLUDES) -S $(srcdir)/minitests.c
 
114
 
 
115
minitests : minitests.o libcallback.la
 
116
        $(LIBTOOL_LINK) $(CC) $(CFLAGS) @GCC_X_NONE@ minitests.o libcallback.la -o minitests
 
117
 
 
118
check-subdirs : force
 
119
        cd @subdir@ && $(MAKE) check
 
120
 
 
121
check : all check-subdirs minitests
 
122
        ./minitests > minitests.out
 
123
        LC_ALL=C uniq -u < minitests.out > minitests.output.$(HOST)
 
124
        test '!' -s minitests.output.$(HOST)
 
125
 
 
126
tests.o : $(srcdir)/tests.c callback.h vacall_r.h trampoline_r.h
 
127
        $(CC) $(CFLAGS) $(INCLUDES) -c $(srcdir)/tests.c
 
128
 
 
129
tests.s : $(srcdir)/tests.c callback.h vacall_r.h trampoline_r.h
 
130
        $(CC) $(CFLAGS) $(INCLUDES) -S $(srcdir)/tests.c
 
131
 
 
132
tests : tests.o libcallback.la
 
133
        $(LIBTOOL_LINK) $(CC) $(CFLAGS) @GCC_X_NONE@ tests.o libcallback.la -o tests
 
134
 
 
135
extracheck-subdirs : force
 
136
        cd @subdir@ && $(MAKE) extracheck
 
137
 
 
138
extracheck : all extracheck-subdirs tests
 
139
        ./tests > tests.out
 
140
        LC_ALL=C uniq -u < tests.out > tests.output.$(HOST)
 
141
        test '!' -s tests.output.$(HOST)
 
142
 
 
143
mostlyclean : force
 
144
        cd @subdir@ && $(MAKE) mostlyclean
 
145
 
 
146
clean-subdirs : force
 
147
        cd @subdir@ && $(MAKE) clean
 
148
 
 
149
clean : clean-subdirs
 
150
        $(RM) *.o *.lo core
 
151
        $(RM) callback.h vacall_r.h trampoline_r.h libcallback.*
 
152
        $(RM) -r .libs _libs
 
153
        $(RM) minitests.o minitests.s minitests minitests.out
 
154
        $(RM) tests.o tests.s tests tests.out
 
155
 
 
156
distclean-subdirs : force
 
157
        cd @subdir@ && if test -f Makefile; then $(MAKE) distclean; fi
 
158
 
 
159
distclean : clean distclean-subdirs
 
160
        $(RM) config.status config.log config.cache Makefile libtool minitests.output.* tests.output.*
 
161
 
 
162
maintainer-clean-subdirs : force
 
163
        cd @subdir@ && if test -f Makefile; then $(MAKE) maintainer-clean; fi
 
164
 
 
165
maintainer-clean : distclean maintainer-clean-subdirs
 
166
        $(RM) config.status config.log config.cache Makefile
 
167
 
 
168
force :
 
169