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 | |
57a981eb KB |
6 | # provided that the above copyright notice and this paragraph are |
7 | # duplicated in all such forms and that any documentation, | |
8 | # advertising materials, and other materials related to such | |
9 | # distribution and use acknowledge that the software was developed | |
10 | # by the University of California, Berkeley. The name of the | |
11 | # University may not be used to endorse or promote products derived | |
12 | # from this software without specific prior written permission. | |
13 | # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
14 | # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
15 | # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
ff0cb20f | 16 | # |
369bc2e9 | 17 | # @(#)Makefile 5.4 (Berkeley) %G% |
ff0cb20f | 18 | # |
369bc2e9 | 19 | MAN= adb.0 |
ff0cb20f | 20 | |
369bc2e9 KB |
21 | all depend clean lint tags: FRC |
22 | cd adb.${MACHINE}; make ${MFLAGS} DESTDIR=${DESTDIR} $@ | |
ff0cb20f | 23 | |
369bc2e9 KB |
24 | cleandir: clean |
25 | rm -f ${MAN} tags .depend | |
26 | cd adb.${MACHINE}; make ${MFLAGS} DESTDIR=${DESTDIR} $@ | |
ff0cb20f | 27 | |
1e1795d8 | 28 | SCRIPTDIR= /usr/lib/adb |
369bc2e9 KB |
29 | |
30 | install: ${MAN} | |
31 | rm -rf ${DESTDIR}/${SCRIPTDIR} | |
1e1795d8 KB |
32 | mkdir ${DESTDIR}/${SCRIPTDIR} |
33 | chown bin.bin ${DESTDIR}/${SCRIPTDIR} | |
34 | chmod 755 ${DESTDIR}/${SCRIPTDIR} | |
369bc2e9 KB |
35 | cd adb.${MACHINE}; make ${MFLAGS} DESTDIR=${DESTDIR} $@ |
36 | cd scripts; make ${MFLAGS} DESTDIR=${DESTDIR} $@ | |
37 | cd scripts.${MACHINE}; make ${MFLAGS} DESTDIR=${DESTDIR} $@ | |
38 | install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1 | |
ff0cb20f KB |
39 | |
40 | FRC: |