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 \
20 HEADERS = osrf_message.h \
32 all: xml_utils.o $(TARGETS) copy
35 cp ../utils/xml_utils.h .
36 cp ../utils/xml_utils.c .
37 $(CC) -c $(CFLAGS) xml_utils.c -o $@
40 cp $(HEADERS) $(TMPDIR)/
42 osrf_message.o: osrf_message.c osrf_message.h
43 osrf_app_session.o: osrf_app_session.c osrf_app_session.h
44 osrf_stack.o: osrf_stack.c osrf_stack.h
45 osrf_system.o: osrf_system.c osrf_system.h
46 osrf_settings.o: osrf_settings.c osrf_settings.h
47 osrf_prefork.o: osrf_prefork.c osrf_prefork.h
48 osrfConfig.o: osrfConfig.c osrfConfig.h xml_utils.o
49 osrf_application.o: osrf_application.c osrf_application.h
50 osrf_cache.o: osrf_cache.c osrf_cache.h
51 osrf_log.o: osrf_log.c osrf_log.h
54 /bin/rm -f *.o libopensrf_stack.so xml_utils.h xml_utils.c