source: git/modules/Makefile.in @ dcafdb

spielwiese
Last change on this file since dcafdb was 773e7f, checked in by Kai Krüger <krueger@…>, 25 years ago
New includes added git-svn-id: file:///usr/local/Singular/svn/trunk@2948 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.8 KB
Line 
1#################################################################
2###
3### Makefile for Singular-modules
4###
5### $Id: Makefile.in,v 1.2 1999-03-17 10:58:47 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 lists.h matpol.h ipconv.h \
62        lists.h matpol.h mmpage.h mmheap.h
63
64##
65##
66##
67
68all: mod_install
69
70mod_install:
71        for file in ${MOD_INCLUDES}; do \
72                if test -f ${MOD_DEST}/$${file}; then \
73                        rm -f ${MOD_DEST}/$${file}; \
74                fi; \
75                cp ${INC_SRC}/$${file} ${MOD_DEST}/$${file}; \
76                chmod 444 ${MOD_DEST}/$${file}; \
77        done
78
79modgen:
80
81clean:
82        rm -f *.o *.lo *.so* *.la *~ core
83        for file in ${MOD_INCLUDES}; do \
84                rm -f ${MOD_DEST}/$${file}; \
85        done
86
87distclean: clean
88        rm -f Makefile
Note: See TracBrowser for help on using the repository browser.