1*0Sstevel@tonic-gate# 2*0Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 3*0Sstevel@tonic-gate# 4*0Sstevel@tonic-gate# Copyright (c) 2000 by Sun Microsystems, Inc. 5*0Sstevel@tonic-gate# All rights reserved. 6*0Sstevel@tonic-gate 7*0Sstevel@tonic-gatePLUGINS= minconn passprompt 8*0Sstevel@tonic-gateTARGETS= $(PLUGINS:%=%.so) 9*0Sstevel@tonic-gateOBJS= $(PLUGINS:%=%.o) 10*0Sstevel@tonic-gatePLUGINDIR= /usr/lib/inet/ppp/ 11*0Sstevel@tonic-gateINSTALLED= $(TARGETS:%=$(PLUGINDIR)/%) 12*0Sstevel@tonic-gateCFLAGS= -DPPP_DEFS_IN_NET 13*0Sstevel@tonic-gate 14*0Sstevel@tonic-gateall: $(TARGETS) 15*0Sstevel@tonic-gate 16*0Sstevel@tonic-gateclean: 17*0Sstevel@tonic-gate $(RM) -f $(TARGETS) $(OBJS) 18*0Sstevel@tonic-gate 19*0Sstevel@tonic-gate%.so: %.o 20*0Sstevel@tonic-gate $(LD) -s -G -h $@ -o $@ $^ 21*0Sstevel@tonic-gate 22*0Sstevel@tonic-gateinstall: $(TARGETS) 23*0Sstevel@tonic-gate @test -d $(PLUGINDIR) || mkdir -m 755 -p $(PLUGINDIR) 24*0Sstevel@tonic-gate @cp $(TARGETS) $(PLUGINDIR) && strip $(INSTALLED) 25*0Sstevel@tonic-gate 26*0Sstevel@tonic-gateclobber: clean 27*0Sstevel@tonic-gate $(RM) -f $(INSTALLED) 28