# # Copyright (c) 1988 Regents of the University of California. # All rights reregisterded. # # Redistribution and use in source and binary forms are permitted # provided that the above copyright notice and this paragraph are # duplicated in all such forms and that any documentation, advertising # materials, and other materials related to such redistribution and # use acknowledge that the software was developed by the University # of California, Berkeley. The name of the University may not be # used to endorse or promote products derived from this software # without specific prior written permission. THIS SOFTWARE IS PROVIDED # ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, # WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND # FITNESS FOR A PARTICULAR PURPOSE. # # @(#)Makefile 5.3 (Berkeley) 9/20/88 # CDEFS= -DKERBEROS CFLAGS= -O LIBC= /lib/libc.a KLIB= /usr/local/lib/libkrb.a DESLIB= /usr/local/lib/libdes.a KDBLIB= /usr/local/lib/libkrb_dbm.a INCDIR= /usr/include/kerberos SRC1= registerd.c SRC2= register.c SRC3= make_keypair.c OBJS= MAN= register.0 registerd.0 make_keypair.0 all: registerd register make_keypair registerd: ${SRC1} ${LIBC} ${KLIB} ${DESLIB} registerd.c ${CC} -o $@ -I${INCDIR} ${CFLAGS} ${CDEFS} ${SRC1} ../lib/des_rw.o -lutil -lkrb -lkrb_dbm -ldes register: ${SRC2} ${LIBC} ${KLIB} ${DESLIB} register.c ${CC} -o $@ -I${INCDIR} ${CFLAGS} ${CDEFS} ${SRC2} ../lib/des_rw.o -lutil -lkrb -ldes make_keypair: ${SRC3} ${LIBC} ${KLIB} ${DESLIB} make_keypair.c ${CC} -o $@ -I${INCDIR} ${CFLAGS} ${CDEFS} ${SRC3} ../lib/des_rw.o -lutil -lkrb -lkrb_dbm -ldes clean: rm -f ${OBJS} core registerd register make_keypair cleandir: clean rm -f ${MAN} tags .depend depend: ${SRC1} ${SRC2} ${SRC3} mkdep -p ${CFLAGS} ${SRC1} ${SRC2} ${SRC3} install: ${MAN} install -s -o bin -g bin -m 755 registerd ${DESTDIR}/etc/registerd install -s -o bin -g bin -m 755 register ${DESTDIR}/usr/local/register install -c -o bin -g bin -m 444 registerd.0 ${DESTDIR}/usr/man/cat8 install -c -o bin -g bin -m 444 register.0 ${DESTDIR}/usr/man/cat1 install -c -o bin -g bin -m 444 make_keypair.0 ${DESTDIR}/usr/man/cat8 lint: ${SRC1} ${SRC2} ${SRC3} lint ${CFLAGS} ${SRC1} ${SRC2} ${SRC3} tags: ${SRC1} ${SRC2} ${SRC3} ctags ${SRC1} ${SRC2} ${SRC3}