summaryrefslogtreecommitdiff
blob: ac54fcf9f8870b203d8b8d433f34b28b0ce1585c (plain)
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
--- routino-3.1.1/Makefile.conf	2017-10-22 15:55:10.420531850 +0200
+++ routino-3.1.1/Makefile.conf.new	2017-10-22 15:55:32.180533067 +0200
@@ -45,11 +45,11 @@
 # Installation locations (edit if required)
 
 ifneq ($(HOST),MINGW)
-prefix=/usr/local
+prefix=/usr
 bindir=$(prefix)/bin
 incdir=$(prefix)/include
 libdir=$(prefix)/lib
-docdir=$(prefix)/doc/routino
+docdir=$(prefix)/share/doc/$(PF)
 datadir=$(prefix)/share/routino
 else
 prefix="c:/Program Files/Routino"
@@ -74,16 +74,16 @@
 
 
 # Maths library
-LDFLAGS=-lm
+LDFLAGS+=-lm
 
 # Language dialect selection
-CFLAGS=-std=c99
+CFLAGS+=-std=c99
 
 # Warning options
 CFLAGS+=-Wall -Wmissing-prototypes -Wextra -Wno-unused-parameter -pedantic
 
 # Optimisation options
-CFLAGS+=-O3
+#CFLAGS+=-O3
 CFLAGS+=-ffast-math
 
 # Optimisation option (only works if compilation and execution use exactly the same CPU architecture).
@@ -118,7 +118,7 @@
 endif
 
 # Put the current directory in the shared library path for the router using libroutino
-LDFLAGS_LDSO=-Wl,-R.
+#LDFLAGS_LDSO=-Wl,-R.
 
 
 # Required for multi-threaded support (comment these two lines out if not required)
@@ -139,8 +139,8 @@
 
 
 # Required for xz support (uncomment these two lines if required)
-#CFLAGS+=-DUSE_XZ
-#LDFLAGS+=-llzma
+CFLAGS+=-DUSE_XZ
+LDFLAGS+=-llzma
 
 
 # Required to use stdio with files > 2GiB on 32-bit system.