version 1.19, 2001/12/28 01:28:54 |
version 1.23, 2002/10/03 08:13:30 |
|
|
* Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED |
* Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED |
* All rights reserved. |
* All rights reserved. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.18 2001/12/25 08:59:47 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.22 2002/07/26 10:34:25 noro Exp $ |
*/ |
*/ |
#define RISA_TOP_DIR |
#define RISA_TOP_DIR |
#include "include/Risa.tmpl" |
#include "include/Risa.tmpl" |
|
|
#endif |
#endif |
|
|
PLIB = parse/libparse.a |
PLIB = parse/libparse.a |
GLIB = gc5.3/libasir-gc.a |
GLIB = gc/libasir-gc.a |
ELIB = engine/libca.a |
ELIB = engine/libca.a |
FLIB=fft/libdft.a |
FLIB=fft/libdft.a |
ALIB = asm/libasm.a |
ALIB = asm/libasm.a |
|
|
TOBJ = parse/main.o $(FOBJ) |
TOBJ = parse/main.o $(FOBJ) |
UOBJ = parse/umain.o $(FOBJ) |
UOBJ = parse/umain.o $(FOBJ) |
|
|
SUBDIRS = engine fft asm gc5.3 parse builtin io plot lib include |
SUBDIRS = engine fft asm parse builtin io plot lib include |
|
|
LIBS0 = $(BLIB) $(PLIB) $(IOLIB) $(PLLIB) $(ELIB) $(FLIB) $(ALIB) |
LIBS0 = $(BLIB) $(PLIB) $(IOLIB) $(PLLIB) $(ELIB) $(FLIB) $(ALIB) |
LIBS = $(LIBS0) $(GLIB) |
LIBS = $(LIBS0) $(GLIB) |
Line 100 $(LIBASIR): $(LIBS0) |
|
Line 100 $(LIBASIR): $(LIBS0) |
|
( cd libtmp; $(AR) ../$@ *.o ) |
( cd libtmp; $(AR) ../$@ *.o ) |
$(RANLIB) $@ |
$(RANLIB) $@ |
|
|
|
gc: |
|
( cd gc; make) |
|
|
|
$(GLIB): parse/gc_risa.o gc |
|
( cd gc; make) |
|
-rm gc/libasir-gc.a |
|
cp gc/.libs/libgc.a $(GLIB) |
|
ar q $(GLIB) parse/gc_risa.o |
|
$(RANLIB) $(GLIB) |
|
|
install:: $(PROGRAMS) |
install:: $(PROGRAMS) |
MakeDir($(ASIR_LIBDIR)) |
MakeDir($(ASIR_LIBDIR)) |
$(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_LIBDIR) |
$(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_LIBDIR) |
|
|
install-include:: |
install-include:: |
(cd include; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
(cd include; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
(cd parse; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
(cd parse; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
(cd gc5.3; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
MakeDir($(GC_INCDIR)) |
|
-$(CP) gc/include//**/*.h $(GC_INCDIR) |
|
MakeDir($(GC_INCDIR)/private) |
|
-$(CP) gc/include/private//**/*.h $(GC_INCDIR)/private |
|
|
clean:: |
clean:: |
$(RM) -r libtmp $(LIBRARIES) |
$(RM) -r libtmp $(LIBRARIES) |
|
-$(RM) -f gc/libasir-gc.a |
|
(cd gc; make 'clean') |