home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2J (Developer)
/
os42jdev.iso
/
NextDeveloper
/
Makefiles
/
driverkit
/
Makefile.top_driver
< prev
Wrap
Makefile
|
1994-07-29
|
1KB
|
58 lines
TAR = /usr/bin/gnutar
DSTROOT = /private/tmp/$(NAME)
OBJROOT = /private/tmp/$(NAME).objroot
SYMROOT = /private/tmp/$(NAME).symroot
BUILDIT = `echo ~rc`/bin/buildit
bundle::
@for i in $(BUNDLES) $(TOOLS); do \
(cd $$i; $(MAKE)); \
done
clean debug depend::
@for i in $(BUNDLES) $(TOOLS); do \
(cd $$i; $(MAKE) $@); \
done
installsrc::
@($(TAR) cf - $(OTHERSRCS) PB.project | (cd $(SRCROOT); $(TAR) xf -))
install:: installhdrs before_install
install installhdrs installsrc::
@for i in $(BUNDLES) $(TOOLS); do \
(cd $$i; $(MAKE) $@ \
"OBJROOT=$(OBJROOT)/$$i" \
"SYMROOT=$(SYMROOT)/$$i" \
"DSTROOT=$(DSTROOT)" \
"SRCROOT=$(SRCROOT)/$$i" \
"RC_CFLAGS=$(RC_CFLAGS)" \
"RC_ARCHS=$(RC_ARCHS)"); \
done
install::
@$(MAKE) after_install \
"OBJROOT=$(OBJROOT)" \
"SYMROOT=$(SYMROOT)" \
"DSTROOT=$(DSTROOT)" \
"SRCROOT=$(SRCROOT)" \
"RC_CFLAGS=$(RC_CFLAGS)" \
"RC_ARCHS=$(RC_ARCHS)"
before_install::
after_install::
install_clean::
@for i in $(BUNDLES) $(TOOLS); do \
(cd $$i; $(MAKE) actual_clean \
"OBJROOT=$(OBJROOT)/$$i" \
"SYMROOT=$(SYMROOT)/$$i"); \
done
buildit::
$(BUILDIT) . $(RC_ARCHS)
buildit_again::
$(BUILDIT) . noclean noverify nosum noinstallhdrs noinstallsrc $(RC_ARCHS)