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