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

Diff for /OpenXM/src/util/Attic/Makefile between version 1.4 and 1.5

version 1.4, 2003/03/26 04:45:37 version 1.5, 2003/07/21 11:36:10
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/util/Makefile,v 1.3 2003/03/06 10:36:04 ohara Exp $  # $OpenXM: OpenXM/src/util/Makefile,v 1.4 2003/03/26 04:45:37 takayama Exp $
 OpenXM_ROOT=../../../OpenXM  OpenXM_ROOT=../../../OpenXM
 OpenXM_bin=$(OpenXM_ROOT)/bin  OpenXM_bin=$(OpenXM_ROOT)/bin
 OpenXM_lib=$(OpenXM_ROOT)/lib  OpenXM_lib=$(OpenXM_ROOT)/lib
   OpenXM_include=$(OpenXM_ROOT)/include
 CC=gcc  CC=gcc
   
 all : oxweave oxreplace  all : oxweave oxreplace libox_pathfinder.a
   
 oxweave : oxweave.c  oxweave : oxweave.c
         gcc    -D_BSD_SOURCE -o oxweave -g oxweave.c          gcc    -D_BSD_SOURCE -o oxweave -g oxweave.c
 oxreplace : oxreplace.c  oxreplace : oxreplace.c
         gcc    -D_BSD_SOURCE -o oxreplace -g oxreplace.c          gcc    -D_BSD_SOURCE -o oxreplace -g oxreplace.c
   libox_pathfinder.a : ox_pathfinder.o
           ar ru libox_pathfinder.a ox_pathfinder.o
   ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h
           $(CC) -c ox_pathfinder.c
   
   
 install: all  install: all
           @if [ ! -f ./.install_done ] ; then \
           echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h" ; \
         if [  "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \          if [  "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \
           cp -f oxweave.exe ${OpenXM_bin} ; \            cp -f oxweave.exe ${OpenXM_bin} ; \
           cp -f oxweave.exe ${OpenXM_ROOT}/src/kxx ; \            cp -f oxweave.exe ${OpenXM_ROOT}/src/kxx ; \
Line 21  install: all
Line 27  install: all
           cp -f oxweave ${OpenXM_bin} ; \            cp -f oxweave ${OpenXM_bin} ; \
           cp -f oxweave ${OpenXM_ROOT}/src/kxx ; \            cp -f oxweave ${OpenXM_ROOT}/src/kxx ; \
           cp -f oxreplace ${OpenXM_bin} ; \            cp -f oxreplace ${OpenXM_bin} ; \
           fi ; \
           cp -f libox_pathfinder.a ${OpenXM_lib}  ; \
           cp -f ox_pathfinder.h ${OpenXM_include} ; \
           cp -f lndir.sh ${OpenXM_bin} ; \
           chmod 755 ${OpenXM_bin}/lndir.sh ; \
           touch ./.install_done ; \
         fi          fi
         cp -f lndir.sh ${OpenXM_bin}  
         chmod 755 ${OpenXM_bin}/lndir.sh  clean:
           rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a
   

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

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