blob: 0bdc098c9a3c31d697e059cfeb87770e2221a969 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
--- Makefile.BSD.orig 2008-08-31 16:19:03.000000000 +0800
+++ Makefile.BSD 2008-08-31 16:22:54.000000000 +0800
@@ -17,15 +17,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-CC = gcc
-CXX = g++
-
-CFLAGS = -march=i586 -mcpu=i586 -O6 -fomit-frame-pointer -ffast-math -funroll-loops -malign-loops=5 -malign-jumps=5 -malign-functions=5 -mpreferred-stack-boundary=5 -mfancy-math-387 -Wall -Werror -pthread #-g
-OPTCFLAGS = -march=i686 -O3 -ffast-math -funroll-loops -malign-loops=5 -malign-jumps=5 -malign-functions=5 -mpreferred-stack-boundary=5 -mfancy-math-387 -Wall -Werror #-g
-CXXFLAGS = $(CFLAGS)
-
# thread safety
-DEFS = -D_REENTRANT -D_THREAD_SAFE
+#DEFS = -D_REENTRANT -D_THREAD_SAFE
# BSD system
DEFS += -DBSDSYS
# define if your compiler/c-library is ISO C 9x standard compliant
@@ -35,15 +28,14 @@
# x86 architecture specific optimizations
#DEFS += -DDSP_X86
-INCS = -I. -I/usr/local/include
+INCS = -I. -I../Inlines-${INLINE_VER}
-LDFLAGS = -pthread #-g
LIBS = -lm #-ldrfftw -ldfftw
LIBTOOL = libtool
-PREFIX = /usr/local
+PREFIX ?= /usr/local
VERSION = 9:0:8
@@ -137,34 +129,34 @@
$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -rpath $(PREFIX)/lib -version-info $(VERSION) -o libdsp.la $(LOBJS) $(LIBS)
install: libdsp.la
- install -m 755 -d $(PREFIX)/include/dsp
- install -m 644 dsp/DSPConfig.hh $(PREFIX)/include/dsp
- install -m 644 dsp/DSPOp.hh $(PREFIX)/include/dsp
- install -m 644 dsp/DSPVector.hh $(PREFIX)/include/dsp
- install -m 644 dsp/FFTDecimator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/FFTInterpolator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/FFTMultiRate.hh $(PREFIX)/include/dsp
- install -m 644 dsp/Filter.hh $(PREFIX)/include/dsp
- install -m 644 dsp/FIRDecimator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/FIRInterpolator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/FIRMultiRate.hh $(PREFIX)/include/dsp
- install -m 644 dsp/FlipBand.hh $(PREFIX)/include/dsp
- install -m 644 dsp/Hankel.hh $(PREFIX)/include/dsp
- install -m 644 dsp/IIRCascade.hh $(PREFIX)/include/dsp
- install -m 644 dsp/IIRDecimator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/IIRInterpolator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/IIRMultiRate.hh $(PREFIX)/include/dsp
- install -m 644 dsp/ReBuffer.hh $(PREFIX)/include/dsp
- install -m 644 dsp/ReBufferT.hh $(PREFIX)/include/dsp
- install -m 644 dsp/RecDecimator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/RecInterpolator.hh $(PREFIX)/include/dsp
- install -m 644 dsp/RingBuffer.hh $(PREFIX)/include/dsp
- install -m 644 dsp/Transform4.hh $(PREFIX)/include/dsp
- install -m 644 dsp/Transform8.hh $(PREFIX)/include/dsp
- install -m 644 dsp/TransformS.hh $(PREFIX)/include/dsp
- install -m 644 dsp/dsptypes.h $(PREFIX)/include/dsp
- install -m 644 dsp/dspop.h $(PREFIX)/include/dsp
- install -m 644 dsp/X86.h $(PREFIX)/include/dsp
+ ${MKDIR} $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/DSPConfig.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/DSPOp.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/DSPVector.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/FFTDecimator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/FFTInterpolator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/FFTMultiRate.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/Filter.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/FIRDecimator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/FIRInterpolator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/FIRMultiRate.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/FlipBand.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/Hankel.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/IIRCascade.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/IIRDecimator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/IIRInterpolator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/IIRMultiRate.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/ReBuffer.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/ReBufferT.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/RecDecimator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/RecInterpolator.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/RingBuffer.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/Transform4.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/Transform8.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/TransformS.hh $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/dsptypes.h $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/dspop.h $(PREFIX)/include/dsp
+ ${BSD_INSTALL_DATA} dsp/X86.h $(PREFIX)/include/dsp
$(LIBTOOL) --mode=install install libdsp.la $(PREFIX)/lib
libdsp.dep: $(SRCS)
|