[BACK]Return to Imakefile CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000

Diff for /OpenXM_contrib2/asir2000/Attic/Imakefile between version 1.4 and 1.13

version 1.4, 2000/02/07 07:19:58 version 1.13, 2000/12/24 06:32:29
Line 1 
Line 1 
 /* $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.3 2000/01/26 02:18:02 noro Exp $ */  /*
    * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
    * All rights reserved.
    *
    * $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.12 2000/12/22 10:03:27 saito Exp $
    */
 #define RISA_TOP_DIR  #define RISA_TOP_DIR
 #include "include/Risa.tmpl"  #include "include/Risa.tmpl"
   
 #define IHaveSubdirs  #define IHaveSubdirs
 #define PassCDebugFlags  #define PassCDebugFlags
   
 #ifdef FreeBSDArchitecture  
 EXTRALIB=-lcompat  
 #endif  
   
 #ifdef SunArchitecture  #ifdef SunArchitecture
 EXTRASTDLIB= $(MPILIB) -ldl  EXTRASTDLIB= $(MPILIB) -ldl
 #endif  #endif
Line 23  LIBCLIB=/usr/lib/libc.a -lm
Line 24  LIBCLIB=/usr/lib/libc.a -lm
 LIBCLIB=-lm  LIBCLIB=-lm
 #endif  #endif
   
   #if defined(USE_PLOT)
   #ifdef FreeBSDArchitecture
   LOCAL_LIBRARIES = -L/usr/X11R6/lib XawClientLibs $(XWCHARLIB)
   #else
 LOCAL_LIBRARIES = -L/usr/openwin/lib XawClientLibs $(XWCHARLIB)  LOCAL_LIBRARIES = -L/usr/openwin/lib XawClientLibs $(XWCHARLIB)
   #endif
 DEPLIBS = XawClientDepLibs  DEPLIBS = XawClientDepLibs
   #else
   LOCAL_LIBRARIES =
   DEPLIBS =
   #endif
   
 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
Line 41  PLLIB = plot/libplot.a
Line 50  PLLIB = plot/libplot.a
 PLLIB =  PLLIB =
 #endif  #endif
   
 PROGRAMS = asir  PROGRAM = asir
 LIBRARIES = libasir.a $(GLIB)  PROGRAMS = $(PROGRAM)
   
 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  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))
 DependSubdirs($(SUBDIRS))  DependSubdirs($(SUBDIRS))
   
 #if 0  
 AllTarget($(PROGRAMS) asir.o)  
 #else  
 AllTarget($(PROGRAMS) $(LIBRARIES))  AllTarget($(PROGRAMS) $(LIBRARIES))
 #endif  
   
 #ifndef NormalRelocTarget  #ifndef NormalRelocTarget
 #define NormalRelocTarget(program,objects,deplibs,locallibs,syslibs)    @@\  #define NormalRelocTarget(program,objects,deplibs,locallibs,syslibs)    @@\
Line 73 \
Line 78 \
         $(RM) program          $(RM) program
 #endif /* NormalRelocTarget */  #endif /* NormalRelocTarget */
   
 NormalProgramTarget(asir,$(TOBJ),$(LIBS),$(LIBS),$(PARILIB) $(RLLIB) $(LOCAL_LIBRARIES) $(EXTRALIB) $(KANLIB) $(GMPLIB) $(LAPACKLIB) $(LIBCLIB) $(EXTRASTDLIB) )  NormalProgramTarget($(PROGRAM),$(TOBJ),$(LIBS),$(LIBS),$(PARILIB) $(RLLIB) $(LOCAL_LIBRARIES) $(EXTRALIB) $(LAPACKLIB) $(LIBCLIB) $(FEPLIB) $(EXTRASTDLIB) )
 NormalRelocTarget(asir.o,$(UOBJ),$(LIBS),$(LIBS),$(PARILIB) $(RLLIB) $(EXTRALIB) $(LIBCLIB) $(EXTRASTDLIB))  
   
 libasir.a: $(LIBS0)  $(LIBASIR): $(LIBS0)
         -mkdir libtmp          -mkdir libtmp
         ( cd libtmp; $(RM) * )          ( cd libtmp; $(RM) * )
         for i in $(LIBS); do ( cd libtmp; ar x ../$$i; chmod 644 * ) done          for i in $(LIBS0); do ( cd libtmp; ar x ../$$i; chmod 644 * ) done
         $(RM) $@          $(RM) $@
         ( cd libtmp; $(AR) ../$@ *.o )          ( cd libtmp; $(AR) ../$@ *.o )
         $(RANLIB) $@          $(RANLIB) $@
         $(_NULLCMD_)  
   
 install:: $(PROGRAMS) $(LIBRARIES)  install:: $(PROGRAMS)
         MakeDir($(ASIR_LIBDIR))          MakeDir($(ASIR_LIBDIR))
         $(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_LIBDIR)          $(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_BINDIR)
   
   install-bin-lib:: $(PROGRAMS)
           MakeDir($(ASIR_LIBDIR))
           $(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_BINDIR)
           (cd lib; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-lib)
           $(RM) $(ASIR_LIBDIR)/$(PROGRAM)
           (cd $(ASIR_LIBDIR); $(LN) -f ./../../bin/$(PROGRAM) $(PROGRAM))
           (cd $(ASIR_LIBDIR); $(LN) -f ./../../bin/$(PROGRAM) ox_asir)
           (cd $(ASIR_LIBDIR); $(LN) -f ./../../bin/$(PROGRAM) ox_plot)
           (cd $(ASIR_LIBDIR); $(LN) -f ./../../bin/$(PROGRAM) ox_launch)
   
   install-libasir:: $(LIBASIR)
           MakeDir($(ASIR_LIBDIR))
           $(INSTALL) $(INSTALLFLAGS) $(LIBASIR) $(ASIR_LIBDIR)
           $(RANLIB) $(ASIR_LIBDIR)
   
   install-libgc:: $(GLIB)
         MakeDir($(ROOTDIR)/lib)          MakeDir($(ROOTDIR)/lib)
         $(INSTALL) $(INSTALLFLAGS) $(LIBRARIES) $(ROOTDIR)/lib          $(INSTALL) $(INSTALLFLAGS) $(GLIB) $(ROOTDIR)/lib
         for i in $(LIBRARIES); do $(RANLIB) $(ROOTDIR)/lib/`basename $$i` ;  done          $(RANLIB) $(ROOTDIR)/lib/`basename $(GLIB)`
   
 install-lib::  install-lib::
         (cd lib; make install-lib)          MakeDir($(ASIR_LIBDIR))
         $(RM) $(ASIR_LIBDIR)/ox_asir          (cd lib; make ASIR_LIBDIR=$(ASIR_LIBDIR) install-lib)
         $(LN) $(ASIR_LIBDIR)/asir $(ASIR_LIBDIR)/ox_asir  
         $(RM) $(ASIR_LIBDIR)/ox_launch  
         $(LN) $(ASIR_LIBDIR)/asir $(ASIR_LIBDIR)/ox_launch  
         $(RM) $(ASIR_LIBDIR)/ox_plot  
         $(LN) $(ASIR_LIBDIR)/asir $(ASIR_LIBDIR)/ox_plot  
         $(RM) $(ASIR_BINDIR)/asir  
         $(LN) $(ASIR_LIBDIR)/asir $(ASIR_BINDIR)/asir  
   
 install-doc::  install-include::
         (cd lib; make install-doc)  
   
 clean::  clean::
         $(RM) -r libtmp $(LIBRARIES)          $(RM) -r libtmp $(LIBRARIES)

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.13

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>