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
Implemented data1_add_insert_taggeddata utility which is more flexible
[yaz-moved-to-github.git]
/
server
/
Makefile
diff --git
a/server/Makefile
b/server/Makefile
index
cbb5d81
..
22e2a24
100644
(file)
--- a/
server/Makefile
+++ b/
server/Makefile
@@
-1,37
+1,27
@@
-# Copyright (C) 1994, Index Data I/S
+# Copyright (C) 1995-1998, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.21 1995-05-15 11:56:36 quinn Exp $
+# $Id: Makefile,v 1.35 1998-01-07 13:34:06 adam Exp $
LIBDIR=../lib
LIBDIR=../lib
-# Uncomment this when you want to use XTIMOSI
-LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
+#LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../include -I. -I../../xtimosi/src -I../../alex/include
+INCLUDE=-I../include -I. -I../../xtimosi/src
LIBINCLUDE=-L$(LIBDIR)
LIBINCLUDE=-L$(LIBDIR)
-#CFLAGS=-Wall -pedantic -g
-DEFS=$(INCLUDE)
+DEFS=$(INCLUDE) $(CDEFS)
LIB=$(LIBDIR)/libserver.a
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
PO = eventl.o seshigh.o statserv.o requestq.o
CPP=$(CC) -E
-PROG=ztest
-PROGO=ztest.o
+RANLIB=ranlib
-all: $(LIBDIR) $(LIB) $(PROG)
-
-$(PROG): $(LIB) $(PROGO)
- $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
-
-alll:
+all: $(LIBDIR) $(LIB)
$(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)
@@
-43,15
+33,14
@@
clean:
rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
depend: depend2
rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG)
depend: depend2
-:
+
depend1:
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:
depend2:
- $(CPP) $(INCLUDE) -M *.c >.depend
+ $(CPP) $(DEFS) -M *.c >.depend
ifeq (.depend,$(wildcard .depend))
include .depend
ifeq (.depend,$(wildcard .depend))
include .depend