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