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

Diff for /OpenXM_contrib2/asir2000/Attic/Imakefile between version 1.3 and 1.5

version 1.3, 2000/01/26 02:18:02 version 1.5, 2000/02/08 04:47:08
Line 1 
Line 1 
 /* $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.2 2000/01/19 02:08:06 noro Exp $ */  /* $OpenXM: OpenXM_contrib2/asir2000/Imakefile,v 1.4 2000/02/07 07:19:58 noro Exp $ */
 #define RISA_TOP_DIR  #define RISA_TOP_DIR
 #include "include/Risa.tmpl"  #include "include/Risa.tmpl"
   
Line 23  LIBCLIB=/usr/lib/libc.a -lm
Line 23  LIBCLIB=/usr/lib/libc.a -lm
 LIBCLIB=-lm  LIBCLIB=-lm
 #endif  #endif
   
   #if defined(USE_PLOT)
 LOCAL_LIBRARIES = -L/usr/openwin/lib XawClientLibs $(XWCHARLIB)  LOCAL_LIBRARIES = -L/usr/openwin/lib XawClientLibs $(XWCHARLIB)
 DEPLIBS = XawClientDepLibs  DEPLIBS = XawClientDepLibs
   #else
   LOCAL_LIBRARIES =
   DEPLIBS =
   #endif
   
 PLIB = parse/libparse.a  PLIB = parse/libparse.a
 GLIB = gc/libgc.a  GLIB = gc/libasir-gc.a
 ELIB = engine/libca.a  ELIB = engine/libca.a
 E27LIB=engine-27/libca-27.a  E27LIB=engine-27/libca-27.a
 FLIB=fft/libdft.a  FLIB=fft/libdft.a
Line 48  UOBJ = parse/umain.o $(FOBJ)
Line 53  UOBJ = parse/umain.o $(FOBJ)
   
 SUBDIRS = engine engine-27 fft asm gc parse builtin io plot lib  SUBDIRS = engine engine-27 fft asm gc parse builtin io plot lib
   
 LIBS = $(BLIB) $(PLIB) $(IOLIB) $(PLLIB) $(GLIB) $(ELIB) $(E27LIB) $(FLIB) $(ALIB)  LIBS0 = $(BLIB) $(PLIB) $(IOLIB) $(PLLIB) $(ELIB) $(E27LIB) $(FLIB) $(ALIB)
   LIBS = $(LIBS0) $(GLIB)
 PILIBS = $(IOLIB) $(GLIB) $(ELIB) $(E27LIB) $(FLIB) $(ALIB)  PILIBS = $(IOLIB) $(GLIB) $(ELIB) $(E27LIB) $(FLIB) $(ALIB)
   
   
 MakeSubdirs($(SUBDIRS))  MakeSubdirs($(SUBDIRS))
 DependSubdirs($(SUBDIRS))  DependSubdirs($(SUBDIRS))
   
 #if 0  #if 0
 AllTarget($(PROGRAMS) asir.o)  AllTarget($(PROGRAMS) asir.o)
 #else  #else
 AllTarget($(PROGRAMS))  AllTarget($(PROGRAMS) $(LIBRARIES))
 #endif  #endif
   
 #ifndef NormalRelocTarget  #ifndef NormalRelocTarget
Line 73 \
Line 80 \
 NormalProgramTarget(asir,$(TOBJ),$(LIBS),$(LIBS),$(PARILIB) $(RLLIB) $(LOCAL_LIBRARIES) $(EXTRALIB) $(KANLIB) $(GMPLIB) $(LAPACKLIB) $(LIBCLIB) $(EXTRASTDLIB) )  NormalProgramTarget(asir,$(TOBJ),$(LIBS),$(LIBS),$(PARILIB) $(RLLIB) $(LOCAL_LIBRARIES) $(EXTRALIB) $(KANLIB) $(GMPLIB) $(LAPACKLIB) $(LIBCLIB) $(EXTRASTDLIB) )
 NormalRelocTarget(asir.o,$(UOBJ),$(LIBS),$(LIBS),$(PARILIB) $(RLLIB) $(EXTRALIB) $(LIBCLIB) $(EXTRASTDLIB))  NormalRelocTarget(asir.o,$(UOBJ),$(LIBS),$(LIBS),$(PARILIB) $(RLLIB) $(EXTRALIB) $(LIBCLIB) $(EXTRASTDLIB))
   
   $(LIBASIR): $(LIBS0)
           -mkdir libtmp
           ( cd libtmp; $(RM) * )
           for i in $(LIBS0); do ( cd libtmp; ar x ../$$i; chmod 644 * ) done
           $(RM) $@
           ( cd libtmp; $(AR) ../$@ *.o )
           $(RANLIB) $@
   
 install:: $(PROGRAMS)  install:: $(PROGRAMS)
         MakeDir($(ASIR_BINDIR))  
         MakeDir($(ASIR_LIBDIR))          MakeDir($(ASIR_LIBDIR))
         $(INSTALL) -c $(PROGRAMS) $(ASIR_LIBDIR)          $(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_LIBDIR)
   
   install-libasir:: $(LIBASIR)
           MakeDir($(ROOTDIR)/lib)
           $(INSTALL) $(INSTALLFLAGS) $(LIBASIR) $(ROOTDIR)/lib
           $(RANLIB) $(ROOTDIR)/lib/$(LIBASIR)
   
   install-libgc:: $(GLIB)
           MakeDir($(ROOTDIR)/lib)
           $(INSTALL) $(INSTALLFLAGS) $(GLIB) $(ROOTDIR)/lib
           $(RANLIB) $(ROOTDIR)/lib/`basename $(GLIB)`
   
 install-lib::  install-lib::
         (cd lib; make install-lib)          (cd lib; make install-lib)
         $(RM) $(ASIR_LIBDIR)/ox_asir          $(RM) $(ASIR_LIBDIR)/ox_asir
Line 91  install-lib::
Line 115  install-lib::
   
 install-doc::  install-doc::
         (cd lib; make install-doc)          (cd lib; make install-doc)
   
   clean::
           $(RM) -r libtmp $(LIBRARIES)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

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