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
5 CFLAGS += -DASSUME_STATELESS -DOSRF_LOG_PARAMS -DOSRF_STRICT_PARAMS -rdynamic -fno-strict-aliasing
6 LDLIBS += -lxml2 -lobjson -ldl -lmemcache
8 TARGETS = osrf_message.o \
22 HEADERS = osrf_message.h \
36 all: xml_utils.o $(TARGETS) copy
39 cp ../utils/xml_utils.h .
40 cp ../utils/xml_utils.c .
41 $(CC) -c $(CFLAGS) xml_utils.c -o $@
44 cp $(HEADERS) $(TMPDIR)/
46 osrf_message.o: osrf_message.c osrf_message.h
47 osrf_app_session.o: osrf_app_session.c osrf_app_session.h
48 osrf_stack.o: osrf_stack.c osrf_stack.h
49 osrf_system.o: osrf_system.c osrf_system.h
50 osrf_settings.o: osrf_settings.c osrf_settings.h
51 osrf_prefork.o: osrf_prefork.c osrf_prefork.h
52 osrfConfig.o: osrfConfig.c osrfConfig.h xml_utils.o
53 osrf_application.o: osrf_application.c osrf_application.h
54 osrf_cache.o: osrf_cache.c osrf_cache.h
55 osrf_list.o: osrf_list.c osrf_list.h
56 #osrf_big_list.o: osrf_big_list.c osrf_big_list.h
57 osrf_hash.o: osrf_hash.c osrf_hash.h
58 #osrf_big_hash.o: osrf_big_hash.c osrf_big_hash.h
62 /bin/rm -f *.o libopensrf_stack.so xml_utils.h xml_utils.c opensrf