(file) Return to GNUmakefile CVS log (file) (dir) Up to [OMI] / omi / server

 1 mike  1.1 TOP = ..
 2           include $(TOP)/config.mak
 3           
 4           ##
 5           ## Note: on HPUX_PARISC_HP, the server must be linked as C++, since we have
 6           ## not found a way to dynamically load a C++ provider from a C program.
 7           ##
 8           
 9           ifdef HPUX_PARISC_HP
10             CXXPROGRAM = omiserver
11             SOURCES = server.c servermaincxx.cpp
12           else
13             CPROGRAM = omiserver
14             SOURCES = server.c servermain.c
15           endif
16           
17           INCLUDES = $(TOP) $(TOP)/common
18           
19 krisbash 1.4 DEFINES = HOOK_BUILD MI_CONST= DETECT_FORBIDDEN_FUNCTIONS
20 mike     1.1 
21 krisbash 1.4 LIBRARIES = wsman xmlserializer http protocol sock disp provreg provmgr $(MIAPILIB) wql base xml $(PALLIBS) $(INDIMGRLIB) omi_error $(INDICMNLIB)
22 mike     1.1 
23              PKGCONFIGPACKAGES = openssl
24              
25              ARGUMENTS=-i
26              
27              include $(TOP)/mak/rules.mak
28              
29              tests:
30              	$(TARGET)
31              
32              #valgrind --tool=cachegrind --cachegrind-out-file=callgrind.out
33              #
34              #cachegrind:
35              #        $(CACHEGRIND) --cachegrind-out-file=callgrind.out $(TARGET) $(ARGUMENTS) $(MEMCHECK_ARGS)
36              #                cg_annotate --auto=yes callgrind.out > cg_annotate.out
37              #                        rm -f callgrind.out
38              #                                @ echo "Created cg_annotate.out"
39              ##

ViewCVS 0.9.2