version 1.7, 2000/03/10 03:05:00 |
version 1.11, 2000/12/21 03:03:13 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.6 2000/03/01 02:29:16 noro Exp $ */ |
/* |
|
* Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED |
|
* All rights reserved. |
|
* |
|
* $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.10 2000/08/22 01:30:21 noro Exp $ |
|
*/ |
#define RISA_TOP_DIR |
#define RISA_TOP_DIR |
#include "include/Risa.tmpl" |
#include "include/Risa.tmpl" |
|
|
|
|
PLIB = parse/libparse.a |
PLIB = parse/libparse.a |
GLIB = gc/libasir-gc.a |
GLIB = gc/libasir-gc.a |
ELIB = engine/libca.a |
ELIB = engine/libca.a |
E27LIB=engine-27/libca-27.a |
|
FLIB=fft/libdft.a |
FLIB=fft/libdft.a |
ALIB = asm/libasm.a |
ALIB = asm/libasm.a |
IOLIB = io/libio.a |
IOLIB = io/libio.a |
|
|
TOBJ = parse/main.o $(FOBJ) |
TOBJ = parse/main.o $(FOBJ) |
UOBJ = parse/umain.o $(FOBJ) |
UOBJ = parse/umain.o $(FOBJ) |
|
|
SUBDIRS = engine engine-27 fft asm gc parse builtin io plot lib include |
SUBDIRS = engine fft asm gc parse builtin io plot lib include |
|
|
LIBS0 = $(BLIB) $(PLIB) $(IOLIB) $(PLLIB) $(ELIB) $(E27LIB) $(FLIB) $(ALIB) |
LIBS0 = $(BLIB) $(PLIB) $(IOLIB) $(PLLIB) $(ELIB) $(FLIB) $(ALIB) |
LIBS = $(LIBS0) $(GLIB) |
LIBS = $(LIBS0) $(GLIB) |
PILIBS = $(IOLIB) $(GLIB) $(ELIB) $(E27LIB) $(FLIB) $(ALIB) |
PILIBS = $(IOLIB) $(GLIB) $(ELIB) $(FLIB) $(ALIB) |
|
|
|
|
MakeSubdirs($(SUBDIRS)) |
MakeSubdirs($(SUBDIRS)) |
Line 95 install:: $(PROGRAMS) |
|
Line 99 install:: $(PROGRAMS) |
|
install-bin-lib:: $(PROGRAMS) |
install-bin-lib:: $(PROGRAMS) |
MakeDir($(ASIR_LIBDIR)) |
MakeDir($(ASIR_LIBDIR)) |
$(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_BINDIR) |
$(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_BINDIR) |
(cd lib; make install-lib) |
(cd lib; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-lib) |
$(RM) $(ASIR_LIBDIR)/asir |
$(RM) $(ASIR_LIBDIR)/asir |
(cd $(ASIR_LIBDIR); $(LN) $(ASIR_BINDIR)/asir asir) |
(cd $(ASIR_LIBDIR); $(LN) ./../../bin/asir asir) |
$(RM) $(ASIR_LIBDIR)/ox_asir |
$(RM) $(ASIR_LIBDIR)/ox_asir |
(cd $(ASIR_LIBDIR); $(LN) asir ox_asir) |
(cd $(ASIR_LIBDIR); $(LN) asir ox_asir) |
$(RM) $(ASIR_LIBDIR)/ox_launch |
$(RM) $(ASIR_LIBDIR)/ox_launch |
Line 116 install-libgc:: $(GLIB) |
|
Line 120 install-libgc:: $(GLIB) |
|
$(RANLIB) $(ROOTDIR)/lib/`basename $(GLIB)` |
$(RANLIB) $(ROOTDIR)/lib/`basename $(GLIB)` |
|
|
install-lib:: |
install-lib:: |
(cd lib; make install-lib) |
(cd lib; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-lib) |
$(RM) $(ASIR_LIBDIR)/ox_asir |
$(RM) $(ASIR_LIBDIR)/ox_asir |
(cd $(ASIR_LIBDIR); $(LN) asir ox_asir) |
(cd $(ASIR_LIBDIR); $(LN) asir ox_asir) |
$(RM) $(ASIR_LIBDIR)/ox_launch |
$(RM) $(ASIR_LIBDIR)/ox_launch |
|
|
$(LN) $(ASIR_LIBDIR)/asir $(ASIR_BINDIR)/asir |
$(LN) $(ASIR_LIBDIR)/asir $(ASIR_BINDIR)/asir |
|
|
install-doc:: |
install-doc:: |
(cd lib; make install-doc) |
(cd lib; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-doc) |
|
|
install-include:: |
install-include:: |
(cd include; make install-include) |
(cd include; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
(cd parse; make install-include) |
(cd parse; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
(cd gc; make install-include) |
(cd gc; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
|
|
clean:: |
clean:: |
$(RM) -r libtmp $(LIBRARIES) |
$(RM) -r libtmp $(LIBRARIES) |