blob: d47b4a05be186a2dfa649659a8aed114a4117f8c (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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
|
# Makefile for libqt
#
# Copyright (C) 1996, Free Software Foundation, Inc.
#
# This file is part of GNU GUILE.
#
# GNU GUILE is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GNU GUILE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU GUILE; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = $(prefix)
libdir = $(exec_prefix)/lib
includedir = $(prefix)/include/threads
infodir = $(prefix)/info
CC = @CC@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
DEFS = @DEFS@
LIBS = @LIBS@
AR_FLAGS = rc
RANLIB = @RANLIB@
CFLAGS = -g
XCFLAGS = $(CFLAGS) -I.
LDFLAGS = -g
#### End of system configuration section. ####
distfiles = .cvsignore CHANGES ChangeLog INSTALL Makefile.base \
Makefile.in README README.MISC README.PORT b.h config configure \
configure.in copyright.h meas.c qt.c qt.h.in stp.c stp.h
plugin_distfiles = OPT greet
md_distfiles = \
default.Makefile null.README null.c \
axp.1.Makefile axp.2.Makefile axp.Makefile axp.README axp.c \
axp.h axp.s axp_b.s \
hppa-cnx.Makefile hppa.Makefile hppa.h hppa.s hppa_b.s \
i386.README i386.h i386.s i386_b.s \
ksr1.Makefile ksr1.h ksr1.s ksr1_b.s \
m88k.Makefile m88k.c m88k.h m88k.s m88k_b.s \
mips-irix5.s mips.h mips.s mips_b.s \
solaris.README sparc.h sparc.s sparc_b.s _sparc.s _sparc_b.s \
vax.h vax.s vax_b.s
time_distfiles = README.time assim cswap go init prim raw
all_objs= qt.o qtmds.o qtmdc.o
all: @target_all@
libqt.a: $(all_objs)
$(AR) $(AR_FLAGS) libqt.a $(all_objs)
$(RANLIB) libqt.a
# The `dist' target in the top-level Makefile uses this `dist-dir'
# target to select the appropriate files for distribution from the
# directory containing this Makefile.
.PHONY: dist-dir
dist-dir:
mkdir ${DISTDIR}
for f in ${distfiles}; do \
ln ${srcdir}/$$f ${DISTDIR}; \
done
mkdir ${DISTDIR}/PLUGIN
for f in ${plugin_distfiles}; do \
ln ${srcdir}/PLUGIN/$$f ${DISTDIR}/PLUGIN; \
done
mkdir ${DISTDIR}/md
for f in ${md_distfiles}; do \
ln ${srcdir}/md/$$f ${DISTDIR}/md; \
done
mkdir ${DISTDIR}/time
for f in ${time_distfiles}; do \
ln ${srcdir}/time/$$f ${DISTDIR}/time; \
done
install: all
test -d $(prefix) || mkdir $(prefix)
test -d $(libdir) || mkdir $(libdir)
$(INSTALL) libqt.a $(libdir)/libqt.a
$(RANLIB) $(libdir)/libqt.a
$(INSTALL) $(srcdir)/qt.h $(includedir);
uninstall:
-rm -f $(libdir)/libqt.a
-rm -f $(includedir)/qt.h
info:
clean:
-rm -f guile
-rm -f $(all_objs)
distclean: clean
-rm -f config.cache
-rm -f config.log
-rm -f config.status
realclean: distclean
###
qt.o: $(srcdir)/qt.c @qtmd_h@ qt.h $(srcdir)/copyright.h
$(CC) -o qt.o -c $(CPPFLAGS) $(DEFS) $(XCFLAGS) -I$(srcdir) $(srcdir)/qt.c
qtmds.o: @qtmds_s@
$(CC) -o qtmds.o -c $(CPPFLAGS) $(DEFS) $(XCFLAGS) -I$(srcdir) @qtmds_s@
qtmdc.o: @qtmdc_c@ @qtmd_h@
$(CC) -o qtmdc.o -c $(CPPFLAGS) $(DEFS) $(XCFLAGS) -I$(srcdir) @qtmdc_c@
|