source: git/polys/Makefile.in @ ec96d7

spielwiese
Last change on this file since ec96d7 was ec96d7, checked in by Hans Schoenemann <hannes@…>, 14 years ago
monomials.h defines poly
  • Property mode set to 100644
File size: 2.1 KB
Line 
1#################################################################
2###
3### Makefile for Singular
4###
5#################################################################
6
7SHELL           = /bin/sh
8
9##
10## various paths
11##
12srcdir          = .
13prefix          = @prefix@
14exec_prefix     = @exec_prefix@
15libdir          = @libdir@
16# includes are taken from here
17includedir      = @includedir@
18
19##
20## various programs
21##
22
23CXX             = g++
24INSTALL_PROGRAM = @INSTALL@
25INSTALL_DATA    = @INSTALL@ -m 644
26MKINSTALLDIRS   = ../mkinstalldirs
27LN_S            = ln -s
28
29##
30## compiler and linker options
31##
32PIPE            = -pipe
33CFLAGS          = -O3 -w -fomit-frame-pointer ${PIPE}
34CXXFLAGS        = -O3 -w -fomit-frame-pointer --no-rtti ${PIPE}
35CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
36CPPFLAGS        = -I${srcdir} -I${includedir}
37DEFS            = -DNDEBUG -DOM_NDEBUG -Dix86_Linux -DHAVE_CONFIG_H
38
39## End configuration dependend stuff
40#################################################################
41
42###
43### file sets
44###
45
46# normal C++ source files
47CXXSOURCES= pDebug.cc pInline0.cc pInline1.cc pInline2.cc \
48     pShallowCopyDelete.cc p_Mult_q.cc p_Procs_Dynamic.cc p_Procs_Generate.cc \
49     p_Procs_Lib.cc p_Procs_Static.cc p_polys.cc polys-impl.cc polys.cc \
50     polys0.cc polys1.cc prCopy.cc prCopyTemplate.cc
51
52# normal C source files
53CSOURCES=
54
55SOURCES=${CSOURCES} ${CXXSOURCES}
56
57HEADERS= pInline0.h pInline1.h pInline2.h pShallowCopyDelete.h \
58    p_MemAdd.h p_MemCmp.h p_MemCopy.h p_Mult_q.h p_Numbers.h p_Procs.h \
59    p_Procs_Dynamic.h p_Procs_Impl.h p_Procs_Set.h p_Procs_Static.h \
60    p_polys.h polys-impl.h polys.h prCopy.h prCopyMacros.h
61
62DISTFILES=${SOURCES} ${HEADERS}
63
64OBJS := $(CXXSOURCES:.cc=.o) $(CSOURCES:.c=.o)
65
66.cc.o: 
67        ${CXX} ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} -c $<
68.c.o:
69        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $<
70
71libcoeffs.a: ${OBJS}
72        -rm -f libcoeffs.a
73        ar cr $@ $^
74
75##
76## clean targest
77##
78mostlyclean:
79        -rm -f *.o *.og core *.op
80
81clean: mostlyclean
82        -rm -f *.bak *.d *.dd depend *.a *.so*
83
84tags:   
85        ctags *.c *.h *.cc *.inc
86
87all: libcoeffs.a
88
89install: all
90        ${MKINSTALLDIRS} ${includedir}
91        ${MKINSTALLDIRS} ${libdir}
92        ${INSTALL_DATA} libcoeffs.a ${libdir}/libcoeffs.a
93        $(INSTALL_DATA) coeffs.h $(includedir)/coeffs.h
Note: See TracBrowser for help on using the repository browser.