source: git/libpolys/resources/Makefile.in @ 014b65

spielwiese
Last change on this file since 014b65 was 014b65, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
- moved misc,reporter,resources,coeffs,polys -> (new) libpolys (Hans agreed) - migrated to automake in coeffs, misc status: everything builds (except polys) todo: . migrate resources and reporter to automake . create autoconf macros for omalloc, factory, and libpolys
  • Property mode set to 100644
File size: 1.7 KB
Line 
1#################################################################
2###
3### Makefile for Singular
4###
5#################################################################
6
7SHELL           = /bin/sh
8
9##
10## various paths
11##
12top_srcdir      = @top_srcdir@
13prefix          = @prefix@
14exec_prefix     = @exec_prefix@
15libdir          = @libdir@
16# includes are taken from here
17includedir      = @includedir@/resources
18
19##
20## various programs
21##
22
23CXX             = @CXX@
24INSTALL         = @INSTALL@
25INSTALL_PROGRAM = @INSTALL_PROGRAM@
26INSTALL_DATA    = @INSTALL_DATA@
27MKINSTALLDIRS   = ../mkinstalldirs
28LN_S            = ln -s
29
30##
31## compiler and linker options
32##
33PIPE            = -pipe
34CFLAGS          = @CFLAGS@ ${PIPE}
35CXXFLAGS        = @CXXFLAGS@ ${PIPE}
36CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
37CPPFLAGS        = -I${top_srcdir}/.. -I${top_srcdir}/../..
38DEFS            = -DNDEBUG -DOM_NDEBUG -Dix86_Linux -DHAVE_CONFIG_H
39
40## End configuration dependend stuff
41#################################################################
42
43###
44### file sets
45###
46
47# normal C++ source files
48CXXSOURCES=feFopen.cc feResource.cc
49
50# normal C source files
51CSOURCES=
52
53SOURCES=${CSOURCES} ${CXXSOURCES}
54
55HEADERS=feFopen.h feResource.h
56
57DISTFILES=${SOURCES} ${HEADERS}
58
59OBJS := $(CXXSOURCES:.cc=.o) $(CSOURCES:.c=.o)
60
61.cc.o: 
62        ${CXX} ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} -c $<
63.c.o:
64        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $<
65
66libresources.a: ${OBJS}
67         -rm -f $@
68         ar cr $@ $^
69
70all:  libresources.a
71
72install: all
73        ${MKINSTALLDIRS} ${includedir}
74        ${MKINSTALLDIRS} ${libdir}
75        ${INSTALL_DATA} feFopen.h ${includedir}/feFopen.h
76        ${INSTALL_DATA} libresources.a ${libdir}/libresources.a
77
78##
79## clean targest
80##
81mostlyclean:
82        -rm -f *.o *.og core *.op
83
84clean: mostlyclean
85        -rm -f *.bak *.d *.dd depend *.a *.so*
86
87tags:   
88        ctags *.c *.h *.cc *.inc
Note: See TracBrowser for help on using the repository browser.