source: git/modules/Makefile.in @ c9a121

spielwiese
Last change on this file since c9a121 was c9a121, checked in by Kai Krüger <krueger@…>, 25 years ago
*** empty log message *** git-svn-id: file:///usr/local/Singular/svn/trunk@2682 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.7 KB
Line 
1#################################################################
2###
3### Makefile for Singular-modules
4###
5### $Id: Makefile.in,v 1.1 1998-11-19 15:17:26 krueger Exp $
6###
7#################################################################
8
9SHELL           = /bin/sh
10
11##
12## various paths
13##
14srcdir          = @srcdir@
15prefix          = @prefix@
16exec_prefix     = @exec_prefix@
17libdir          = @libdir@
18# program executable goes here
19bindir          = @bindir@
20# Singular libs go here
21includedir      = @includedir@
22MOD_DEST        = ./include
23INC_SRC         = ../Singular
24
25##
26## various programs
27##
28CC              = @CC@
29CXX             = @CXX@
30LEXP            = @LEXP@
31PERL            = @PERL@
32BISON           = bison
33@SET_MAKE@
34INSTALL         = ./install-sh -c
35INSTALL_PROGRAM = ${INSTALL}
36INSTALL_DATA    = ${INSTALL} -m 644
37MKINSTALLDIRS   = ./mkinstalldirs
38
39##
40## compiler and linker options
41##
42CFLAGS          = @CFLAGS@ -pipe -Iinclude -I../Singular
43CXXFLAGS        = @CXXFLAGS@ -pipe
44#CXXTEMPLFLAGS  = @CXXTEMPLFLAGS@
45CPPFLAGS        = -I${srcdir} @CPPFLAGS@
46DEFS            = @DEFS@ -DNDEBUG
47LDFLAGS         = @LDFLAGS@ # @LD_DYNAMIC@
48#STATIC_LDFLAGS = @STATIC_LDFLAGS@
49#LIBS           = @NEED_LIBS@
50
51##
52## End configuration dependend stuff
53#################################################################
54##
55## compiler and linker options
56##
57CFLAGS          += ${DEFS}
58
59MOD_INCLUDES    = mod2.h utils.h structs.h mmemory.h tok.h ipid.h \
60        subexpr.h febase.h modules.h grammar.h numbers.h polys.h \
61        ideals.h intvec.h polys-impl.h
62
63##
64##
65##
66
67all: mod_install
68
69mod_install:
70        for file in ${MOD_INCLUDES}; do \
71                if test -f ${MOD_DEST}/$${file}; then \
72                        rm -f ${MOD_DEST}/$${file}; \
73                fi; \
74                cp ${INC_SRC}/$${file} ${MOD_DEST}/$${file}; \
75                chmod 444 ${MOD_DEST}/$${file}; \
76        done
77
78modgen:
79
80clean:
81        rm -f *.o *.lo *.so* *.la *~ core
82        for file in ${MOD_INCLUDES}; do \
83                rm -f ${MOD_DEST}/$${file}; \
84        done
85
86distclean: clean
87        rm -f Makefile
Note: See TracBrowser for help on using the repository browser.