VPATH = /make-3.81/
srcdir = /make-3.81/
CC = sc
RM = delete
MAKE = smake
CFLAGS =
CPPFLAGS =
LDFLAGS =
defines =
REMOTE = stub
GETOPT = getopt.o getopt1.o
GETOPT_SRC = $(srcdir)getopt.c $(srcdir)getopt1.c $(srcdir)getopt.h
GLOB = Lib glob/glob.lib
ALLOCA = alloca.o
ALLOCA_SRC = $(srcdir)alloca.c
LOADLIBES =
extras = amiga.o
prefix =
exec_prefix =
bindir = sc:c
libdir = lib:
includedir = include:
infodir = doc:
mandir = t:
manext = 1
binprefix =
manprefix = $(binprefix)
install_setgid = false
group = sys
INSTALL_PROGRAM = copy
INSTALL_DATA = copy
INSTALL = copy
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
ETAGS = etags -w
CTAGS = ctags -w
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
rule.o implicit.o default.o variable.o expand.o function.o \
vpath.o version.o ar.o arscan.o signame.o strcache.o hash.o \
remote-$(REMOTE).o $(GLOB) $(GETOPT) $(ALLOCA) $(extras)
srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c \
$(srcdir)file.c $(srcdir)getloadavg.c $(srcdir)misc.c \
$(srcdir)main.c $(srcdir)read.c $(srcdir)remake.c \
$(srcdir)rule.c $(srcdir)implicit.c $(srcdir)default.c \
$(srcdir)variable.c $(srcdir)expand.c $(srcdir)function.c \
$(srcdir)vpath.c $(srcdir)version.c $(srcdir)hash.c \
$(srcdir)remote-$(REMOTE).c \
$(srcdir)ar.c $(srcdir)arscan.c $(srcdir)strcache.c \
$(srcdir)signame.c $(srcdir)signame.h $(GETOPT_SRC) \
$(srcdir)commands.h $(srcdir)dep.h $(srcdir)file.h \
$(srcdir)job.h $(srcdir)make.h $(srcdir)rule.h \
$(srcdir)variable.h $(ALLOCA_SRC) $(srcdir)config.h.in
.SUFFIXES:
.SUFFIXES: .o .c .h .ps .dvi .info .texinfo
all: make
info: make.info
dvi: make.dvi
.PHONY: all check info dvi
make.info: make.texinfo
$(MAKEINFO) -I$(srcdir) $(srcdir)make.texinfo -o make.info
make.dvi: make.texinfo
$(TEXI2DVI) $(srcdir)make.texinfo
make.ps: make.dvi
dvi2ps make.dvi > make.ps
make: $(objs) glob/glob.lib
$(CC) Link $(LDFLAGS) $(objs) $(LOADLIBES) To make.new
-delete quiet make
rename make.new make
.c.o:
$(CC) $(defines) IDir "" IDir $(srcdir)glob \
$(CPPFLAGS) $(CFLAGS) $< $(OUTPUT_OPTION)
glob/glob.lib:
execute <<
cd glob
smake
<
tagsrcs = $(srcs) $(srcdir)remote-*.c
TAGS: $(tagsrcs)
$(ETAGS) $(tagsrcs)
tags: $(tagsrcs)
$(CTAGS) $(tagsrcs)
.PHONY: install installdirs
install:
copy make sc:c
loadavg: loadavg.c config.h
$(CC) $(defines) -DTEST -I. -I$(srcdir) $(CFLAGS) $(LDFLAGS) \
loadavg.c $(LOADLIBES) -o $@
clean: glob-clean
-$(RM) -f make loadavg *.o core make.dvi
distclean: clean glob-realclean
-$(RM) -f Makefile config.h config.status build.sh
-$(RM) -f config.log config.cache
-$(RM) -f TAGS tags
-$(RM) -f make.?? make.??s make.log make.toc make.*aux
-$(RM) -f loadavg.c
realclean: distclean
-$(RM) -f make.info*
mostlyclean: clean
.PHONY: glob-clean glob-realclean
glob-clean glob-realclean:
execute <<
cd glob
smake $@
<
ar.o ar.o: ar.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h dep.h \
arscan.o arscan.o: arscan.c make.h config.h \
getopt.h \
gettext.h \
commands.o commands.o: commands.c make.h config.h \
getopt.h \
gettext.h dep.h filedef.h hash.h variable.h \
job.h commands.h
default.o default.o: default.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h variable.h rule.h \
dep.h job.h commands.h
dir.o dir.o: dir.c make.h config.h \
getopt.h \
gettext.h hash.h \
expand.o expand.o: expand.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h \
job.h commands.h \
variable.h rule.h
file.o file.o: file.c make.h config.h \
getopt.h \
gettext.h dep.h filedef.h \
hash.h job.h commands.h \
variable.h debug.h
function.o function.o: function.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h variable.h dep.h \
job.h commands.h debug.h
getopt.o getopt.o: getopt.c config.h \
getopt1.o getopt1.o: getopt1.c config.h getopt.h \
hash.o hash.o: hash.c make.h config.h \
getopt.h \
gettext.h hash.h
implicit.o implicit.o: implicit.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h rule.h dep.h debug.h \
variable.h job.h \
commands.h
job.o job.o: job.c make.h config.h \
getopt.h \
gettext.h job.h \
debug.h filedef.h hash.h \
commands.h variable.h \
loadavg-getloadavg.o loadavg-getloadavg.o: getloadavg.c config.h \
make.h \
getopt.h \
gettext.h \
main.o main.o: main.c make.h config.h \
getopt.h \
gettext.h dep.h filedef.h hash.h variable.h \
job.h commands.h rule.h \
debug.h getopt.h \
misc.o misc.o: misc.c make.h config.h \
getopt.h \
gettext.h dep.h debug.h
read.o read.o: read.c make.h config.h \
getopt.h \
gettext.h \
dep.h filedef.h hash.h job.h \
commands.h variable.h rule.h debug.h \
remake.o remake.o: remake.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h job.h \
commands.h dep.h \
variable.h debug.h
remote-stub.o remote-stub.o: remote-stub.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h job.h \
commands.h
rule.o rule.o: rule.c make.h config.h \
getopt.h \
gettext.h dep.h filedef.h hash.h job.h \
commands.h variable.h \
rule.h
signame.o signame.o: signame.c make.h config.h \
getopt.h \
gettext.h
strcache.o strcache.o: strcache.c make.h config.h \
getopt.h \
gettext.h hash.h
variable.o variable.o: variable.c make.h config.h \
getopt.h \
gettext.h dep.h filedef.h \
hash.h job.h commands.h \
variable.h rule.h
version.o version.o: version.c config.h
vpath.o vpath.o: vpath.c make.h config.h \
getopt.h \
gettext.h filedef.h hash.h variable.h