top_builddir=../..

# use GNU vpath, if available, to only set a path for source and headers
# VPATH will pick up objects too, which is bad if you are sharing a
# source dir...
@GNU_vpath@ %.h $(srcdir)
@GNU_vpath@ %.c $(srcdir)
# fallback to regular VPATH for non-gnu...
@NON_GNU_VPATH@ $(srcdir)


CPPFLAGS= $(TOP_INCLUDES) -I. $(AGENT_INCLUDES) $(MIBGROUP_INCLUDES) \
	$(SNMPLIB_INCLUDES) @CPPFLAGS@ $(LIB_CFLAGS)

# Need a special .c -> .o definition here to make sure we place the
# object files in the sub directory.

.c.o:
	$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<

OBJS  = @mib_module_list_o@
LOBJS = @mib_module_list_lo@
SRCS  = @mib_module_list_c@

all: standardall $(LOBJS)

