$NetBSD: patch-aa,v 1.4 2006/08/10 13:44:22 abs Exp $ --- ../../samples/Makefile.incl.orig 2005-09-07 16:56:50.000000000 +0100 +++ ../../samples/Makefile.incl @@ -240,6 +240,21 @@ ifeq (${PLATFORM}, FREEBSD) SHLIBSUFFIX=.so endif +#=============== DRAGONFLY SPECIFIC OPTIONS ========================= +ifeq (${PLATFORM}, DRAGONFLY) + CMP= -c ${CXXFLAGS} + CC= ${COMPILER} -c -D${PLATFORM} -fPIC + LINK = ${COMPILER} -D${PLATFORM} -fPIC ${LDFLAGS} + PLATFORM_LIB_LINK_OPTIONS=-Wl,-rpath,${XERCESCROOT}/lib + ifdef ICUROOT + PLATFORM_LIB_LINK_OPTIONS+=-L${ICUROOT} -Wl,-rpath,${ICUROOT} + EXTRA_LINK_OPTIONS=-licudata -lstdc++ ${EXTRA_LIBS} + else + EXTRA_LINK_OPTIONS=${EXTRA_LIBS} -lstdc++ + endif + SHLIBSUFFIX=.so +endif + #=============== NETBSD SPECIFIC OPTIONS ========================= ifeq (${PLATFORM}, NETBSD) CMP= -c ${CXXFLAGS}