=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/parse/Attic/Imakefile,v retrieving revision 1.1 retrieving revision 1.10 diff -u -p -r1.1 -r1.10 --- OpenXM_contrib2/asir2000/parse/Attic/Imakefile 1999/12/03 07:39:11 1.1 +++ OpenXM_contrib2/asir2000/parse/Attic/Imakefile 2002/07/25 04:47:42 1.10 @@ -1,21 +1,42 @@ -/* $OpenXM: OpenXM/src/asir99/parse/Imakefile,v 1.1.1.1 1999/11/10 08:12:34 noro Exp $ */ +/* + * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED + * All rights reserved. + * + * $OpenXM$ + */ #include "../include/Risa.tmpl" SRCS = glob.c parser.c kwd.c parse.y lex.c debug.c\ eval.c arith.c function.c load.c util.c\ - pvar.c struct.c puref.c comp.c main.c id.c xdeb.c evall.c + pvar.c struct.c puref.c comp.c main.c xdeb.c evall.c\ + quote.c gc_risa.c OBJS = glob.o parser.o kwd.o y.tab.o lex.o debug.o\ eval.o arith.o function.o load.o util.o\ - pvar.o struct.o puref.o comp.o id.o xdeb.o evall.o + pvar.o struct.o puref.o comp.o xdeb.o evall.o\ + quote.o gc_risa.o -AllTarget(y.tab.c libparse.a main.o umain.o) +HEADERS = comp.h cpp.h parse.h w_stdio.h + +AllTarget(y.tab.c libparse.a gc_risa.o main.o umain.o) NormalLibraryTarget(parse,$(OBJS)) DependTarget() +#if 0 SpecialObjectRule(load.o,NullParameter,-DASIR_LIBDIR=\"$(ASIR_LIBDIR)\") +#else +load.o: load.c + $(CC) -c $(CFLAGS) -DASIR_LIBDIR=\"$(ASIR_LIBDIR)\" $*.c +#endif +#if defined(cygwinArchitecture) +y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl y.tab.h y.tab.c: parse.y + bison -y -d parse.y +#else +y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl +y.tab.h y.tab.c: parse.y yacc -d parse.y +#endif umain.o: main.c $(CC) -c $(CFLAGS) -DUINIT main.c -o umain.o @@ -26,5 +47,9 @@ y.tab.o: #endif glob.o lex.o debug.o main.o umain.o: $(TOP)/include/Risa.tmpl -y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl lex.o kwd.o: y.tab.h + +install-include:: + MakeDir($(ASIR_INCDIR)) + -$(CP) $(HEADERS) $(ASIR_INCDIR) +