CWARN0 = -Wall CWARN1 = $(CWARN0) -Wwrite-strings -Wshadow CWARN2 = $(CWARN1) -Wcast-align -Wcast-qual -Waggregate-return CWARN3 = $(CWARN2) -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations CWARN4 = $(CWARN3) -Wconversion -Winline -Wtraditional CWARN = $(CWARN0) # nessus.tmpl # # This file contains all the defines you may want to modify # AR=/usr/bin/ar SHELL = /bin/sh CONFIGURE_ARGS = --prefix=/usr/local i386-unknown-gnu MANROFF = nroff -man rootdir=/mnt/gmirror/ports/security/nessus/work/nessus-core # Autoconf installation directories prefix=/usr/local exec_prefix=${prefix} bindir=${exec_prefix}/bin sbindir=${exec_prefix}/sbin libexecdir=${exec_prefix}/libexec datadir=${prefix}/share sysconfdir=${prefix}/etc sharedstatedir=${prefix}/com localstatedir=${prefix}/var libdir=${exec_prefix}/lib includedir=${prefix}/include oldincludedir=/usr/include infodir=${prefix}/info mandir=${prefix}/man srcdir=${rootdir}/src make_bindir=${rootdir}/bin libsdir=${rootdir}/libs top_builddir = /mnt/gmirror/ports/security/nessus/work/nessus-core include= -I. -I$(rootdir)/include INSTALL=/usr/bin/install -c -o root -g wheel INSTALL_DIR=/usr/bin/install -c -o root -g wheel -d installuser=root # Nessus specific NESSUSD_CONFDIR=${sysconfdir} NESSUSD_STATEDIR=${localstatedir}/nessus NESSUSD_SHAREDSTATEDIR=${sharedstatedir}/nessus NESSUSD_DATADIR=${sysconfdir}/nessus NESSUSD_LIBDIR=${libdir}/nessus NESSUSD_LOGDIR=${localstatedir}/nessus/logs NESSUSD_PLUGINS=${NESSUSD_LIBDIR}/plugins NESSUSD_REPORTS=${NESSUSD_LIBDIR}/reports NESSUS_DIRECTORIES="-DNESSUSD_CONFDIR=\"$(NESSUSD_CONFDIR)\"" "-DNESSUSD_STATEDIR=\"$(NESSUSD_STATEDIR)\"" "-DNESSUSD_DATADIR=\"$(NESSUSD_DATADIR)\"" "-DNESSUSD_LIBDIR=\"${NESSUSD_LIBDIR}\"" "-DNESSUSD_PLUGINS=\"${NESSUSD_PLUGINS}\"" "-DNESSUSD_REPORTS=\"${NESSUSD_REPORTS}\"" -DNESSUSD_SHAREDSTATEDIR=\"${NESSUSD_SHAREDSTATEDIR}\" -DNESSUSD_LOGDIR=\"${NESSUSD_LOGDIR}\" # # The server / client modes do not make a lot of sense # as of today, as the software makes the checks (you need # to be root to start nessusd) # # # # Server mode : (rwxrwx---) # SERVERMODE=0755 # Client mode (rwxr-xr-x) CLIENTMODE=755 # Plugins mode (rw-r--r--) PLUGINSMODE=644 # Plugins directory mode (rwxr-xr-x) PLUGINSDIRMODE=755 # Reports directory mode (rwxrwx---) REPORTSDIRMODE=775 # X11 location X_LIBS= -L/usr/X11R6/lib X_CFLAGS= -I/usr/X11R6/include # library path location RUN_LIBS= # Do we have to use the pthreads ? USE_PTHREADS= # Should we log the error using syslog() ? # Should we use GTK ? USE_GTK = -DUSE_GTK # Build with debugging ? DEBUG = USE_LIBWRAP = # Some defines you may want to modify NESSUS_DEFS=-DHAVE_CONFIG_H $(USE_PTHREADS) $(DEBUG) $(USE_GTK) $(USE_LIBWRAP) DEFS= LDFLAGS= # Your C compiler CC=cc NESSUSCONFIG=/usr/local/bin/nessus-config NASLCONFIG=/usr/local/bin/nasl-config GTKCONFIG_CFLAGS=-I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include GTKCONFIG_LIBS=-L/usr/local/lib -L/usr/X11R6/lib -lgtk-12 -lgdk-12 -lgmodule-12 -lglib-12 -lintl -lXi -lXext -lX11 -lm GLIBCONFIG_CFLAGS=-I/usr/local/include/glib12 GLIBCONFIG_LIBS=-L/usr/local/lib -lglib-12 DL_LIB=-ldl RESOLV_LIB= SOCKET_LIB= NSL_LIB= RPCSVC_LIB=-lrpcsvc COMPAT_LIB= PTHREAD_LIB= C_R_LIB= LIBWRAP= LIBS=-L/usr/local/lib -lnessus -lhosts_gatherer -lpcap-nessus -lutil -lresolv -L/usr/ssl/lib -lssl -lcrypto -ldl CLIENT=client CLIENT_INSTALL=client-install NESSUS_LIB=-lnessus # documentation MAN_NESSUS_1=doc/nessus.1 MAN_NESSUSD_8=doc/nessusd.8 # C compiler options NESSCFLAGS= -I/usr/local/include/nessus -DNESSUS_ON_SSL -DHAVE_SSL -I/usr/ssl/include NASLCFLAGS=-I/usr/local/include/nessus NESSUS_CFLAGS=$(CWARN) $(include) $(NESSCFLAGS) $(NASLCFLAGS) $(NESSUS_DIRECTORIES) CFLAGS=-fno-common LIBS=-L/usr/local/lib -lnessus -lhosts_gatherer -lpcap-nessus -lutil -lresolv -L/usr/ssl/lib -lssl -lcrypto -ldl