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

Annotation of OpenXM/src/util/Makefile, Revision 1.10

1.10    ! ohara       1: # $OpenXM: OpenXM/src/util/Makefile,v 1.9 2003/09/08 06:21:08 takayama Exp $
1.1       takayama    2: OpenXM_ROOT=../../../OpenXM
                      3: OpenXM_bin=$(OpenXM_ROOT)/bin
                      4: OpenXM_lib=$(OpenXM_ROOT)/lib
1.5       takayama    5: OpenXM_include=$(OpenXM_ROOT)/include
1.1       takayama    6: CC=gcc
                      7:
1.5       takayama    8: all : oxweave oxreplace libox_pathfinder.a
1.1       takayama    9:
                     10: oxweave : oxweave.c
                     11:        gcc    -D_BSD_SOURCE -o oxweave -g oxweave.c
1.4       takayama   12: oxreplace : oxreplace.c
                     13:        gcc    -D_BSD_SOURCE -o oxreplace -g oxreplace.c
1.5       takayama   14: libox_pathfinder.a : ox_pathfinder.o
                     15:        ar ru libox_pathfinder.a ox_pathfinder.o
                     16: ox_pathfinder.o : ox_pathfinder.c ox_pathfinder.h
1.9       takayama   17:        $(CC) -D_BSD_SOURCE -D_POSIX_C_SOURCE -c ox_pathfinder.c
1.1       takayama   18:
                     19: install: all
1.5       takayama   20:        @if [ ! -f ./.install_done ] ; then \
                     21:        echo "Installing oxweave, oxreplace, libox_pathfinder.a, ox_pathfinder.h" ; \
1.7       takayama   22:        install oxweave oxreplace ${OpenXM_bin} ; \
                     23:        install oxweave ${OpenXM_ROOT}/src/kxx ; \
1.5       takayama   24:        cp -f libox_pathfinder.a ${OpenXM_lib}  ; \
                     25:        cp -f ox_pathfinder.h ${OpenXM_include} ; \
1.10    ! ohara      26:        install lndir.sh ${OpenXM_bin} ; \
        !            27:        install oxfetch.sh ${OpenXM_bin} ; \
1.5       takayama   28:        touch ./.install_done ; \
1.2       takayama   29:        fi
1.5       takayama   30:
                     31: clean:
1.8       takayama   32:        rm -f .install_done *.o oxweave oxreplace libox_pathfinder.a

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