1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

* Makefile.in (distfiles): Update for the new directory structure.

(plugin_distfiles, md_distfiles, time_distfiles): New variables.
(dist-dir): New target; use all the above to build a subtree of a
distribution.
(manifest): Target deleted.
This commit is contained in:
Jim Blandy 1996-10-10 00:53:04 +00:00
parent e4d24f3af1
commit e093029958

View file

@ -44,17 +44,24 @@ LDFLAGS = -g
#### End of system configuration section. ####
distfiles = configure configure.in Makefile.in CHANGES README \
README.MISC READNE.PORT b.h copyright.h meas.c qt.c qt.h \
i386.README i386.h i386.s i386_b.s \
solaris.README sparc.h sparc.s sparc_b.s \
_sparc.h _sparc.s _sparc_b.s \
mips-irix5.s mips.h mips.s mips_b.s \
null.c null.README
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
manifest= $(distfiles)
all: @target_all@
@ -62,11 +69,28 @@ libqt.a: $(all_objs)
$(AR) $(AR_FLAGS) libqt.a $(all_objs)
$(RANLIB) libqt.a
SUBDIR=.
manifest:
for file in $(manifest) ; \
do echo $(SUBDIR)/$$file ; \
# 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)