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
Added SearchInfoReport
[yaz-moved-to-github.git]
/
util
/
Makefile
diff --git
a/util/Makefile
b/util/Makefile
index
924e66e
..
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.6 1995-04-17 09:37:50 quinn 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)
@@
-36,15
+38,14
@@
$(LIBDIR):
$(CC) -c $(DEFS) $(CFLAGS) $<
clean:
$(CC) -c $(DEFS) $(CFLAGS) $<
clean:
- rm -f *.[oa] test core mon.out gmon.out errlist
+ rm -f *.[oa] test marcdump core mon.out gmon.out errlist
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