projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug in inetd code. The server listened on tcp:@:9999 even
[yaz-moved-to-github.git]
/
client
/
Makefile
diff --git
a/client/Makefile
b/client/Makefile
index
6ac9eed
..
d1edd80
100644
(file)
--- a/
client/Makefile
+++ b/
client/Makefile
@@
-1,37
+1,29
@@
-# Copyright (C) 1994, Index Data I/S
+# Copyright (C) 1995-1998, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.1 1995-05-22 11:30:30 quinn Exp $
+# $Id: Makefile,v 1.14 1998-01-07 12:59:27 adam Exp $
LIBDIR=../lib
#LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
SHELL=/bin/sh
LIBDIR=../lib
#LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
SHELL=/bin/sh
-INCLUDE=-I../include -I. -I../../xtimosi/src -I../../alex/include
+INCLUDE=-I../include -I. -I../../xtimosi/src
LIBINCLUDE=-L$(LIBDIR)
LIBINCLUDE=-L$(LIBDIR)
-#CFLAGS=-Wall -pedantic -g
-DEFS=$(INCLUDE) -DRPN_QUERY
-#LIB=$(LIBDIR)/libserver.a
-LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \
+DEFS=$(INCLUDE) $(CDEFS) -DCCL2RPN=1
+LIBS=$(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \
$(LIBDIR)/libcomstack.a ../lib/ccl.a $(LIBMOSI) $(LIBDIR)/libutil.a
$(LIBDIR)/libcomstack.a ../lib/ccl.a $(LIBMOSI) $(LIBDIR)/libutil.a
-#PO =
CPP=$(CC) -E
PROG=client
PROGO=client.o
all: $(PROG)
CPP=$(CC) -E
PROG=client
PROGO=client.o
all: $(PROG)
-$(PROG): $(LIB) $(PROGO)
- $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
+$(PROG): $(LIB) $(PROGO) $(LIBS)
+ $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) $(ELIBS)
alll:
alll:
-$(LIB): $(PO)
- rm -f $(LIB)
- ar qc $(LIB) $(PO)
- ranlib $(LIB)
-
$(LIBDIR):
mkdir $(LIBDIR)
$(LIBDIR):
mkdir $(LIBDIR)
@@
-42,15
+34,14
@@
clean:
rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
depend: depend2
rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
depend: depend2
-:
+
depend1:
depend1:
- mv Makefile Makefile.tmp
- sed '/^#Depend/q' <Makefile.tmp >Makefile
- $(CPP) $(INCLUDE) -M *.c >>Makefile
- -rm Makefile.tmp
+ sed '/^#Depend/q' <Makefile >Makefile.tmp
+ $(CPP) $(DEFS) -M *.c >>Makefile.tmp
+ mv -f Makefile.tmp Makefile
depend2:
depend2:
- $(CPP) $(INCLUDE) -M *.c >.depend
+ $(CPP) $(DEFS) -M *.c >.depend
ifeq (.depend,$(wildcard .depend))
include .depend
ifeq (.depend,$(wildcard .depend))
include .depend