Annotation of OpenXM_contrib2/asir2000/parse/Imakefile, Revision 1.6
1.4 noro 1: /*
2: * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
3: * All rights reserved.
4: *
1.6 ! noro 5: * $OpenXM: OpenXM_contrib2/asir2000/parse/Imakefile,v 1.5 2001/06/15 07:56:06 noro Exp $
1.4 noro 6: */
1.1 noro 7: #include "../include/Risa.tmpl"
8:
9: SRCS = glob.c parser.c kwd.c parse.y lex.c debug.c\
10: eval.c arith.c function.c load.c util.c\
1.6 ! noro 11: pvar.c struct.c puref.c comp.c main.c xdeb.c evall.c\
! 12: quote.c
1.1 noro 13:
14: OBJS = glob.o parser.o kwd.o y.tab.o lex.o debug.o\
15: eval.o arith.o function.o load.o util.o\
1.6 ! noro 16: pvar.o struct.o puref.o comp.o xdeb.o evall.o\
! 17: quote.o
1.1 noro 18:
1.2 noro 19: HEADERS = comp.h cpp.h parse.h w_stdio.h
20:
1.1 noro 21: AllTarget(y.tab.c libparse.a main.o umain.o)
22: NormalLibraryTarget(parse,$(OBJS))
23: DependTarget()
1.5 noro 24: #if 0
1.1 noro 25: SpecialObjectRule(load.o,NullParameter,-DASIR_LIBDIR=\"$(ASIR_LIBDIR)\")
1.5 noro 26: #else
27: load.o: load.c
28: $(CC) -c $(CFLAGS) -DASIR_LIBDIR=\"$(ASIR_LIBDIR)\" $*.c
29: #endif
1.1 noro 30:
31: y.tab.h y.tab.c: parse.y
32: yacc -d parse.y
33:
34: umain.o: main.c
35: $(CC) -c $(CFLAGS) -DUINIT main.c -o umain.o
36:
37: #if 0
38: y.tab.o:
39: cc -c -O2 -DYYMAXDEPTH=500 $(INCLUDES) $(DEFINES) $*.c
40: #endif
41:
42: glob.o lex.o debug.o main.o umain.o: $(TOP)/include/Risa.tmpl
43: y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl
44: lex.o kwd.o: y.tab.h
1.2 noro 45:
46: install-include::
47: MakeDir($(ASIR_INCDIR))
48: -$(CP) $(HEADERS) $(ASIR_INCDIR)
49:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>