add appropriate copyright notice
[unix-history] / usr / src / old / adb / Makefile
CommitLineData
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 14SUBDIR= scripts scripts.${MACHINE} adb.${MACHINE}
ff0cb20f
KB
15
16all: FRC
1e1795d8 17 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS}); done
ff0cb20f
KB
18
19depend: FRC
1e1795d8 20 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} depend); done
ff0cb20f 21
1e1795d8 22SCRIPTDIR= /usr/lib/adb
ff0cb20f 23install: 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
30clean: FRC
1e1795d8 31 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
ff0cb20f
KB
32
33FRC: