Commit | Line | Data |
---|---|---|
ff0cb20f KB |
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 | # | |
1e1795d8 | 12 | # @(#)Makefile 5.2 (Berkeley) %G% |
ff0cb20f | 13 | # |
1e1795d8 | 14 | SUBDIR= scripts scripts.${MACHINE} adb.${MACHINE} |
ff0cb20f KB |
15 | |
16 | all: FRC | |
1e1795d8 | 17 | for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS}); done |
ff0cb20f KB |
18 | |
19 | depend: FRC | |
1e1795d8 | 20 | for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} depend); done |
ff0cb20f | 21 | |
1e1795d8 | 22 | SCRIPTDIR= /usr/lib/adb |
ff0cb20f | 23 | install: FRC |
1e1795d8 KB |
24 | rm -rf ${SCRIPTDIR} |
25 | mkdir ${DESTDIR}/${SCRIPTDIR} | |
26 | chown bin.bin ${DESTDIR}/${SCRIPTDIR} | |
27 | chmod 755 ${DESTDIR}/${SCRIPTDIR} | |
28 | for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} install); done | |
ff0cb20f KB |
29 | |
30 | clean: FRC | |
1e1795d8 | 31 | for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done |
ff0cb20f KB |
32 | |
33 | FRC: |