diff options
author | Roland McGrath <roland@redhat.com> | 1993-02-01 23:22:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-02-01 23:22:42 +0000 |
commit | fe356384aa972d8b4f3f3fda30f826e1a282d9ae (patch) | |
tree | d2aaadbf0c269c9c945e0b583f4bd82ca63dcd24 | |
parent | 69e442ec90a007ec5465eae3adc522f3996b55f9 (diff) | |
download | gunmake-fe356384aa972d8b4f3f3fda30f826e1a282d9ae.tar.gz |
Formerly GNUmakefile.~92~
-rw-r--r-- | GNUmakefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/GNUmakefile b/GNUmakefile index f07d65f..ba79a43 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -30,6 +30,12 @@ extras := $(filter-out getloadavg.o @%@,$(extras)) getloadavg.o LOADLIBES := $(filter-out @%@,$(LOADLIBES)) ALLOCA := $(filter-out @%@,$(ALLOCA)) +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 + # Set `ARCH' to a string for the type of machine. ifndef ARCH ifdef machine @@ -84,9 +90,9 @@ $(archpfx)load.o: load.c $(COMPILE.c) $(LOAD_AVG) $< -o $@ $(archpfx)load.dep: load.c $(mkdep) $(LOAD_AVG) $< | sed 's,$*\.o,& $@,' > $@ -$(archpfx)remote.o: remote.c +$(archpfx)remote.o: remote.c remote-*.c $(COMPILE.c) $(REMOTE) $< -o $@ -$(archpfx)remote.dep: remote.c +$(archpfx)remote.dep: remote.c remote-*.c $(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@ CPPFLAGS := -I$(ARCH) $(CPPFLAGS) -DHAVE_CONFIG_H $(filter-out @%@,$(defines)) @@ -107,11 +113,6 @@ CFLAGS = -g endif LDFLAGS = -g -ifdef yescustoms -REMOTE := -DCUSTOMS -LOADLIBES := libcustoms.a -endif - # Define the command to make dependencies. ifneq "$(findstring gcc,$(CC))" "" # Don't include system directories. |