source: git/reporter/Makefile.in @ c08a3a

spielwiese
Last change on this file since c08a3a was c08a3a, checked in by Oleksandr Motsak <motsak@…>, 14 years ago
fix: removed hard-coded pathes (for install) from misc/coeffs/reporter/resource/+Makefile.in.
  • 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##
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         = @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          = -O3 -w -fomit-frame-pointer ${PIPE}
35CXXFLAGS        = -O3 -w -fomit-frame-pointer --no-rtti ${PIPE}
36CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
37CPPFLAGS        = -I${srcdir} -I${includedir}
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=reporter.cc
49
50# normal C source files
51CSOURCES=dError.c
52
53SOURCES=${CSOURCES} ${CXXSOURCES}
54
55HEADERS=reporter.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
66reporter.a: ${OBJS}
67        -rm -f reporter.a
68        ar cr $@ $^
69
70all: reporter.a
71
72install: all
73        ${MKINSTALLDIRS} ${includedir}
74        ${MKINSTALLDIRS} ${libdir}
75        ${INSTALL_DATA} reporter.a ${libdir}/libreporter.a
76        ${INSTALL_DATA} reporter.h ${includedir}/reporter.h
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.