providing option to connect to memcache at general connect time
[OpenSRF.git] / src / router / Makefile
1 #MALLOC_CHECK_=1 # XXX debug only
2
3 LDLIBS  += -lxml2 -lopensrf 
4 CFLAGS  += -D_ROUTER
5
6 all: opensrf_router 
7 #osrf_router
8
9 install: 
10         cp opensrf_router $(BINDIR)
11
12 #opensrf_router:        router.o 
13 #       $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) router.o -o $@
14 #router.o:      router.c router.h
15
16 opensrf_router: osrf_router.o osrf_router_main.o
17         $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) osrf_router.o osrf_router_main.o -o $@
18 osrf_router.o: osrf_router.c osrf_router.h
19 osrf_router_main.o: osrf_router_main.c 
20
21 clean:
22         /bin/rm -f *.o opensrf_router
23