]> git.evergreen-ils.org Git - Evergreen.git/blob - OpenSRF/src/libstack/Makefile
Now, when no children are available to pass a request to, the parent
[Evergreen.git] / OpenSRF / src / libstack / Makefile
1 # OSRF_LOG_PARAMS log all incoming method params at OSRF_INFO log level. 
2 # OSRF_STRICT_PARAMS instructs the app handler to return an error if the number of method arguments
3 #       provided to any method is not at least as large as the 'argc' setting for the method
4
5 CFLAGS  +=  -DASSUME_STATELESS  -DOSRF_LOG_PARAMS -DOSRF_STRICT_PARAMS -rdynamic -fno-strict-aliasing
6 LDLIBS  += -lxml2 -lobjson -ldl -lmemcache -LJudy
7
8 TARGETS = osrf_message.o \
9                          osrf_app_session.o \
10                          osrf_stack.o \
11                          osrf_system.o \
12                          osrf_settings.o \
13                          osrf_prefork.o \
14                          osrfConfig.o \
15                          osrf_application.o \
16                          osrf_cache.o \
17                          osrf_transgroup.o \
18                          osrf_list.o \
19                          osrf_big_list.o \
20                          osrf_hash.o \
21                          osrf_big_hash.o \
22                          xml_utils.o
23
24 HEADERS = osrf_message.h \
25                          osrf_app_session.h \
26                          osrf_stack.h \
27                          osrf_system.h \
28                          osrf_settings.h \
29                          osrf_prefork.h \
30                          osrfConfig.h \
31                          osrf_application.h \
32                          osrf_cache.h \
33                          osrf_transgroup.h \
34                          osrf_list.h \
35                          osrf_big_list.h \
36                          osrf_hash.h \
37                          osrf_big_hash.h \
38                          xml_utils.h
39
40 all: xml_utils.o $(TARGETS) copy 
41
42 xml_utils.o:
43         cp ../utils/xml_utils.h .
44         cp ../utils/xml_utils.c .
45         $(CC) -c $(CFLAGS) xml_utils.c -o $@ 
46
47 copy:
48         cp $(HEADERS) $(TMPDIR)/
49
50 osrf_message.o: osrf_message.c osrf_message.h
51 osrf_app_session.o:     osrf_app_session.c osrf_app_session.h
52 osrf_stack.o:   osrf_stack.c osrf_stack.h
53 osrf_system.o:  osrf_system.c osrf_system.h
54 osrf_settings.o:        osrf_settings.c osrf_settings.h
55 osrf_prefork.o: osrf_prefork.c osrf_prefork.h
56 osrfConfig.o:   osrfConfig.c osrfConfig.h xml_utils.o
57 osrf_application.o: osrf_application.c osrf_application.h
58 osrf_cache.o:   osrf_cache.c osrf_cache.h
59 osrf_list.o:    osrf_list.c osrf_list.h
60 osrf_big_list.o:        osrf_big_list.c osrf_big_list.h
61 osrf_hash.o:    osrf_hash.c osrf_hash.h
62 osrf_big_hash.o:        osrf_big_hash.c osrf_big_hash.h
63
64
65 clean:
66         /bin/rm -f *.o libopensrf_stack.so xml_utils.h xml_utils.c opensrf
67