aboutsummaryrefslogtreecommitdiffstats
path: root/audio/speak_freely/files/patch-aa
blob: 10ed5fbf805536bfa5627b7df1b8e6171aca8dcc (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
--- Makefile.orig   Sat Sep 18 10:29:44 1999
+++ Makefile    Fri Dec 31 15:40:34 1999
@@ -3,7 +3,7 @@
 
 # Debugging options
 
-DEBUG = -g -DHEXDUMP
+#DEBUG = -g -DHEXDUMP
 #DEBUG = -g -DHEXDUMP -DNOCRYPTO
 #DEBUG = -O
   
@@ -38,9 +38,9 @@
 #    functionality is working. Please see the detailed description
 #    of the available flags which follows these declarations.
 #
-CCFLAGS =  -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN
-CC = gcc -O3 # for GNU's gcc compiler
-LFLAGS = -lncurses -lm
+#CCFLAGS =  -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN
+#CC = gcc -O3 # for GNU's gcc compiler
+#LFLAGS = -lncurses -lm
 #
 # If the above LFLAGS doesn't work, try the one below.
 #LFLAGS = -lcurses -lm
@@ -220,8 +220,8 @@
 #    Depending on how your driver handles non-blocking I/O,
 #    you may also have to add -DAUDIO_BLOCKING to the
 #    CCFLAGS line.
-#CCFLAGS = -DM_LITTLE_ENDIAN
-#LFLAGS = -lcurses -ltermcap -lcompat -lm
+CCFLAGS = -O2 -DM_LITTLE_ENDIAN -DHALF_DUPLEX
+LFLAGS = -lcurses -ltermcap -lcompat -lm
 
 #             Hewlett-Packard
 #            (courtesy of Marc Kilian)
@@ -337,7 +337,7 @@
 #  in make not necessarily available on all platforms.
 
 adpcmlib.o:
-   ( echo "Building ADPCM library."; cd adpcm ; make CC="$(CC)" )
+   ( echo "Building ADPCM library."; cd adpcm ; make CC="$(CC) $(CCFLAGS)" )
    echo "ADPCM" >adpcmlib.o
 
 deslib.o:
@@ -361,15 +361,15 @@
    echo "LPC" >lpc10lib.o
 
 gsmlib.o:
-   ( echo "Building GSM library."; cd gsm ; make CC="$(CC)" )
+   ( echo "Building GSM library."; cd gsm ; make CC="$(CC) $(CCFLAGS)" )
    echo "GSM" >gsmlib.o
 
 md5lib.o:
-   ( echo "Building MD5 library."; cd md5 ; make CC="$(CC)" )
+   ( echo "Building MD5 library."; cd md5 ; make CC="$(CC) $(CCFLAGS)" )
    echo "MD5" >md5lib.o
 
 idealib.o:
-   ( echo "Building IDEA library."; cd idea ; make CC="$(CC)" )
+   ( echo "Building IDEA library."; cd idea ; make CC="$(CC) $(CCFLAGS)" )
    echo "IDEA" >idealib.o
 
 #   Object file dependencies