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
Removed reference to gils-f.est.
[yaz-moved-to-github.git]
/
util
/
Makefile
diff --git
a/util/Makefile
b/util/Makefile
index
2536a02
..
04c6c1a
100644
(file)
--- a/
util/Makefile
+++ b/
util/Makefile
@@
-1,18
+1,20
@@
-# Copyright (C) 1994, Index Data I/S
+# Copyright (C) 1994-1996, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.7 1995-05-17 08:19:08 adam Exp $
+# $Id: Makefile,v 1.21 1996-08-12 14:10:34 adam Exp $
SHELL=/bin/sh
INCLUDE=-I../include -I.
LIBDIR=../lib
LIBINCLUDE=-L$(LIBDIR)
SHELL=/bin/sh
INCLUDE=-I../include -I.
LIBDIR=../lib
LIBINCLUDE=-L$(LIBDIR)
-#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
DEFS=$(INCLUDE)
+#DEFS=$(INCLUDE) -DTRACE_XMALLOC=1
LIB=$(LIBDIR)/libutil.a
LIBS=
LIB=$(LIBDIR)/libutil.a
LIBS=
-PO = dmalloc.o options.o log.o marcdisp.o
+PO = options.o log.o marcdisp.o yaz-ccl.o pquery.o oid.o wrbuf.o \
+ xmalloc.o readconf.o tpath.o nmem.o yaz-util.o # dmalloc.o
CPP=$(CC) -E
CPP=$(CC) -E
+RANLIB=ranlib
all: $(LIBDIR) $(LIB) marcdump
all: $(LIBDIR) $(LIB) marcdump
@@
-27,7
+29,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)
@@
-41,10
+43,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