Annotation of OpenXM_contrib2/asir2000/old/parse.Imakefile, Revision 1.1
1.1 ! noro 1: /*
! 2: * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
! 3: * All rights reserved.
! 4: *
! 5: * $OpenXM$
! 6: */
! 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\
! 11: pvar.c struct.c puref.c comp.c main.c xdeb.c evall.c\
! 12: quote.c
! 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\
! 16: pvar.o struct.o puref.o comp.o xdeb.o evall.o\
! 17: quote.o
! 18:
! 19: HEADERS = comp.h cpp.h parse.h w_stdio.h
! 20:
! 21: AllTarget(y.tab.c libparse.a main.o umain.o)
! 22: NormalLibraryTarget(parse,$(OBJS))
! 23: DependTarget()
! 24: #if 0
! 25: SpecialObjectRule(load.o,NullParameter,-DASIR_LIBDIR=\"$(ASIR_LIBDIR)\")
! 26: #else
! 27: load.o: load.c
! 28: $(CC) -c $(CFLAGS) -DASIR_LIBDIR=\"$(ASIR_LIBDIR)\" $*.c
! 29: #endif
! 30:
! 31: #if defined(cygwinArchitecture)
! 32: y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl
! 33: y.tab.h y.tab.c: parse.y
! 34: bison -y -d parse.y
! 35: #else
! 36: y.tab.c y.tab.h: $(TOP)/include/Risa.tmpl
! 37: y.tab.h y.tab.c: parse.y
! 38: yacc -d parse.y
! 39: #endif
! 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
! 51:
! 52: install-include::
! 53: MakeDir($(ASIR_INCDIR))
! 54: -$(CP) $(HEADERS) $(ASIR_INCDIR)
! 55:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>