blob: 44b68b5a4e1baca24e4b45b44fcba5af6858deb6 (
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
|
--- maradns-1.4.05.orig/build/Makefile.linux 2006-11-24 12:44:29.000000000 +0100
+++ maradns-1.4.05/build/Makefile.linux 2011-01-21 16:36:23.968658279 +0100
@@ -23,23 +23,23 @@ EXECS=server/maradns
# LDFLAGS=-L/usr/ucblib -lucb -lxnet
# end the Solaris section
# Non-Solaris version of "M"
-V="VERSION=$(VERSION)"
+VER="VERSION=$(VERSION)"
Q="DEFINES=-DSELECT_PROBLEM"
# Debug
-FLAGS = -O2 -Wall -DSELECT_PROBLEM
-M="CC=$(CC) $(FLAGS)"
-D="CC=$(CC) $(FLAGS) -DDEBUG -DTHREADS"
+CFLAGS ?= -O2 -Wall -DSELECT_PROBLEM
+M="CC=$(CC)"
+D="CC=$(CC) -DDEBUG -DTHREADS"
#FLAGS = -g
all:
cd libs ; make $(M) ; cd ../dns ; make $(M) ; \
cd ../rng ; make $(M) ; cd ../parse ; make $(M) ; \
cd ../qual ; make $(M) ; cd ../server ; \
- make $(M) $(V) COMPILED=\"$(COMPILED)\" ; \
+ make $(M) $(VER) COMPILED=\"$(COMPILED)\" ; \
cd ../tools ; make $(M) ; \
- cd ../tcp ; make $(M) $(V) ; cat ../00README.FIRST
+ cd ../tcp ; make $(M) $(VER)
debug:
cd libs ; make $(D) DEBUG="-DDEBUG -DTHREADS" ; \
|