xref: /csrg-svn/old/ar11/Makefile (revision 37944)
136041Sbostic#
236041Sbostic# Copyright (c) 1988 Regents of the University of California.
336041Sbostic# All rights reserved.
436041Sbostic#
536041Sbostic# Redistribution and use in source and binary forms are permitted
636041Sbostic# provided that the above copyright notice and this paragraph are
736041Sbostic# duplicated in all such forms and that any documentation, advertising
836041Sbostic# materials, and other materials related to such redistribution and
936041Sbostic# use acknowledge that the software was developed by the University
1036041Sbostic# of California, Berkeley.  The name of the University may not be
1136041Sbostic# used to endorse or promote products derived from this software
1236041Sbostic# without specific prior written permission.  THIS SOFTWARE IS PROVIDED
1336041Sbostic# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
1436041Sbostic# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
1536041Sbostic# FITNESS FOR A PARTICULAR PURPOSE.
1636041Sbostic#
17*37944Sbostic# @(#)Makefile	5.2 (Berkeley) 05/11/89
1836041Sbostic#
1936041Sbostic
2036041SbosticCFLAGS=	-O
2136041SbosticLIBC=	/lib/libc.a
2236041SbosticSRCS=	ar11.c
2336041SbosticOBJS=
2436041SbosticMAN=	ar11.0
2536041Sbostic
2636041Sbosticall: ar11
2736041Sbostic
2836041Sbosticar11: ${LIBC}
2936041Sbostic	${CC} -o $@ ${CFLAGS} $@.c
3036041Sbostic
3136041Sbosticclean:
3236041Sbostic	rm -f ${OBJS} core ar11
3336041Sbostic
3436041Sbosticcleandir: clean
3536041Sbostic	rm -f ${MAN} tags .depend
3636041Sbostic
3736041Sbosticdepend: ${SRCS}
3836041Sbostic	mkdep -p ${CFLAGS} ${SRCS}
3936041Sbostic
4036041Sbosticinstall: ${MAN}
41*37944Sbostic	install -s -o bin -g bin -m 755 ar11 ${DESTDIR}/usr/ucb
4236041Sbostic	install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1
4336041Sbostic
4436041Sbosticlint: ${SRCS}
4536041Sbostic	lint ${CFLAGS} ${SRCS}
4636041Sbostic
4736041Sbostictags: ${SRCS}
4836041Sbostic	ctags ${SRCS}
49