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
Works better now.
[yaz-moved-to-github.git]
/
server
/
Makefile
diff --git
a/server/Makefile
b/server/Makefile
index
6830cc8
..
db3ca27
100644
(file)
--- a/
server/Makefile
+++ b/
server/Makefile
@@
-1,19
+1,26
@@
# 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.1 1995-03-10 18:22:44 quinn Exp $
+# $Id: Makefile,v 1.3 1995-03-14 11:30:14 quinn Exp $
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../include -I. -I../asn -I../odr -I../../egate/include -I../../xtimosi/src
+INCLUDE=-I../include -I. -I../asn -I../odr -I../yazlib -I../../egate/include\
+ -I../../xtimosi/src -I../../alex/include
+LIBDIR=../../lib
+LIBINCLUDE=-L$(LIBDIR)
#CFLAGS=-Wall -pedantic -g
#CFLAGS=-Wall -pedantic -g
-#CFLAGS=-g
DEFS=$(INCLUDE)
DEFS=$(INCLUDE)
-LIB= server.a
+LIB=$(LIBDIR)/libserver.a
+LIBS=-lserver -lasn -lodr -lcomstack ../../alex/lib/util.a
PO = eventl.o
CPP=cc -E
PO = eventl.o
CPP=cc -E
-#CC=checkergcc
+PROG=statserv
+PROGO=statserv.o session.o
-all: $(LIB)
+all: $(LIBDIR) $(LIB) $(PROG)
+
+$(PROG): $(LIB) $(PROGO)
+ $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
alll:
alll:
@@
-22,6
+29,9
@@
$(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) $<