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

File: [OMI] / omi / server / GNUmakefile (download)
Revision: 1.2, Mon Jun 25 18:51:02 2012 UTC (12 years ago) by mike
Branch: MAIN
CVS Tags: OMI_1_0_2
Changes since 1.1: +1 -6 lines
1.0.2 drop

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 = MI_CONST=

LIBRARIES = wsman http protocol sock disp provreg provmgr wql base xml

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