Annotation of inventor/GNUmakefile, Revision 1.1
1.1 ! naaman 1: #!gmake
! 2: SHELL = /bin/sh
! 3:
! 4: install all::
! 5: cd tools/ppp; $(MAKE) install
! 6: cd libimage;$(MAKE) install
! 7: # uncomment the following to get a debug build
! 8: #export LIBTYPE=debug
! 9: cd lib;$(MAKE) install
! 10: cd libSoXt;$(MAKE) install
! 11: if [ ! -d $(IVROOT)/usr/lib/Inventor/Debug ]; then \
! 12: mkdir -p $(IVROOT)/usr/lib/Inventor/Debug ; \
! 13: fi
! 14: #cp -f $(IVROOT)/usr/lib/libInventor.so $(IVROOT)/usr/lib/Inventor/Debug
! 15: #cp -f $(IVROOT)/usr/lib/libInventorXt.so $(IVROOT)/usr/lib/Inventor/Debug
! 16: cd apps;$(MAKE) install
! 17: cd data;$(MAKE) install
! 18: cd doc;$(MAKE) install
! 19:
! 20: clobber::
! 21: cd tools/ppp; $(MAKE) clobber
! 22: cd libimage;$(MAKE) clobber
! 23: cd lib;$(MAKE) clobber
! 24: cd libSoXt;$(MAKE) clobber
! 25: cd apps;$(MAKE) clobber
! 26: cd doc;$(MAKE) clobber
! 27: if [ -e usr ] ; then \
! 28: rm -rf usr ; \
! 29: fi
! 30: if [ -e opt ] ; then \
! 31: rm -rf opt ; \
! 32: fi
! 33:
! 34: rpms:
! 35: cd .. ; rm -f oiv.tar.gz ; tar zcvf oiv.tar.gz main
! 36: su -c "cp -f ../oiv.tar.gz /usr/src/redhat/SOURCES"
! 37: su -c "cd build ; rpm -bb OpenInventor.rpm.spec"
! 38: su -c "cd build ; rpm -bb OpenInventor-devel.rpm.spec"
! 39: su -c "cd build ; rpm -bb OpenInventor-data.rpm.spec"
! 40: su -c "cd build ; rpm -bb OpenInventor-demos.rpm.spec"
! 41:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>