head	1.2;
access;
symbols
	bsd_44_lite_2:1.1.1.3
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.07.13.14.18.32;	author peter;	state dead;
branches;
next	1.1;

1.1
date	94.05.27.04.59.20;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.27.04.59.21;	author rgrimes;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	95.12.30.18.48.56;	author peter;	state dead;
branches;
next	1.1.1.3;

1.1.1.3
date	97.07.03.03.21.11;	author bde;	state Exp;
branches;
next	;


desc
@@


1.2
log
@kill the undead
@
text
@#
# @@(#)Makefile	2.1 88/08/01 4.0 RPCSRC
#
# Makefile for rpc protocol compiler
# Copyright (C) 1987, Sun Microsystems, Inc.
#
SRCS= rpc_main.c rpc_hout.c rpc_cout.c rpc_parse.c rpc_scan.c rpc_util.c \
	rpc_svcout.c rpc_clntout.c
HDRS= rpc_util.h rpc_parse.h rpc_scan.h
OBJS= rpc_main.o rpc_hout.o rpc_cout.o rpc_parse.o rpc_scan.o rpc_util.o \
	rpc_svcout.o rpc_clntout.o

GOAL=rpcgen
CFLAGS = -O
DESTDIR=

$(GOAL): $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) -o $@@

install: $(GOAL)
	@@echo "Installing the RPC Protocol Compiler"
	install -s $(GOAL) $(DESTDIR)/usr/bin

lint: $(SRCS) $(HDRS)
	lint $(SRCS)

clean:
	rm -f $(GOAL) $(OBJS)

depend: $(SRCS) $(HDRS)
	@@${CC} ${CFLAGS} -M ${SRCS} > makedep
	@@echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
	@@echo '$$r makedep' >>eddep
	@@echo 'w' >>eddep
	@@cp Makefile makefile.bak
	@@ed - Makefile < eddep
	@@rm eddep makedep makefile.bak

depend.42BSD depend.42bsd:
	cp /dev/null x.c
	for i in $(SRCS) ; do \
              (/bin/grep '^#[         ]*include' x.c $$i | sed \
                      -e '/\.\.\/h/d' \
                      -e '/\.\.\/ufs/d' \
                      -e 's,<\(.*\)>,"/usr/include/\1",' \
                      -e 's/:[^"]*"\([^"]*\)".*/: \1/' \
	                  -e 's/\.c/\.o/' >>makedep); done
	echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
	echo '$$r makedep' >>eddep
	echo 'w' >>eddep
	cp Makefile Makefile.bak
	ed - Makefile < eddep
	rm eddep makedep x.c
	echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
	echo '# see make depend above' >> Makefile

# DO NOT DELETE THIS LINE


@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@BSD 4.4 Lite Lib Sources
@
text
@@


1.1.1.2
log
@recording cvs-1.6 file death
@
text
@@


1.1.1.3
log
@Import Lite2's src/lib, except for non-i386 machine-dependent directories,
libc/db, libc/gen/crypt.* and libtelnet.  All affected files except 3
unimportant ones have already left the vendor branch.
@
text
@@
