version 1.15, 2000/12/26 05:17:46 |
version 1.20, 2002/07/25 04:47:40 |
Line 54 PLLIB = plot/libplot.a |
|
Line 54 PLLIB = plot/libplot.a |
|
PLLIB = |
PLLIB = |
#endif |
#endif |
|
|
|
#if defined(cygwinArchitecture) |
|
PROGRAMS = asir.exe |
|
#else |
PROGRAMS = asir |
PROGRAMS = asir |
|
#endif |
|
|
TOBJ = parse/main.o $(FOBJ) |
TOBJ = parse/main.o $(FOBJ) |
UOBJ = parse/umain.o $(FOBJ) |
UOBJ = parse/umain.o $(FOBJ) |
|
|
SUBDIRS = engine fft asm gc 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 96 $(LIBASIR): $(LIBS0) |
|
Line 100 $(LIBASIR): $(LIBS0) |
|
( cd libtmp; $(AR) ../$@ *.o ) |
( cd libtmp; $(AR) ../$@ *.o ) |
$(RANLIB) $@ |
$(RANLIB) $@ |
|
|
|
$(GLIB): parse/gc_risa.o |
|
( 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) |
Line 104 install-bin-lib:: $(PROGRAMS) |
|
Line 115 install-bin-lib:: $(PROGRAMS) |
|
MakeDir($(ASIR_LIBDIR)) |
MakeDir($(ASIR_LIBDIR)) |
$(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_BINDIR) |
$(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_BINDIR) |
(cd lib; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-lib) |
(cd lib; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-lib) |
|
#if defined(cygwinArchitecture) |
$(RM) $(ASIR_LIBDIR)/asir |
$(RM) $(ASIR_LIBDIR)/asir |
|
$(RM) $(ASIR_LIBDIR)/asir.exe |
(cd $(ASIR_LIBDIR); $(LN) ./../../bin/asir asir) |
(cd $(ASIR_LIBDIR); $(LN) ./../../bin/asir asir) |
$(RM) $(ASIR_LIBDIR)/ox_asir |
|
(cd $(ASIR_LIBDIR); $(LN) asir ox_asir) |
|
$(RM) $(ASIR_LIBDIR)/ox_launch |
$(RM) $(ASIR_LIBDIR)/ox_launch |
|
$(RM) $(ASIR_LIBDIR)/ox_launch.exe |
|
(cd $(ASIR_LIBDIR); $(CP) ./../../bin/asir.exe ox_launch.exe) |
|
#else |
|
$(RM) $(ASIR_LIBDIR)/asir |
|
(cd $(ASIR_LIBDIR); $(LN) ./../../bin/asir asir) |
|
$(RM) $(ASIR_LIBDIR)/ox_launch |
(cd $(ASIR_LIBDIR); $(LN) asir ox_launch) |
(cd $(ASIR_LIBDIR); $(LN) asir ox_launch) |
|
#endif |
|
$(RM) $(ASIR_LIBDIR)/ox_asir |
|
(cd $(ASIR_LIBDIR); $(LN) asir ox_asir) |
$(RM) $(ASIR_LIBDIR)/ox_plot |
$(RM) $(ASIR_LIBDIR)/ox_plot |
(cd $(ASIR_LIBDIR); $(LN) asir ox_plot) |
(cd $(ASIR_LIBDIR); $(LN) asir ox_plot) |
|
|
|
|
$(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 |
|
#if defined(cygwinArchitecture) |
|
(cd $(ASIR_LIBDIR); $(CP) asir.exe ox_launch.exe) |
|
#else |
(cd $(ASIR_LIBDIR); $(LN) asir ox_launch) |
(cd $(ASIR_LIBDIR); $(LN) asir ox_launch) |
|
#endif |
$(RM) $(ASIR_LIBDIR)/ox_plot |
$(RM) $(ASIR_LIBDIR)/ox_plot |
(cd $(ASIR_LIBDIR); $(LN) asir ox_plot) |
(cd $(ASIR_LIBDIR); $(LN) asir ox_plot) |
$(RM) $(ASIR_BINDIR)/asir |
$(RM) $(ASIR_BINDIR)/asir |
|
|
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 gc; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
(cd gc5.3; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-include) |
|
|
clean:: |
clean:: |
$(RM) -r libtmp $(LIBRARIES) |
$(RM) -r libtmp $(LIBRARIES) |