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