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 Explain-schema and Explain-tagset to OID database.
[yaz-moved-to-github.git]
/
util
/
Makefile
diff --git
a/util/Makefile
b/util/Makefile
index
0ded9c3
..
441d771
100644
(file)
--- a/
util/Makefile
+++ b/
util/Makefile
@@
-1,17
+1,16
@@
# Copyright (C) 1994-1997, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# Copyright (C) 1994-1997, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.23 1997-09-04 07:59:29 adam Exp $
+# $Id: Makefile,v 1.27 1998-05-18 10:10:01 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)
-DEFS=$(INCLUDE)
-#DEFS=$(INCLUDE) -DTRACE_XMALLOC=1
+DEFS=$(INCLUDE) $(CDEFS)
LIB=$(LIBDIR)/libutil.a
LIBS=
LIB=$(LIBDIR)/libutil.a
LIBS=
-PO = options.o log.o marcdisp.o yaz-ccl.o pquery.o oid.o wrbuf.o \
+PO = options.o log.o marcdisp.o yaz-ccl.o pquery.o oid.o wrbuf.o nmemsdup.o \
xmalloc.o readconf.o tpath.o nmem.o yaz-util.o atoin.o # dmalloc.o
CPP=$(CC) -E
RANLIB=ranlib
xmalloc.o readconf.o tpath.o nmem.o yaz-util.o atoin.o # dmalloc.o
CPP=$(CC) -E
RANLIB=ranlib
@@
-31,9
+30,6
@@
$(LIB): $(PO)
ar qc $(LIB) $(PO)
$(RANLIB) $(LIB)
ar qc $(LIB) $(PO)
$(RANLIB) $(LIB)
-$(LIBDIR):
- mkdir $(LIBDIR)
-
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
@@
-48,7
+44,7
@@
depend1:
mv -f Makefile.tmp Makefile
depend2:
mv -f Makefile.tmp Makefile
depend2:
- $(CPP) $(INCLUDE) -M *.c >.depend
+ $(CPP) $(DEFS) -M *.c >.depend
ifeq (.depend,$(wildcard .depend))
include .depend
ifeq (.depend,$(wildcard .depend))
include .depend