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
New function: p_query_scan.
[yaz-moved-to-github.git]
/
server
/
Makefile
diff --git
a/server/Makefile
b/server/Makefile
index
6830cc8
..
bb674fd
100644
(file)
--- a/
server/Makefile
+++ b/
server/Makefile
@@
-1,19
+1,29
@@
# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.1 1995-03-10 18:22:44 quinn Exp $
+# $Id: Makefile,v 1.23 1995-05-22 15:31:26 adam Exp $
+
+LIBDIR=../lib
+
+#LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../include -I. -I../asn -I../odr -I../../egate/include -I../../xtimosi/src
+INCLUDE=-I../include -I. -I../../xtimosi/src
+LIBINCLUDE=-L$(LIBDIR)
#CFLAGS=-Wall -pedantic -g
#CFLAGS=-Wall -pedantic -g
-#CFLAGS=-g
DEFS=$(INCLUDE)
DEFS=$(INCLUDE)
-LIB= server.a
-PO = eventl.o
-CPP=cc -E
-#CC=checkergcc
+LIB=$(LIBDIR)/libserver.a
+LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \
+$(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a
+PO = eventl.o seshigh.o statserv.o requestq.o
+CPP=$(CC) -E
+PROG=ztest
+PROGO=ztest.o
-all: $(LIB)
+all: $(LIBDIR) $(LIB) $(PROG)
+
+$(PROG): $(LIB) $(PROGO)
+ $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
alll:
alll:
@@
-22,11
+32,14
@@
$(LIB): $(PO)
ar qc $(LIB) $(PO)
ranlib $(LIB)
ar qc $(LIB) $(PO)
ranlib $(LIB)
+$(LIBDIR):
+ mkdir $(LIBDIR)
+
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
clean:
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
clean:
- rm -f *.[oa] test core mon.out gmon.out errlist tst cli
+ rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
depend: depend2
:
depend: depend2
: