X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/63d11f9bb5011fcde8edc73baee8a465edb4145d..99438a311ad185ce6b96835b16068329f532d519:/usr/src/Makefile diff --git a/usr/src/Makefile b/usr/src/Makefile index 9b615fc9f4..19a16b21d2 100644 --- a/usr/src/Makefile +++ b/usr/src/Makefile @@ -1,39 +1,3 @@ -# @(#)Makefile 4.7 (Berkeley) %G% -# -DESTDIR= -CFLAGS= -O +SUBDIR= bin include lib libexec sbin usr.bin usr.sbin -# Programs that live in subdirectories, and have makefiles of their own. -# -LIBDIR= lib usr.lib -SRCDIR= bin usr.bin etc ucb new games local - -all: ${LIBDIR} ${SRCDIR} - -${LIBDIR} ${SRCDIR}: FRC - cd $@; make ${MFLAGS} - -build: FRC - cd lib; make ${MFLAGS} - echo installing /lib - cd lib; make ${MFLAGS} install - cd usr.lib; make ${MFLAGS} - echo installing /usr/lib - cd usr.lib; make ${MFLAGS} install - -for i in ${SRCDIR}; do (cd $$i; make ${MFLAGS}); done - -FRC: - -install: - -for i in ${SUBDIR}; do \ - (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done - -tags: - for i in include lib usr.lib; do \ - (cd $$i; make ${MFLAGS} TAGSFILE=../tags tags); \ - done - sort -u +0 -1 -o tags tags - -clean: - rm -f a.out core *.s *.o - for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done +.include