patches/duma/2_5_15/110-separate_cpp.patch
changeset 1761 88020b2c3246
parent 747 d3e603e7c17c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/duma/2_5_15/110-separate_cpp.patch	Tue Jan 12 19:24:03 2010 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +diff -durN duma_2_5_15.orig/GNUmakefile duma_2_5_15/GNUmakefile
     1.5 +--- duma_2_5_15.orig/GNUmakefile	2009-06-19 16:41:53.000000000 +0200
     1.6 ++++ duma_2_5_15/GNUmakefile	2009-06-19 16:43:53.000000000 +0200
     1.7 +@@ -289,9 +289,13 @@
     1.8 + 	dumatest.c tstheap.c thread-test.c testmt.c dumatestpp.cpp testoperators.cpp \
     1.9 + 	createconf.c
    1.10 + 
    1.11 +-OBJECTS=dumapp.o duma.o sem_inc.o print.o
    1.12 ++OBJECTS = duma.o sem_inc.o print.o
    1.13 ++SO_OBJECTS = duma_so.o sem_inc_so.o print_so.o
    1.14 + 
    1.15 +-SO_OBJECTS=dumapp_so.o duma_so.o sem_inc_so.o print_so.o
    1.16 ++ifeq ($(DUMA_CPP),1)
    1.17 ++OBJECTS += dumapp.o
    1.18 ++SO_OBJECTS += dumapp_so.o
    1.19 ++endif
    1.20 + 
    1.21 + # Make all the top-level targets the makefile knows about.
    1.22 + all:	libduma.a tstheap$(EXEPOSTFIX) dumatest$(EXEPOSTFIX) thread-test$(EXEPOSTFIX) testmt$(EXEPOSTFIX) dumatestpp$(EXEPOSTFIX) testoperators$(EXEPOSTFIX) $(DUMA_DYN_DEPS)