2 # Minimum environment and virtual path setup
6 top_srcdir = @top_srcdir@
15 exec_prefix = @exec_prefix@
20 includedir = @includedir@/net-snmp
21 ucdincludedir = @includedir@/ucd-snmp
23 man1dir = $(mandir)/man1
24 man3dir = $(mandir)/man3
25 man5dir = $(mandir)/man5
26 man8dir = $(mandir)/man8
27 snmplibdir = $(datadir)/snmp
28 mibdir = $(snmplibdir)/mibs
29 persistentdir = @PERSISTENT_DIRECTORY@
35 INSTALL = $(LIBTOOL) --mode=install @INSTALL@
36 INSTALL_DATA = @INSTALL_DATA@
40 AUTOHEADER = @AUTOHEADER@
45 CFLAGS = @CFLAGS@ @DEVFLAGS@
46 EXTRACPPFLAGS = @EXTRACPPFLAGS@
48 LIBTOOL = @LIBTOOL@ @LIBTOOLFLAGS@
51 # Misc Compiling Stuff
53 # version number is prefixed by a 0 for a better shared library version number
55 # ok, use libtool proper versioning:
59 # generally, LIBCURRENT should stay the same unless major changes occur.
60 # Increment REVISION every release.
61 # Increment AGE if new stuff is available.
62 LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o
65 LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir)
66 LINK = $(LIBTOOL) --mode=link $(CC)
73 $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<