blob: bf66c1d716d9bcfe6169cd1bc27a5049bd5b54bf (
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
|
--- Makefile.orig Wed Sep 16 04:08:01 1998
+++ Makefile Sat Jul 17 21:33:01 1999
@@ -54,7 +54,7 @@
#
#LIBS= -lsocket -lnsl
#
-CC=gcc -g
+#CC=gcc -g
all: xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen
client: xjdic_cl
server: xjdserver
@@ -80,7 +80,7 @@
#
SAOBJECTS = xjdsa.o xjdcomm_sa.o xjdservcomm_sa.o xjdfrontend_sa.o
#SACFLAGS = -DXJDFRONTEND -DXJDDIC -DDEMAND_PAGING
-SACFLAGS = -DXJDFRONTEND -DXJDDIC -DMMAP
+SACFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDDIC -DMMAP ${CFLAGS}
#SACFLAGS = -DXJDFRONTEND -DXJDDIC -DRAM_LOAD
xjdic_sa: $(SAOBJECTS)
$(CC) $(SAOBJECTS) -o xjdic_sa
@@ -97,7 +97,7 @@
# C L I E N T
#
CLOBJECTS = xjdclient.o xjdcomm_cl.o xjdfrontend_cl.o
-CLCFLAGS = -DXJDFRONTEND -DXJDCLSERV
+CLCFLAGS = -D__STRICT_BSD__ -DXJDFRONTEND -DXJDCLSERV ${CFLAGS}
xjdic_cl: $(CLOBJECTS)
$(CC) $(CLOBJECTS) $(LIBS) -o xjdic_cl
xjdclient.o: xjdclient.c
@@ -112,7 +112,7 @@
#
SVOBJECTS = xjdcomm_sv.o xjdservcomm_sv.o xjdserver.o
#SVCFLAGS = -DXJDDIC -DXJDCLSERV -DDEMAND_PAGING
-SVCFLAGS = -DXJDDIC -DXJDCLSERV -DMMAP
+SVCFLAGS = -DXJDDIC -DXJDCLSERV -DMMAP ${CFLAGS}
#SVCFLAGS = -DXJDDIC -DXJDCLSERV -DRAM_LOAD
xjdserver: $(SVOBJECTS)
$(CC) $(SVOBJECTS) $(LIBS) -o xjdserver
|