File:  [CSRG BSD Unix] / 43BSDTahoe / usr.bin / xsend / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

#
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved.  The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
#	@(#)Makefile	4.4	(Berkeley)	6/19/87
#
CFLAGS=	-O
LIBC=	/lib/libc.a
SRCS=	enroll.c lib.c xget.c xsend.c
OBJS=	enroll.o lib.o xget.o xsend.o

all: enroll xsend xget

enroll: enroll.o lib.o ${LIBC}
	${CC} enroll.o lib.o -lmp -o $@

xget: xget.o lib.o ${LIBC}
	${CC} xget.o lib.o -lmp -o $@

xsend: xsend.o lib.o ${LIBC}
	${CC} xsend.o lib.o -lmp -o $@

clean: FRC
	rm -f ${OBJS} core enroll xsend xget

depend: FRC
	mkdep ${CFLAGS} ${SRCS}

install: FRC
	install -s -o bin -g bin -m 755 enroll ${DESTDIR}/usr/bin/enroll
	install -s -o bin -g bin -m 755 xget ${DESTDIR}/usr/bin/xget
	install -s -o bin -g bin -m 755 xsend ${DESTDIR}/usr/bin/xsend

lint: FRC
	lint ${CFLAGS} enroll.c lib.c
	lint ${CFLAGS} xget.c lib.c
	lint ${CFLAGS} xsend.c lib.c

tags: FRC
	ctags enroll.c lib.c
	ctags -a xget.c
	ctags -a xsend.c
	sort -o tags tags

FRC:

# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

enroll.o: enroll.c xmail.h /usr/include/stdio.h /usr/include/mp.h
enroll.o: /usr/include/pwd.h /usr/include/sys/types.h
lib.o: lib.c xmail.h /usr/include/stdio.h /usr/include/mp.h
xget.o: xget.c xmail.h /usr/include/stdio.h /usr/include/mp.h
xget.o: /usr/include/sys/types.h /usr/include/sys/dir.h /usr/include/ctype.h
xget.o: /usr/include/pwd.h /usr/include/sys/stat.h
xsend.o: xsend.c xmail.h /usr/include/stdio.h /usr/include/mp.h
xsend.o: /usr/include/sys/types.h /usr/include/pwd.h /usr/include/sys/stat.h
xsend.o: /usr/include/sys/dir.h

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.