1 # Makefile for Email gateway Z39.50 interface
5 # Revision 1.12 1995/04/19 16:02:28 adam
8 # Revision 1.11 1995/04/19 09:24:01 quinn
9 # Fixed bug in zass_open - variable initialized after use
11 # Revision 1.10 1995/04/19 07:31:28 adam
14 # Revision 1.9 1995/04/17 11:26:52 quinn
15 # Added YAZ version of zaccess
17 # Revision 1.8 1995/04/17 09:36:44 adam
18 # Minor changes in makefile.
20 # Revision 1.7 1995/03/27 12:52:25 adam
23 # Revision 1.6 1995/02/23 10:09:39 adam
26 # Revision 1.5 1995/02/23 08:32:25 adam
29 # Revision 1.3 1995/02/22 08:51:49 adam
30 # Definition of CPP changed.
32 # Revision 1.2 1995/02/16 15:01:38 quinn
33 # Polished some library-references
35 # Revision 1.1 1995/02/16 14:47:55 quinn
40 #ZDEFS=-DLOW_TO_HIGH -Dfar=
41 #ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
43 #ZLIB=$(ZPRE)/libz3950.a
45 ZINC=-I../../../quinn/proj/yaz/include
47 ZLIB=../../../quinn/proj/yaz/lib/libyaz.a
49 INCLUDE=-I. -I../include $(ZINC)
50 #CFLAGS=-g -Wall -pedantic -ansi
60 $(TPROG1): $(TPROG1).o $(LIB)
61 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) $(ZLIB) ../lib/libres+log.a
69 $(CC) -c $(DEFS) $(CFLAGS) $(ZDEFS) $<
72 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
77 sed '/^#Depend/q' <Makefile >Makefile.tmp
78 $(CPP) $(DEFS) -M $(CFILES) >>Makefile.tmp
79 mv -f Makefile.tmp Makefile
82 $(CPP) $(DEFS) -M $(CFILES) >.depend
84 #GNU make style depend
85 ifeq (.depend,$(wildcard .depend))
89 #Depend --- DOT NOT DELETE THIS LINE