version 1.1, 1999/12/03 07:39:11 |
version 1.10, 2002/07/25 04:47: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" |
#include "../include/Risa.tmpl" |
|
|
SRCS = glob.c parser.c kwd.c parse.y lex.c debug.c\ |
SRCS = glob.c parser.c kwd.c parse.y lex.c debug.c\ |
eval.c arith.c function.c load.c util.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\ |
OBJS = glob.o parser.o kwd.o y.tab.o lex.o debug.o\ |
eval.o arith.o function.o load.o util.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)) |
NormalLibraryTarget(parse,$(OBJS)) |
DependTarget() |
DependTarget() |
|
#if 0 |
SpecialObjectRule(load.o,NullParameter,-DASIR_LIBDIR=\"$(ASIR_LIBDIR)\") |
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 |
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 |
yacc -d parse.y |
|
#endif |
|
|
umain.o: main.c |
umain.o: main.c |
$(CC) -c $(CFLAGS) -DUINIT main.c -o umain.o |
$(CC) -c $(CFLAGS) -DUINIT main.c -o umain.o |
|
|
#endif |
#endif |
|
|
glob.o lex.o debug.o main.o umain.o: $(TOP)/include/Risa.tmpl |
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 |
lex.o kwd.o: y.tab.h |
|
|
|
install-include:: |
|
MakeDir($(ASIR_INCDIR)) |
|
-$(CP) $(HEADERS) $(ASIR_INCDIR) |
|
|