fix for: make -f Makefile.noam

This commit is contained in:
albert 2002-05-29 16:23:55 +00:00
parent 8d65fda5ec
commit a42ae5bc42

View File

@ -76,14 +76,14 @@ endif
# INSTALL LIBRARIES + HEADERS (OPTIONAL) # INSTALL LIBRARIES + HEADERS (OPTIONAL)
libinstall: libinstall:
$(MAKE) -C proc install $(LIBPROCPASS) $(MAKE) -C proc -f Makefile.noam install $(LIBPROCPASS)
clean: clean:
$(RM) -f $(OBJ) $(BPROG) $(UPROG) $(PPROG) $(SPROG) $(RM) -f $(OBJ) $(BPROG) $(UPROG) $(PPROG) $(SPROG)
for i in proc $(SUBDIRS); do $(MAKE) -C $$i clean; done for i in proc $(SUBDIRS); do $(MAKE) -C $$i -f Makefile.noam clean; done
distclean: clean distclean: clean
for i in proc $(SUBDIRS); do $(MAKE) -C $$i clean; done for i in proc $(SUBDIRS); do $(MAKE) -C $$i -f Makefile.noam clean; done
$(RM) -f $(OBJ) $(BPROG) $(UPROG) $(SPROG) \ $(RM) -f $(OBJ) $(BPROG) $(UPROG) $(SPROG) \
proc/.depend proc/.depend
@ -122,15 +122,15 @@ else
endif endif
$(LIB_TGT): $(wildcard proc/*.[ch]) $(LIB_TGT): $(wildcard proc/*.[ch])
$(MAKE) -C proc `basename $(LIB_TGT)` $(LIBPROCPASS) $(MAKE) -C proc -f Makefile.noam `basename $(LIB_TGT)` $(LIBPROCPASS)
# component package setup -- the pattern should be obvious: A build rule and # component package setup -- the pattern should be obvious: A build rule and
# unified executable+documentation install rule. (An extra makefile rule is # unified executable+documentation install rule. (An extra makefile rule is
# needed for those packages which use Imake.) # needed for those packages which use Imake.)
ps: build_ps ps: build_ps
build_ps: ; $(MAKE) -C ps build_ps: ; $(MAKE) -C ps -f Makefile.noam
install_ps: ps ; $(MAKE) -C ps install install_ps: ps ; $(MAKE) -C ps -f Makefile.noam install
# executable dependencies # executable dependencies
kill skill snice top w uptime tload free vmstat utmp : $(LIB_TGT) kill skill snice top w uptime tload free vmstat utmp : $(LIB_TGT)