Annotation of OpenXM_contrib2/asir2000/parse/Imakefile, Revision 1.9
1.4 noro 1: /*
2: * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
3: * All rights reserved.
4: *
1.9 ! noro 5: * $OpenXM: OpenXM_contrib2/asir2000/parse/Imakefile,v 1.8 2001/12/25 08:59:49 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:
1.9 ! noro 31: #if defined(cygwinArchitecture)
1.7 noro 32: y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl
1.1 noro 33: y.tab.h y.tab.c: parse.y
1.8 noro 34: bison -y -d parse.y
35: #else
1.9 ! noro 36: y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl
! 37: y.tab.h y.tab.c: parse.y
1.1 noro 38: yacc -d parse.y
1.7 noro 39: #endif
1.1 noro 40:
41: umain.o: main.c
42: $(CC) -c $(CFLAGS) -DUINIT main.c -o umain.o
43:
44: #if 0
45: y.tab.o:
46: cc -c -O2 -DYYMAXDEPTH=500 $(INCLUDES) $(DEFINES) $*.c
47: #endif
48:
49: glob.o lex.o debug.o main.o umain.o: $(TOP)/include/Risa.tmpl
50: lex.o kwd.o: y.tab.h
1.2 noro 51:
52: install-include::
53: MakeDir($(ASIR_INCDIR))
54: -$(CP) $(HEADERS) $(ASIR_INCDIR)
55:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>