summaryrefslogtreecommitdiff
path: root/agent/mibgroup/Makefile.in
blob: f641ab7077d9ac87327927a2a53508f66bd7e8d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
top_builddir=../..
# currently assumes gcc:    (XXX: fix via configure tests)
DLFLAGS=-fPIC -shared

# 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)

OTHERCLEANTARGETS=@dllcleans@

# 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 $@ $<

@mib_module_list_o@
@mib_module_list_lo@
@mib_module_list_c@

OBJS  = $(mib_module_list_o)
LOBJS = $(mib_module_list_lo)
SRCS  = $(mib_module_list_c)

all: standardall $(LOBJS)

@module_rules@