GMKPATH = .. include $(GMKPATH)/Makefile.config #if you are using the SecurID module, define SECURDIR to be the source #directory where the SecurID libraries and include files are. #SECURDIR= /var/ace/client #SECURLIB= $(SECURDIR)/sdclient.a $(FWLIB) #SECURINC= -I$(SECURDIR) #SECUROBJ= securid.o #if you are using the Digital Pathways SNK module, include this: #this also requires DES routines below SNKOBJS = snk.o #if you are using link-level encryption code, this should be the path #to a library that contains DES routines (NOT SUPPLIED!) #DESLIB= /usr/lib/libdes.a #DESINC= -I../../libdes #security protocol modules MODLIBS = $(SKEYLIB) $(SECURLIB) $(DESLIB) CFLAGS = -I.. -I../nlib $(COPT) -I$(DBM_INCDIR) -DAUTHSRV_SOCK_PATH=\"$(AUTHSRV_SOCK_PATH)\" LDFLAGS = $(LDFL) -L.. $(MODLIBS) $(FWLIB) $(DBMLIB) -lfwall $(AUXLIB) BINOBJS = authmgr authsrv authdump authload PCBOBJS = authadduser.sh MANOBJS = authdump.8 authmgr.8 authsrv.8 SRVOBJS = proto.o db.o pass.o skey.o skey_put.o $(SNKOBJS) $(SECUROBJ) \ gp_list.o mdauth.o authsrv.o MGROBJS = authmgr.o DMPOBJS = authdump.o db.o gp_list.o LODOBJS = authload.o db.o gp_list.o SKKOBJS = snkkey.o ALLOBJS = $(SNKOBJS) $(MGROBJS) $(SRVOBJS) $(DMPOBJS) $(LODOBJS) $(BINOBJS) $(MANOBJS) all: $(ALLOBJS) authmgr: $(MGROBJS) $(OFWTKLINK) $(MGROBJS) authsrv: $(SRVOBJS) $(OFWTKLINK) $(SRVOBJS) authdump: $(DMPOBJS) $(OFWTKLINK) $(DMPOBJS) authload: $(LODOBJS) $(OFWTKLINK) $(LODOBJS) snkkey: $(SKKOBJS) $(OFWTKLINK) $(SKKOBJS)