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
Version 1.3
[yaz-moved-to-github.git]
/
rfc1006
/
Makefile
diff --git
a/rfc1006/Makefile
b/rfc1006/Makefile
index
7e93ce6
..
d065072
100644
(file)
--- a/
rfc1006/Makefile
+++ b/
rfc1006/Makefile
@@
-1,18
+1,18
@@
# 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.3 1995-05-02 08:53:07 quinn Exp $
+# $Id: Makefile,v 1.9 1996-05-22 08:35:58 adam Exp $
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../../xtimosi/src
LIBDIR=../lib
LIBINCLUDE=-L$(LIBDIR)
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../../xtimosi/src
LIBDIR=../lib
LIBINCLUDE=-L$(LIBDIR)
-CFLAGS= -g -Wall -pedantic -ansi
-DEFS=$(INCLUDE) -DTRACE_TRANSPORT
+DEFS=$(INCLUDE) # -DTRACE_TRANSPORT
LIB=$(LIBDIR)/librfc.a
LIBS=-lodr
PO = rfct.o makensap.o
CPP=$(CC) -E
LIB=$(LIBDIR)/librfc.a
LIBS=-lodr
PO = rfct.o makensap.o
CPP=$(CC) -E
+RANLIB=ranlib
all: $(LIBDIR) $(INCDIR) $(LIB)
all: $(LIBDIR) $(INCDIR) $(LIB)
@@
-24,7
+24,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)
@@
-38,10
+38,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