[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / cfep / package

Diff for /OpenXM/src/cfep/package/Makefile between version 1.12 and 1.22

version 1.12, 2009/02/22 17:30:03 version 1.22, 2018/10/22 07:05:55
Line 1 
Line 1 
 # Moved from misc-2005/12/xcode/Makefile.  # Moved from misc-2005/12/xcode/Makefile.
 OpenXM_HOME=${HOME}/OX4/OpenXM  OpenXM_HOME=${HOME}/OX4/OpenXM
 BUILD=${OpenXM_HOME}/src/cfep/build  #BUILD=${OpenXM_HOME}/src/cfep/build
   BUILD=${HOME}/Library/Developer/Xcode/DerivedData/cfep-bhkasofxogbpccejyarjutuhwgvp/Build/Products
   BUILD_BASE=${HOME}/Library/Developer/Xcode/DerivedData
 usage:  usage:
         @echo ${BUILD}          @echo "---- Set BUILD directory properly by editing Makefile"
           @echo "BUILD value =${BUILD}"
           @ls ${BUILD_BASE}
           @echo "-----------------------"
         @echo "setup-cfep (developer), clean, "          @echo "setup-cfep (developer), clean, "
         @echo "dist-cfep (build a distribution under work), install, gentar,"          @echo "dist-cfep (build a distribution under work), install, gentar,"
         @echo "copy-intro-ja : Copy intro-ja.html and images to /home/web/HOME/taka/2005/cfep/index-ja.html"          @echo "copy-intro-ja : Copy intro-ja.html and images to /home/web/HOME/taka/2005/cfep/index-ja.html"
Line 21  setup-cfep:
Line 26  setup-cfep:
         (cd ${BUILD}/Default/cfep.app ; ln -s ~/OX4/OpenXM .)          (cd ${BUILD}/Default/cfep.app ; ln -s ~/OX4/OpenXM .)
         make setup-cfep-fix          make setup-cfep-fix
 # To debug html intro at ../doc  # To debug html intro at ../doc
         (cd ../doc ; ln -s ${OpenXM_HOME}/doc/cfep/html-ja_JP.utf8 .)          -(cd ../doc ; ln -s ${OpenXM_HOME}/doc/cfep/html-ja_JP.utf8 .)
         -cp `which nkf` ~/OX4/OpenXM/bin          -cp `which nkf` ~/OX4/OpenXM/bin
           ln -s ${BUILD} .
 setup-cfep-fix:  setup-cfep-fix:
         (rm -f ~/OX4/OpenXM/lib/asir/cfep-init.rr ; cd ~/OX4/OpenXM/lib/asir ; ln -s ~/OX4/OpenXM/src/asir-contrib/packages/src/cfep-init.rr .)          (rm -f ~/OX4/OpenXM/lib/asir/cfep-init.rr ; cd ~/OX4/OpenXM/lib/asir ; ln -s ~/OX4/OpenXM/src/asir-contrib/packages/src/cfep-init.rr .)
   
   link-for-debug:
           echo ${BUILD}/Debug/cfep.app
           (cd ${BUILD}/Debug/cfep.app ; ln -s ~/OX4/OpenXM .)
   
 install:  cfep-grep  install:  cfep-grep
         mkdir -p ${OpenXM_HOME}/doc/cfep          mkdir -p ${OpenXM_HOME}/doc/cfep
         mkdir -p ${OpenXM_HOME}/lib/cfep          mkdir -p ${OpenXM_HOME}/lib/cfep
Line 43  clean:
Line 53  clean:
 dist-cfep: gentar install  dist-cfep: gentar install
         rm -rf work          rm -rf work
         mkdir work          mkdir work
           -cp install.txt work
         (cd work ; (cd ${OpenXM_HOME}/.. ; \          (cd work ; (cd ${OpenXM_HOME}/.. ; \
                   tar cf - OpenXM/lib/libgc* OpenXM/lib/libgmp* OpenXM/rc \                    tar cf - OpenXM/lib/libgc* OpenXM/lib/libgmp* OpenXM/rc \
                     OpenXM/bin/ox OpenXM/bin/ox_asir OpenXM/bin/asir \                      OpenXM/bin \
                         OpenXM/lib/cfep OpenXM/lib/sm1/bin \                          OpenXM/lib/cfep OpenXM/lib/sm1/bin \
                         OpenXM/doc/cfep )  | tar xvf -)                          OpenXM/doc/cfep )  | tar xvf -)
         (cd work ; (cd ${OpenXM_HOME}/.. ; \          (cd work ; (cd ${OpenXM_HOME}/.. ; \
Line 69  dist-cfep: gentar install
Line 80  dist-cfep: gentar install
         (cp ${OpenXM_HOME}/bin/nkf work/OpenXM/bin)          (cp ${OpenXM_HOME}/bin/nkf work/OpenXM/bin)
         (cp ${OpenXM_HOME}/bin/sm1 work/OpenXM/bin)          (cp ${OpenXM_HOME}/bin/sm1 work/OpenXM/bin)
         (cp ${OpenXM_HOME}/bin/ox_k0 work/OpenXM/bin)          (cp ${OpenXM_HOME}/bin/ox_k0 work/OpenXM/bin)
           (cp ${OpenXM_HOME}/bin/ox_cpp work/OpenXM/bin)
           (cp ${OpenXM_HOME}/bin/ox_pari work/OpenXM/bin)
         (mkdir -p work/OpenXM/lib/sm1 ; cp -r ${OpenXM_HOME}/lib/sm1/*.sm1 work/OpenXM/lib/sm1)          (mkdir -p work/OpenXM/lib/sm1 ; cp -r ${OpenXM_HOME}/lib/sm1/*.sm1 work/OpenXM/lib/sm1)
         (cp ${OpenXM_HOME}/lib/sm1/*.asir work/OpenXM/lib/sm1)          (cp ${OpenXM_HOME}/lib/sm1/*.asir work/OpenXM/lib/sm1)
         (cp -r ${OpenXM_HOME}/lib/sm1/Resource work/OpenXM/lib/sm1)          (cp -r ${OpenXM_HOME}/lib/sm1/Resource work/OpenXM/lib/sm1)
Line 112  gendoc: gendoc.c
Line 125  gendoc: gendoc.c
 cfep-grep: cfep-grep.c  cfep-grep: cfep-grep.c
         gcc -o cfep-grep -I${OpenXM_HOME}/include cfep-grep.c -L${OpenXM_HOME}/lib -lox_pathfinder          gcc -o cfep-grep -I${OpenXM_HOME}/include cfep-grep.c -L${OpenXM_HOME}/lib -lox_pathfinder
   
   copy-all-tmp:
           mkdir -p work/OpenXM/share
           -(cp ${OpenXM_HOME}/bin/[a-z]* work/OpenXM/bin)
           -(cp ${OpenXM_HOME}/lib/[a-z]* work/OpenXM/lib)
           -(cp -r ${OpenXM_HOME}/lib/java-support work/OpenXM/lib)
           -(cp -r ${OpenXM_HOME}/share/oxmgraph work/OpenXM/share)
   #       -(cp -r ${OpenXM_HOME}/libexec work/OpenXM )
           rm -f work/OpenXM/bin/gnuplot

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.22

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