$NetBSD: patch-aa,v 1.3 2004/02/19 19:03:17 kristerw Exp $ --- /dev/null 2003-05-31 11:34:06.000000000 -0400 +++ Makefile 2003-05-31 11:52:33.000000000 -0400 @@ -0,0 +1,23 @@ +OBJS = asyncdns.o config.o connection.o filedb.o listen.o m_chat.o m_file.o m_keydist.o m_ping.o m_search.o m_upload.o mqueue.o mqueuelist.o netkern.o sha.o util.o xfers.o xferwnd.o srchwnd.o srvmain.o blowfish.o m_lcaps.o + + +RSAOBJS = nn.o prime.o r_random.o rsa.o # md5c.o + +DEBUGFLAG = -s +#CXXFLAGS = -O2 $(DEBUGFLAG) -pipe -march=pentiumpro +#CFLAGS = -O2 $(DEBUGFLAG) -pipe -march=pentiumpro + +all: wastesrv + + +wastesrv: $(OBJS) $(RSAOBJS) + $(CXX) $(DEBUGFLAG) -o wastesrv $(OBJS) $(RSAOBJS) ${LDFLAGS} -lpthread + +md5c.o: rsa/md5c.c +nn.o: rsa/nn.c +prime.o: rsa/prime.c +r_random.o: rsa/r_random.c +rsa.o: rsa/rsa.c + +clean: + -rm *.o wastesrv