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

File: [OMI] / omi / server / GNUmakefile (download)
Revision: 1.4, Mon Apr 20 17:20:13 2015 UTC (9 years ago) by krisbash
Branch: MAIN
CVS Tags: OMI_1_0_8_2, OMI_1_0_8_1, HEAD
Changes since 1.3: +2 -2 lines
OMI 1.0.8-1

TOP = ..
include $(TOP)/config.mak

##
## Note: on HPUX_PARISC_HP, the server must be linked as C++, since we have
## not found a way to dynamically load a C++ provider from a C program.
##

ifdef HPUX_PARISC_HP
  CXXPROGRAM = omiserver
  SOURCES = server.c servermaincxx.cpp
else
  CPROGRAM = omiserver
  SOURCES = server.c servermain.c
endif

INCLUDES = $(TOP) $(TOP)/common

DEFINES = HOOK_BUILD MI_CONST= DETECT_FORBIDDEN_FUNCTIONS

LIBRARIES = wsman xmlserializer http protocol sock disp provreg provmgr $(MIAPILIB) wql base xml $(PALLIBS) $(INDIMGRLIB) omi_error $(INDICMNLIB)

PKGCONFIGPACKAGES = openssl

ARGUMENTS=-i

include $(TOP)/mak/rules.mak

tests:
	$(TARGET)

#valgrind --tool=cachegrind --cachegrind-out-file=callgrind.out
#
#cachegrind:
#        $(CACHEGRIND) --cachegrind-out-file=callgrind.out $(TARGET) $(ARGUMENTS) $(MEMCHECK_ARGS)
#                cg_annotate --auto=yes callgrind.out > cg_annotate.out
#                        rm -f callgrind.out
#                                @ echo "Created cg_annotate.out"
##

ViewCVS 0.9.2