Formerly compatMakefile.~67~

This commit is contained in:
Roland McGrath 1993-03-11 19:25:31 +00:00
parent 19c3ead040
commit ab9034ef4e

View file

@ -38,6 +38,10 @@ LDFLAGS = @LDFLAGS@
# NeXT 1.0a uses an old version of GCC, which required -D__inline=inline. # NeXT 1.0a uses an old version of GCC, which required -D__inline=inline.
defines = @DEFS@ -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" defines = @DEFS@ -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\"
# Which flavor of remote job execution support to use.
# The code is found in `remote-$(REMOTE).c'.
REMOTE = @REMOTE@
# If you are using the GNU C library, or have the GNU getopt functions in # If you are using the GNU C library, or have the GNU getopt functions in
# your C library, you can comment these out. # your C library, you can comment these out.
GETOPT = getopt.o getopt1.o GETOPT = getopt.o getopt1.o
@ -61,10 +65,6 @@ ALLOCA_SRC = $(srcdir)/alloca.c
# alloca.c instead on those machines. # alloca.c instead on those machines.
LOADLIBES = @LIBS@ LOADLIBES = @LIBS@
# If there are remote execution facilities defined,
# enable them with switches here (see remote-*.c).
REMOTE =
# Any extra object files your system needs. # Any extra object files your system needs.
extras = @LIBOBJS@ extras = @LIBOBJS@
@ -113,15 +113,16 @@ ETAGS = etags -tw
CTAGS = ctags -tw CTAGS = ctags -tw
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \ objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
remote.o rule.o implicit.o default.o variable.o expand.o \ rule.o implicit.o default.o variable.o expand.o function.o \
function.o vpath.o version.o ar.o arscan.o signame.o \ vpath.o version.o ar.o arscan.o signame.o remote-$(REMOTE).o \
$(GLOB) $(GETOPT) $(ALLOCA) $(extras) $(GLOB) $(GETOPT) $(ALLOCA) $(extras)
srcs = $(srcdir)/commands.c $(srcdir)/job.c $(srcdir)/dir.c \ srcs = $(srcdir)/commands.c $(srcdir)/job.c $(srcdir)/dir.c \
$(srcdir)/file.c $(srcdir)/getloadavg.c $(srcdir)/misc.c \ $(srcdir)/file.c $(srcdir)/getloadavg.c $(srcdir)/misc.c \
$(srcdir)/main.c $(srcdir)/read.c $(srcdir)/remake.c \ $(srcdir)/main.c $(srcdir)/read.c $(srcdir)/remake.c \
$(srcdir)/remote.c $(srcdir)/rule.c $(srcdir)/implicit.c \ $(srcdir)/rule.c $(srcdir)/implicit.c $(srcdir)/default.c \
$(srcdir)/default.c $(srcdir)/variable.c $(srcdir)/expand.c \ $(srcdir)/variable.c $(srcdir)/expand.c $(srcdir)/function.c \
$(srcdir)/function.c $(srcdir)/vpath.c $(srcdir)/version.c \ $(srcdir)/vpath.c $(srcdir)/version.c \
$(srcdir)/remote-$(REMOTE).c \
$(srcdir)/ar.c $(srcdir)/arscan.c \ $(srcdir)/ar.c $(srcdir)/arscan.c \
$(srcdir)/signame.c $(srcdir)/signame.h $(GETOPT_SRC) \ $(srcdir)/signame.c $(srcdir)/signame.h $(GETOPT_SRC) \
$(srcdir)/commands.h $(srcdir)/dep.h $(srcdir)/file.h \ $(srcdir)/commands.h $(srcdir)/dep.h $(srcdir)/file.h \
@ -155,9 +156,6 @@ make: $(objs)
.c.o: .c.o:
$(CC) $(defines) -c -I. -I$(srcdir) -I$(srcdir)/glob \ $(CC) $(defines) -c -I. -I$(srcdir) -I$(srcdir)/glob \
$(CFLAGS) $< $(OUTPUT_OPTION) $(CFLAGS) $< $(OUTPUT_OPTION)
remote.o: remote.c $(srcdir)/remote-*.c
$(CC) $(defines) $(REMOTE) -c -I. -I$(srcdir) \
$(CFLAGS) $(srcdir)/remote.c
# For some losing Unix makes. # For some losing Unix makes.
SHELL = /bin/sh SHELL = /bin/sh