[BACK]Return to GNUmakefile CVS log [TXT][DIR] Up to [Development] / inventor

Diff for /inventor/GNUmakefile between version 1.2 and 1.3

version 1.2, 2000/08/17 23:33:03 version 1.3, 2000/09/18 11:10:05
Line 1 
Line 1 
 #!gmake  IVDEPTH = .
 SHELL = /bin/sh  include $(IVDEPTH)/make/ivcommondefs
   
 install all::  
  cd tools/ppp; $(MAKE) install  # Use of LSUBDIRS is to allow override using environment variable without
  cd libimage;$(MAKE) install  # conflicting with SUBDIRS in subdirectory makefiles.
  # uncomment the following to get a debug build  
  #export LIBTYPE=debug  LSUBDIRS = libimage tools lib libSoXt doc data apps
  cd lib;$(MAKE) install  SUBDIRS = $(LSUBDIRS)
  cd libSoXt;$(MAKE) install  
  if [ ! -d $(IVROOT)/usr/lib/Inventor/Debug ]; then \  all install $(COMMONTARGS):
   mkdir -p $(IVROOT)/usr/lib/Inventor/Debug ; \   $(SUBDIRS_MAKERULE)
  fi  
  #cp -f $(IVROOT)/usr/lib/libInventor.so $(IVROOT)/usr/lib/Inventor/Debug  
  #cp -f $(IVROOT)/usr/lib/libInventorXt.so $(IVROOT)/usr/lib/Inventor/Debug  SPECS = sgi-OpenInventor-clients.rpm.spec \
  cd apps;$(MAKE) install   sgi-OpenInventor-data.rpm.spec \
  cd data;$(MAKE) install   sgi-OpenInventor-devel.rpm.spec
  cd doc;$(MAKE) install  
   TARBALL = oiv.tar.gz
 clobber::  
  cd tools/ppp; $(MAKE) clobber  
  cd libimage;$(MAKE) clobber  
  cd lib;$(MAKE) clobber  
  cd libSoXt;$(MAKE) clobber  
  cd apps;$(MAKE) clobber  
  cd doc;$(MAKE) clobber  
  if [ -e usr ] ; then \  
  rm -rf usr ; \  
  fi  
  if [ -e opt ] ; then \  
  rm -rf opt ; \  
  fi  
   
 rpms:  rpms:
  cd .. ; rm -f oiv.tar.gz ; tar zcvf oiv.tar.gz inventor   cd ..; rm -f $(TARBALL); tar zcvf $(TARBALL) inventor
  su -c "cp -f ../oiv.tar.gz /usr/src/redhat/SOURCES"   su -c "cp -f ../$(TARBALL) /usr/src/redhat/SOURCES"
  su -c "cd build ; rpm -bb sgi-OpenInventor.rpm.spec"  
  su -c "cd build ; rpm -bb sgi-OpenInventor-devel.rpm.spec"  
  su -c "cd build ; rpm -bb sgi-OpenInventor-data.rpm.spec"  
  su -c "cd build ; rpm -bb sgi-OpenInventor-demos.rpm.spec"  
   
    for s in $(SPECS); do \
     (su -c "cd build; rpm -bb $$s") \
    done;

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

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