1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
-
+
-
|
# Makefile for vacall
#### Start of system configuration section. ####
HOST = @host@
CPU = @HOST_CPU_C_ABI@
CPU = @host_cpu@
OS = @host_os@
# Directories used by "make":
srcdir = @srcdir@
# Directories used by "make install":
prefix = @prefix@
local_prefix = /usr/local
exec_prefix = @exec_prefix@
libdir = @libdir@
includedir = @includedir@
mandir = @mandir@
datadir = @datadir@
datarootdir = @datarootdir@
htmldir = $(datadir)/html
# Programs used by "make":
CC = @CC@
CFLAGS = @CFLAGS@
CPP = @CPP@
INCLUDES = -I. -I$(srcdir)
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
-
-
-
+
-
-
-
+
+
-
-
-
|
vacall-arm.o : vacall-arm.s
$(CC) @GCC_X_NONE@ -c vacall-arm.s
vacall-arm.s : $(srcdir)/vacall-arm.S
$(CPP) $(ASPFLAGS) $(srcdir)/vacall-arm.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//,@,g' -e 's,\$$,#,g' > vacall-arm.s
vacall-armel.o : $(srcdir)/vacall-armel.s
$(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-armel.s
vacall-rs6000.o : $(srcdir)/vacall-rs6000-aix.old.s $(srcdir)/vacall-rs6000-aix.new.s $(srcdir)/vacall-rs6000-sysv4.s $(srcdir)/vacall-rs6000-linux.s $(srcdir)/vacall-rs6000-macos.s
vacall-powerpc.o : $(srcdir)/vacall-powerpc-aix.old.s $(srcdir)/vacall-powerpc-aix.new.s $(srcdir)/vacall-powerpc-sysv4.s $(srcdir)/vacall-powerpc-linux.s $(srcdir)/vacall-powerpc-macos.s
case "$(OS)" in \
aix3*) syntax=aix.old;; \
aix*) syntax=aix.new;; \
linux* | netbsd*) syntax=linux;; \
macos* | darwin*) syntax=macos;; \
*) syntax=sysv4;; \
esac; \
$(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-powerpc-$${syntax}.s ; \
mv vacall-powerpc-$${syntax}.o vacall-powerpc.o
$(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-rs6000-$${syntax}.s ; \
mv vacall-rs6000-$${syntax}.o vacall-rs6000.o
vacall-powerpc64.o : $(srcdir)/vacall-powerpc64.s
$(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-powerpc64.s
vacall-m88k.o : $(srcdir)/vacall-m88k.s
$(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-m88k.s
vacall-convex.o : $(srcdir)/vacall-convex.s
$(CC) @GCC_X_NONE@ -c $(srcdir)/vacall-convex.s
|
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
-
-
-
+
+
+
-
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
|
libvacall.a : $(OBJECTS)
$(RM) libvacall.a
$(AR) $(AR_FLAGS) libvacall.a $(OBJECTS)
$(RANLIB) libvacall.a
install : all force
mkdir -p $(DESTDIR)$(prefix)
mkdir -p $(DESTDIR)$(exec_prefix)
mkdir -p $(DESTDIR)$(libdir)
if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
if [ ! -d $(DESTDIR)$(libdir) ] ; then mkdir $(DESTDIR)$(libdir) ; fi
$(INSTALL_DATA) libvacall.a $(DESTDIR)$(libdir)/libvacall.a
mkdir -p $(DESTDIR)$(includedir)
if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
$(INSTALL_DATA) vacall.h $(DESTDIR)$(includedir)/vacall.h
mkdir -p $(DESTDIR)$(mandir)
mkdir -p $(DESTDIR)$(mandir)/man3
if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
$(INSTALL_DATA) $(srcdir)/vacall.3 $(DESTDIR)$(mandir)/man3/vacall.3
mkdir -p $(DESTDIR)$(datadir)
mkdir -p $(DESTDIR)$(htmldir)
if [ ! -d $(DESTDIR)$(datadir) ] ; then mkdir $(DESTDIR)$(datadir) ; fi
if [ ! -d $(DESTDIR)$(htmldir) ] ; then mkdir $(DESTDIR)$(htmldir) ; fi
$(INSTALL_DATA) $(srcdir)/vacall.html $(DESTDIR)$(htmldir)/vacall.html
installdirs : force
mkdir -p $(DESTDIR)$(prefix)
mkdir -p $(DESTDIR)$(exec_prefix)
mkdir -p $(DESTDIR)$(libdir)
mkdir -p $(DESTDIR)$(includedir)
mkdir -p $(DESTDIR)$(mandir)
mkdir -p $(DESTDIR)$(mandir)/man3
mkdir -p $(DESTDIR)$(datadir)
mkdir -p $(DESTDIR)$(htmldir)
if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
if [ ! -d $(DESTDIR)$(libdir) ] ; then mkdir $(DESTDIR)$(libdir) ; fi
if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi
if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
if [ ! -d $(DESTDIR)$(datadir) ] ; then mkdir $(DESTDIR)$(datadir) ; fi
if [ ! -d $(DESTDIR)$(htmldir) ] ; then mkdir $(DESTDIR)$(htmldir) ; fi
uninstall : force
$(RM) $(DESTDIR)$(libdir)/libvacall.a
$(RM) $(DESTDIR)$(includedir)/vacall.h
$(RM) $(DESTDIR)$(mandir)/man3/vacall.3
$(RM) $(DESTDIR)$(htmldir)/vacall.html
|