summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-03-18 01:34:17 +0000
committerRoland McGrath <roland@redhat.com>1993-03-18 01:34:17 +0000
commitbfe005e8a04378c558dfab113ba206e08af3da21 (patch)
tree4fba252ea5eeb4232f98bd0532a86e3381cac7de
parentf9b50f64362184425ae05431d04be3c0bba1fa48 (diff)
downloadgunmake-bfe005e8a04378c558dfab113ba206e08af3da21.tar.gz
Formerly GNUmakefile.~96~
-rw-r--r--GNUmakefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 18c85ea..9a83b34 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -30,6 +30,16 @@ extras := $(filter-out getloadavg.o @%@,$(extras)) getloadavg.o
LOADLIBES := $(filter-out @%@,$(LOADLIBES))
ALLOCA := $(filter-out @%@,$(ALLOCA))
+customs=yes
+ifdef customs
+REMOTE := cstms
+defines := $(defines) -Ipmake/customs -Ipmake/lib/include
+LOADLIBES := $(addprefix pmake/customs/,customslib.o rpc.o xlog.o) \
+ pmake/lib/sprite/libsprite.a
+else
+REMOTE := stub
+endif
+
# Set `ARCH' to a string for the type of machine.
ifndef ARCH
ifdef machine
@@ -100,12 +110,6 @@ else # Not ARCH
prog := make
endif
-ifdef customs
-REMOTE := -DCUSTOMS -Ipmake/customs -Ipmake/lib/include
-LOADLIBES := $(addprefix pmake/customs/,customslib.o rpc.o xlog.o) \
- pmake/lib/sprite/libsprite.a
-endif
-
ifneq "$(findstring gcc,$(CC))" ""
CFLAGS = -g -W -Wunused -Wpointer-arith -Wreturn-type -Wswitch
else