# Generated automatically from Makefile.in by configure.
# Minimum environment and virtual path setup
SHELL = /bin/sh
srcdir = .
top_srcdir = ..


# Paths
prefix = /usr
exec_prefix = /usr
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libdir = ${exec_prefix}/lib
datadir = ${prefix}/share
includedir=${prefix}/include/ucd-snmp
mandir = ${prefix}/man
man1dir = $(mandir)/man1
man3dir = $(mandir)/man3
man5dir = $(mandir)/man5
man8dir = $(mandir)/man8
snmplibdir = $(datadir)/snmp
mibdir = $(snmplibdir)/mibs

# Programs
INSTALL = /usr/bin/install -c
SED = sed
RANLIB=ranlib

# Compiler arguments
CFLAGS = -O2 -m486 -fno-strength-reduce -g -Dlinux
EXTRACPPFLAGS = -x c
LDFLAGS=  

# Shared library commands (or not)
SHLIB_CFLAGS=-fpic -shared
SHLIB_EXTENSION=so
SHLIB_LDCONFIG_CMD=PATH="$$PATH:/sbin" ldconfig -n $(libdir)
SHLIB_LD_CMD=ld -r -o
CC_RUNTIME_ARG=
SCRIPTS=snmpcheck tkmib

snmpcheck: snmpcheck.def ../sedscript
	$(SED) -f ../sedscript $(srcdir)/snmpcheck.def > snmpcheck
	chmod a+x snmpcheck

clean:
	rm -f snmpcheck

install:
	@for i in $(SCRIPTS) ; do $(INSTALL) $$i $(bindir) ; echo "install:  installed $$i in $(bindir)" ; done
