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
Work.
[yaz-moved-to-github.git]
/
asn
/
Makefile
diff --git
a/asn/Makefile
b/asn/Makefile
index
a37c56e
..
eb72585
100644
(file)
--- a/
asn/Makefile
+++ b/
asn/Makefile
@@
-1,7
+1,7
@@
# 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.12 1995-05-29 08:10:38 quinn Exp $
+# $Id: Makefile,v 1.21 1995-10-12 10:34:36 quinn Exp $
SHELL=/bin/sh
INCLUDE=-I../include -I.
SHELL=/bin/sh
INCLUDE=-I../include -I.
@@
-11,8
+11,10
@@
LIBINCLUDE=-L$(LIBDIR)
DEFS=$(INCLUDE)
LIB=$(LIBDIR)/libasn.a
LIBS=-lodr -lasn
DEFS=$(INCLUDE)
LIB=$(LIBDIR)/libasn.a
LIBS=-lodr -lasn
-PO = proto.o diagbib1.o zget.o
+PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o prt-exp.o prt-ext.o \
+ prt-grs.o prt-exd.o prt-dia.o prt-esp.o
CPP=$(CC) -E
CPP=$(CC) -E
+RANLIB=ranlib
all: $(LIB)
all: $(LIB)
@@
-24,7
+26,7
@@
alll:
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)
- ranlib $(LIB)
+ $(RANLIB) $(LIB)
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
@@
-35,10
+37,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