file reorg, pathnames.h, paths.h
[unix-history] / usr / src / old / implog / Makefile
CommitLineData
3000a0a4
KB
1#
2# Copyright (c) 1987 Regents of the University of California.
b8c620d6 3# All rights reserved.
19538291 4#
b8c620d6
KB
5# Redistribution and use in source and binary forms are permitted
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.
16#
7abf8d65 17# @(#)Makefile 5.8 (Berkeley) %G%
19538291 18#
3000a0a4
KB
19CFLAGS= -O
20LIBC= /lib/libc.a
21SRCS= implog.c implogd.c
5c350c49
KB
22OBJS=
23MAN= implog.0 implogd.0
3000a0a4
KB
24
25all: implog implogd
26
5c350c49
KB
27implog: ${LIBC}
28 ${CC} -o $@ $@.c
3000a0a4 29
5c350c49
KB
30implogd: ${LIBC}
31 ${CC} -o $@ $@.c
3000a0a4 32
5c350c49
KB
33clean:
34 rm -f ${OBJS} core implog implogd
3000a0a4 35
5c350c49
KB
36cleandir: clean
37 rm -f ${MAN} tags .depend
3000a0a4 38
5c350c49
KB
39depend: ${SRCS}
40 mkdep -p ${CFLAGS} ${SRCS}
41
42install: ${MAN}
7abf8d65
KB
43 install -s -o bin -g bin -m 755 implog ${DESTDIR}/usr/sbin
44 install -s -o bin -g bin -m 755 implogd ${DESTDIR}/usr/sbin
5c350c49 45 install -c -o bin -g bin -m 444 implog.0 implogd.0 ${DESTDIR}/usr/man/cat8
20194104 46
5c350c49 47lint: ${SRCS}
3000a0a4 48 lint ${CFLAGS} ${SRCS}
20194104 49
5c350c49 50tags: ${SRCS}
3000a0a4 51 ctags ${SRCS}