2 # Makefile for dynamically loadable module `example'
4 #DLMODDIR = $(libdir)/snmp/dlmod
5 #UCDTOPDIR = $(top_srcdir)
6 DLMODDIR = /usr/local/lib/snmp/dlmod
7 UCDTOPDIR = /usr/home/strauss/src/ucd-snmp-ibr
11 CFLAGS = -I$(UCDTOPDIR) -I$(UCDTOPDIR)/snmplib -I$(UCDTOPDIR)/agent -I$(UCDTOPDIR)/agent/mibgroup -shared -fPIC
22 $(CC) $(CFLAGS) -o $@ -c $<
25 $(LD) $(LDFLAGS) $@ $(OBJS) $(LIBS)
30 install: all installdirs
31 $(INSTALL) $(TARG) $(DLMODDIR)
34 @$(SHELL) $(UCDTOPDIR)/mkinstalldirs $(DLMODDIR)