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
More work.
[yaz-moved-to-github.git]
/
server
/
Makefile
diff --git
a/server/Makefile
b/server/Makefile
index
824b76e
..
abdb1e0
100644
(file)
--- a/
server/Makefile
+++ b/
server/Makefile
@@
-1,7
+1,7
@@
# 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.24 1995-05-30 10:16:09 quinn Exp $
+# $Id: Makefile,v 1.31 1996-10-08 10:45:05 quinn Exp $
LIBDIR=../lib
LIBDIR=../lib
@@
-10,15
+10,15
@@
LIBDIR=../lib
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../../xtimosi/src
LIBINCLUDE=-L$(LIBDIR)
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../../xtimosi/src
LIBINCLUDE=-L$(LIBDIR)
-#CFLAGS=-Wall -pedantic -g
DEFS=$(INCLUDE)
LIB=$(LIBDIR)/libserver.a
LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \
DEFS=$(INCLUDE)
LIB=$(LIBDIR)/libserver.a
LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \
-$(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a
+$(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a $(ELIBS)
PO = eventl.o seshigh.o statserv.o requestq.o
CPP=$(CC) -E
PROG=ztest
PO = eventl.o seshigh.o statserv.o requestq.o
CPP=$(CC) -E
PROG=ztest
-PROGO=ztest.o
+PROGO=ztest.o read-grs.o
+RANLIB=ranlib
all: $(LIBDIR) $(LIB) $(PROG)
all: $(LIBDIR) $(LIB) $(PROG)
@@
-30,7
+30,7
@@
alll:
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)
- ranlib $(LIB)
+ $(RANLIB) $(LIB)
$(LIBDIR):
mkdir $(LIBDIR)
$(LIBDIR):
mkdir $(LIBDIR)
@@
-44,10
+44,9
@@
clean:
depend: depend2
depend1:
depend: depend2
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:
$(CPP) $(INCLUDE) -M *.c >.depend
depend2:
$(CPP) $(INCLUDE) -M *.c >.depend