1 diff -ur Singular-3-1-1.orig/factory/GNUmakefile.in Singular-3-1-1/factory/GNUmakefile.in
2 --- Singular-3-1-1.orig/factory/GNUmakefile.in 2010-05-07 19:26:37.000000000 +0200
3 +++ Singular-3-1-1/factory/GNUmakefile.in 2010-06-20 17:54:06.509063447 +0200
7 # how to create library objets
9 +%.o: %.cc factoryconf.h config.h
10 $(CXX) -c $< $(LIBCXXFLAGS) -o $@
12 +%.o: %.c factoryconf.h config.h
13 $(CC) -c $< $(LIBCFLAGS) -o $@
16 +%.og: %.cc factoryconf.h config.h
17 $(CXX) -g -c $< $(LIBCGGFLAGS) -o $@
18 # the profiling version:
20 +%.op: %.cc factoryconf.h config.h
21 $(CXX) -O -pg -c $< $(LIBCGGFLAGS) -o $@
23 # how to create dependency files. To avoid broken dependency files
24 diff -ur Singular-3-1-1.orig/libfac/Makefile.in Singular-3-1-1/libfac/Makefile.in
25 --- Singular-3-1-1.orig/libfac/Makefile.in 2010-01-29 10:10:49.000000000 +0100
26 +++ Singular-3-1-1/libfac/Makefile.in 2010-06-20 17:56:37.511131412 +0200
29 ${MKINSTALLDIRS} OPTOBJ
31 +${OPTFACTOROBJ}: OPTOBJ
32 +${OPTCHARSETOBJ}: OPTOBJ
37 $(CXX) $(CXXFLAGS) $(CXXTEMPLFLAGS) $(CPPFLAGS) $(DEFS) -c $< -o $@
39 diff -ur Singular-3-1-1.orig/omalloc/Makefile.in Singular-3-1-1/omalloc/Makefile.in
40 --- Singular-3-1-1.orig/omalloc/Makefile.in 2010-01-29 10:10:49.000000000 +0100
41 +++ Singular-3-1-1/omalloc/Makefile.in 2010-06-20 17:54:06.509063447 +0200
44 ./makeheader om_Alloc.h $@
46 +omalloc.o omalloc_debug.o: omalloc.h
49 ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_NDEBUG -c $< -o $@
51 --- Singular-3-1-1.orig/Singular/Makefile.in 2010-06-20 18:58:33.491177132 +0200
52 +++ Singular-3-1-1/Singular/Makefile.in 2010-06-20 19:02:19.881153252 +0200
55 ${MAKE} DL_KERNEL=0 S_EXT=".static" $@
57 -iparith.o mpsr_Tok.o : iparith.inc mpsr_Tok.inc
58 +iparith.o mpsr_Tok.o : iparith.inc
60 cntrlc.o cntrlc.og : feOptES.inc feOptTS.inc feOpt.inc
62 +cntrlc.o cntrlc.og misc_ip.o misc_ip.og emacs.o tesths.o: version.h
64 claptmpl.o: claptmpl.cc mod2.h
65 ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -c $<
67 -iparith.inc mpsr_Tok.inc: claptmpl.o iparith.cc \
68 - ipconv.cc tok.h mpsr_Tok.cc grammar.h mod2.h
69 +iparith.inc: claptmpl.o iparith.cc \
70 + ipconv.cc tok.h mpsr_Tok.cc grammar.h mod2.h ${OBJS}
71 ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${CXXTEMPLFLAGS} ${DEFS} -DGENTABLE \
72 -o gentable claptmpl.o iparith.cc tesths.cc mpsr_Tok.cc \
73 ${OBJS} ${LDFLAGS} ${LIBS} ../kernel/mmalloc.o
76 /bin/rm -f feOpt feOpt.exe
80 feOptES.inc: feOpt.cc mod2.h
81 - $(CXX) -DGENERATE_OPTION_INDEX -DESINGULAR -I../kernel feOpt.cc -o feOpt
83 - rm -f feOpt feOpt.exe
84 + $(CXX) -DGENERATE_OPTION_INDEX -DESINGULAR -I../kernel feOpt.cc -o feOptES
86 + rm -f feOptES feOptES.exe
88 feOptTS.inc: feOpt.cc mod2.h
89 - $(CXX) -DGENERATE_OPTION_INDEX -DTSINGULAR -I../kernel feOpt.cc -o feOpt
91 - rm -f feOpt feOpt.exe
92 + $(CXX) -DGENERATE_OPTION_INDEX -DTSINGULAR -I../kernel feOpt.cc -o feOptTS
94 + rm -f feOptTS feOptTS.exe
96 mpsr.so: $(MPSR_SOURCES:.cc=.dl_o)
97 $(LD) ${SLDFLAGS} -o $@ $^ -L${libdir} ${MP_LIBS} ${GLIBC_DYN_FIX}