# kbc things. # BIG_ENDIAN if the computer this program is running on uses # BIG_ENDIAN (motorolla) byte order, else define LITTLE_ENDIAN (vax, intel) # DEBUG for runtime debug code to be compiled in (for -d flag) # SOCKET for Unix style socket IO # DOS_MENU to compile under MSDOS for the TurboVision config program # MSDOS when building under MessyDos # WATTCP when building under MessyDos and linking with the Waterloo TCP # library. # CURSES to use unix style curses screen manipulation # CURSES5 to use unix sys V style curses screen manipulation # (also define CURSES) # BCCGRX to use Borland style screen manipulation. # SYSVTERM for a System V style Unix terminal support # BSDTERM for BSD style Unix terminal support # # daemon specific switches # UNIX_PASSWD for unix password support # MANSON_AUTH for bob manson's auth library support # SIMP_AUTH for Tom's simple auth support # SIMP_AUTH2 for simpauth2 auth support # additional libraries: # Build options for SunOS 4.1.x cc (Sun3 and Sun4) CC = cc #LIBS = /usr/5lib/libtermcap.a -ldes -lkrb LIBS = CFLAGS = -static -g -DDEBUG -DSOCKET -DSIMP_AUTH2 -DANSI #KFLAGS =-L/usr/local/krb4/lib/krb -L/usr/local/krb4/lib/des -I/usr/local/krb4/include # Build options for SunOS 4.1.x gcc #CC = gcc #CFLAGS = -g -I/usr/5include -DBIG_ENDIAN -DSOCKET -DDEBUG -DCURSES -DCURSES5 -DBSDTERM -traditional-cpp # # Build options for Ultrix cc #CC = cc #LIBS = -lcurses -ltermcap #CFLAGS = -g -DDEBUG -DLITTLE_ENDIAN -DSOCKET -DCURSES -DBSDTERM ## need to add support for cbreak() code in the full screen monitors ## (from MyGetPass) # Build options for Solaris 5.x # ?? # Build options for Dec Alpha # ?? # Build options for AIX 3.2 # No select() system call EXES = kbauth #OBJS = osuasn.o osumisc.o snmp.o snmperr.o snmpcli.o authenticate.o \ # kbauth.o readconfig.o getselect.o dosnmp.o authclient.c \ # libmisc.c #OBJS = osuasn.o osumisc.o snmp.o snmperr.o snmpcli.o authenticate.o \ # kbauth.o readconfig.o getselect.o dosnmp.o OBJS = osuasn.o osumisc.o snmp.o snmperr.o snmpcli.o authenticate.o \ kbauth.o readconfig.o getselect.o dosnmp.o ../simpauth2/s2lib.o ../simpauth2/report.o ../simpauth2/md5.o #all: newversion $(EXES) #all: $(EXES) #newversion: # rm -f version.c #version.c: # sh version.sh #clean: # /bin/rm -f *.o ${EXES} kbauth: $(OBJS) $(CC) $(CFLAGS) $(KFLAGS) -o kbauth $(OBJS) $(LIBS) #depend: # makedepend -- $(CFLAGS) -f Makefile -- *.c # DO NOT DELETE THIS LINE -- make depend depends on it.