| 1 | # |
| 2 | # Copyright (c) 1988 Regents of the University of California. |
| 3 | # All rights reserved. |
| 4 | # |
| 5 | # Redistribution and use in source and binary forms are permitted |
| 6 | # provided that this notice is preserved and that due credit is given |
| 7 | # to the University of California at Berkeley. The name of the University |
| 8 | # may not be used to endorse or promote products derived from this |
| 9 | # software without specific prior written permission. This software |
| 10 | # is provided ``as is'' without express or implied warranty. |
| 11 | # |
| 12 | # @(#)Makefile 4.13 (Berkeley) %G% |
| 13 | # |
| 14 | SUBDIR= lib src aux |
| 15 | |
| 16 | all: ${SUBDIR} |
| 17 | |
| 18 | ${SUBDIR}: FRC |
| 19 | cd $@; make ${MFLAGS} |
| 20 | |
| 21 | clean: FRC |
| 22 | for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done |
| 23 | |
| 24 | depend: FRC |
| 25 | for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} depend); done |
| 26 | |
| 27 | install: FRC |
| 28 | -mkdir ${DESTDIR}/usr/spool/mqueue |
| 29 | chown root.wheel ${DESTDIR}/usr/spool/mqueue |
| 30 | chmod 775 ${DESTDIR}/usr/spool/mqueue |
| 31 | for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} install); done |
| 32 | |
| 33 | FRC: |