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 the above copyright notice and this paragraph are 7# duplicated in all such forms and that any documentation, advertising 8# materials, and other materials related to such redistribution and 9# use acknowledge that the software was developed by the University 10# of California, Berkeley. The name of the University may not be 11# used to endorse or promote products derived from this software 12# without specific prior written permission. THIS SOFTWARE IS PROVIDED 13# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 14# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND 15# FITNESS FOR A PARTICULAR PURPOSE. 16# 17# from @(#)Makefile 5.3 (Berkeley) 5/9/89 18# 19 20CFLAGS= -O -bsd -DORIGINAL -DFIX8BIT 21LIBC= /lib/libsys_s.a 22SRCS= login.c setenv.c 23OBJS= login.o setenv.o 24MAN= login.0 25DESTDIR= /usr/local 26 27all: login 28 29login: ${LIBC} ${OBJS} 30 ${CC} -object -o $@ -s ${OBJS} 31 32setenv.o: setenv.c 33 ${CC} ${CFLAGS} -DLIBC_SCCS -c $< 34 35clean: 36 rm -f ${OBJS} core login 37 38cleandir: clean 39 rm -f ${MAN} tags .depend 40 41depend: ${SRCS} 42 mkdep -p ${CFLAGS} ${SRCS} 43 44install: 45 install -s -o root -g bin -m 4755 login ${DESTDIR}/bin/modem-login 46 47lint: ${SRCS} 48 lint ${CFLAGS} ${SRCS} 49 50tags: ${SRCS} 51 ctags ${SRCS} 52