1# 2# Makefile for plugins on Solaris 2 3# 4# $Id$ 5# 6 7include ../../svr4/Makedefs 8 9CFLAGS = -c -O -I.. -I../../include $(COPTS) 10LDFLAGS = -G 11 12all: minconn.so 13 14minconn.so: minconn.o 15 ld -o $@ $(LDFLAGS) -h $@ minconn.o 16 17minconn.o: minconn.c 18 $(CC) $(CFLAGS) -c $? 19 20passprompt.so: passprompt.o 21 ld -o $@ $(LDFLAGS) -h $@ passprompt.o 22 23passprompt.o: passprompt.c 24 $(CC) $(CFLAGS) -c $? 25 26clean: 27 rm -f *.o *.so 28