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

Diff for /OpenXM/src/util/Attic/Makefile between version 1.2 and 1.14

version 1.2, 2002/04/05 01:28:47 version 1.14, 2004/01/30 20:48:34
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/util/Makefile,v 1.1 2002/04/05 01:12:09 takayama Exp $  # $OpenXM: OpenXM/src/util/Makefile,v 1.13 2003/12/01 11:21:09 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  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
           rm -f .install_done
   oxreplace : oxreplace.c
           gcc    -D_BSD_SOURCE -o oxreplace -g oxreplace.c
           rm -f .install_done
   libox_pathfinder.a : ox_pathfinder.o
           ar ru libox_pathfinder.a ox_pathfinder.o
           rm -f .install_done
   ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h
           $(CC) -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.c
   
   test: ox_pathfinder.o test.c
           $(CC) -o test -D_BSD_SOURCE -D_POSIX_C_SOURCE test.c ox_pathfinder.o -L${OpenXM_lib} -lgc
   
 install: all  install: all
         if [  "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \          @if [ ! -f ./.install_done ] ; then \
           cp -f oxweave.exe ${OpenXM_bin} ; \          echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h oxfetch.sh" ; \
           cp -f oxweave.exe ${OpenXM_ROOT}/src/kxx ; \          install -c -s oxweave oxreplace ${OpenXM_bin} ; \
         else \          install -c -s oxweave ${OpenXM_ROOT}/src/kxx ; \
           cp -f oxweave ${OpenXM_bin} ; \          cp -f libox_pathfinder.a ${OpenXM_lib}  ; \
           cp -f oxweave ${OpenXM_ROOT}/src/kxx ; \          cp -f ox_pathfinder.h ${OpenXM_include} ; \
           install -c lndir.sh ${OpenXM_bin} ; \
           install -c oxfetch.sh ${OpenXM_bin} ; \
           touch ./.install_done ; \
         fi          fi
   
   clean:
           rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a test

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

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