2 include @top_srcdir@/Rules.make
4 CFLAGS+=-I@top_srcdir@ -I@top_srcdir@/libipulog/include -I@top_srcdir@/include `xml2-config --cflags`
5 SH_CFLAGS:=$(CFLAGS) -fPIC
7 # Normally You should not need to change anything below
10 SHARED_LIBS=ulogd_DRL.so
11 OBJECTS=config.o drl_state.o estimate.o logging.o peer_comm.o samplehold.o simple.o standard.o ulogd_DRL.o util.o
17 $(SHARED_LIBS): $(OBJECTS)
18 $(LD) $(LDFLAGS) -shared -o $@ $(OBJECTS) -lc
24 $(RM) $(SHARED_LIBS) *.o
30 $(INSTALL) -m 755 -d $(DESTDIR)$(ULOGD_LIB_PATH)
31 $(INSTALL) -m 755 *.so $(DESTDIR)$(ULOGD_LIB_PATH)