889b5abf8b21dc7c2f39ca09be39a15090bbde7b
[yaz-moved-to-github.git] / ccl / Makefile.in
1 # Makefile for Email gateway CCL
2 # Europagate, 1995
3 #
4 # $Log: Makefile.in,v $
5 # Revision 1.2  1998-08-25 16:19:39  adam
6 # Minor changes to Makefile(s).
7 #
8 # Revision 1.1  1998/08/21 14:13:26  adam
9 # Added GNU Configure script to build Makefiles.
10 #
11 # Revision 1.8  1997/09/17 12:10:28  adam
12 # YAZ version 1.4.
13 #
14 # Revision 1.7  1997/04/30 08:52:05  quinn
15 # Null
16 #
17 # Revision 1.6  1996/10/11  15:00:24  adam
18 # CCL parser from Europagate Email gateway 1.0.
19 #
20 # Revision 1.12  1996/05/22  08:37:13  adam
21 # Removed CFLAGS definition.
22 #
23 # Revision 1.11  1995/11/10 10:19:10  adam
24 # cclsh now build on 'make all'.
25 #
26 # Revision 1.10  1995/05/11  14:03:56  adam
27 # Changes in the reading of qualifier(s). New function: ccl_qual_fitem.
28 # New variable ccl_case_sensitive, which controls whether reserved
29 # words and field names are case sensitive or not.
30 #
31 # Revision 1.9  1995/04/17  09:31:34  adam
32 # Improved handling of qualifiers. Aliases or reserved words.
33 #
34 # Revision 1.8  1995/04/10  10:22:35  quinn
35 # Added ccl directory.
36 #
37 # Revision 1.7  1995/03/27  12:49:03  adam
38 # Removed CFLAGS def.
39 #
40 # Revision 1.6  1995/02/23  08:31:58  adam
41 # Changed header.
42 #
43 # Revision 1.4  1995/02/22  08:50:28  adam
44 # Definition of CPP changed.
45 #
46 # Revision 1.3  1995/02/14  10:25:55  adam
47 # The constructions 'qualifier rel term ...' implemented.
48 #
49 # Revision 1.2  1995/02/13  15:15:06  adam
50 # Added handling of qualifiers. Not finished yet.
51 #
52 # Revision 1.1  1995/02/13  12:35:20  adam
53 # First version of CCL. Qualifiers aren't handled yet.
54 #
55 SHELL=/bin/sh
56
57 CC=@CC@
58 CPP=@CPP@
59 RANLIB=@RANLIB@
60 CDEFS=@DEFS@ @ODEFS@
61 LIBS=@LIBS@
62
63 INCLUDE=-I../include
64 PROG=cclsh
65 LIB=../lib/ccl.a
66 PO=cclfind.o ccltoken.o cclerrms.o cclqual.o cclptree.o cclqfile.o cclstr.o
67 DEFS=$(INCLUDE) $(CDEFS)
68
69 all: $(LIB)
70
71 $(PROG): $(PROG).o $(LIB)
72         $(CC) $(CFLAGS) -o $(PROG) $(PROG).o $(LIB) $(LIBS)
73
74 $(LIB): $(PO)
75         rm -f $(LIB)
76         ar qc $(LIB) $(PO)
77         $(RANLIB) $(LIB)
78
79 .c.o:
80         $(CC) -c $(DEFS) $(CFLAGS) $<
81
82 clean:
83         rm -f *.log *.[oa] $(PROG) core mon.out gmon.out errlist *~
84
85 depend:
86         sed '/^#Depend/q' <Makefile >Makefile.tmp
87         $(CPP) $(DEFS) -M *.c >>Makefile.tmp
88         mv -f Makefile.tmp Makefile
89
90 #Depend --- DOT NOT DELETE THIS LINE