[BACK]Return to Makefile.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Annotation of OpenXM/src/ox_toolkit/Makefile.in, Revision 1.16

1.1       ohara       1: # -*- mode: Makefile -*-
1.16    ! ohara       2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.15 2003/06/02 20:38:41 ohara Exp $
1.1       ohara       3:
                      4: OpenXM_HOME = ../..
                      5: OXWEAVE     = ${OpenXM_HOME}/bin/oxweave
                      6: CC          = @CC@
1.12      ohara       7: DEFS        = @DEFS@
                      8: CFLAGS      = -g -Wall -O2 ${DEFS} -I${OpenXM_HOME}/include -finline-functions
1.13      ohara       9: OBJS        = ox.o cmo.o parse.o mysocket.o mathcap.o dump.o cmolen.o print.o oxf.o oxf_old.o @USE_GMP@ gmp_fake.o
1.9       ohara      10: BINARIES    = bconv testclient sample1 sample2 zclient
1.11      ohara      11: DOCUMENTS   = readme-en.txt readme-ja.txt bnf-en.txt bnf-ja.txt
1.1       ohara      12: X11INC      = @X_CFLAGS@
                     13: X11LIB      = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
                     14: RANLIB      = @RANLIB@
1.12      ohara      15: GMPLIB      = @GMPLIB@
1.15      ohara      16: LIBS        = @LIBS@ -L${OpenXM_HOME}/lib ${GMPLIB} libox.a -lgc
1.16    ! ohara      17: INSTALL     = @INSTALL@
        !            18: INSTALL_DATA= @INSTALL_DATA@
1.9       ohara      19: OXOBJS      = ${OBJS} bconv.o testclinet.o ox_Xsample.o sample1.o sample2.o
1.1       ohara      20:
1.6       ohara      21: all: libox.a ${BINARIES} ${DOCUMENTS}
1.1       ohara      22:
                     23: all2: all ox_Xsample
                     24:
                     25: ox.o mysocket.o: mysocket.h
1.8       ohara      26: ox.o parse.o:    parse.h
1.10      ohara      27: ${OXOBJS}:       ox_toolkit.h
1.13      ohara      28: gmp_fake.o:      gmp_fake.h
1.1       ohara      29:
                     30: libox.a: ${OBJS}
                     31:        -rm -f $@
                     32:        ar -rc $@ ${OBJS}
                     33:        ${RANLIB} $@
                     34:
1.6       ohara      35: bconv: bconv.o libox.a
1.1       ohara      36:        ${CC} ${CFLAGS} -o $@ bconv.o ${LIBS}
                     37:
1.6       ohara      38: testclient: testclient.o libox.a
1.1       ohara      39:        ${CC} ${CFLAGS} -o $@ testclient.o ${LIBS}
1.9       ohara      40:
                     41: zclient: zclient.o libox.a
                     42:        ${CC} ${CFLAGS} -o $@ zclient.o ${LIBS}
1.1       ohara      43:
1.6       ohara      44: sample1: sample1.o libox.a
1.1       ohara      45:        ${CC} ${CFLAGS} -o $@ sample1.o ${LIBS}
                     46:
1.6       ohara      47: sample2: sample2.o libox.a
1.1       ohara      48:        ${CC} ${CFLAGS} -o $@ sample2.o ${LIBS}
                     49:
1.6       ohara      50: ox_Xsample: ox_Xsample.o glib.c libox.a
1.1       ohara      51:        ${CC} ${CFLAGS} ${X11INC} -o $@ ox_Xsample.o glib.c ${LIBS} ${X11LIB}
                     52:
1.10      ohara      53: mctest: mctest.o libox.a
                     54:        ${CC} ${CFLAGS} -o $@ mctest.o ${LIBS}
                     55:
1.11      ohara      56: readme-ja.txt: README
                     57:        ${OXWEAVE} ja common < README > readme-ja.txt
1.1       ohara      58:
1.11      ohara      59: readme-en.txt: README
                     60:        ${OXWEAVE} en common < README > readme-en.txt
1.1       ohara      61:
1.11      ohara      62: bnf-ja.txt: bnf.oxweave
                     63:        ${OXWEAVE} ja common < bnf.oxweave > bnf-ja.txt
1.1       ohara      64:
1.11      ohara      65: bnf-en.txt: bnf.oxweave
                     66:        ${OXWEAVE} en common < bnf.oxweave > bnf-en.txt
1.1       ohara      67:
1.3       ohara      68: install: install-document install-binary
1.1       ohara      69:
1.14      ohara      70: install-binary: libox.a ox_toolkit.h gmp_fake.h
1.4       ohara      71:        -if [ ! -d ${OpenXM_HOME}/lib ]; then \
                     72:                mkdir -p ${OpenXM_HOME}/lib ;\
                     73:        fi
                     74:        -if [ ! -d ${OpenXM_HOME}/include ]; then \
                     75:                mkdir -p ${OpenXM_HOME}/include ;\
1.3       ohara      76:        fi
1.4       ohara      77:        ${INSTALL_DATA} libox.a ${OpenXM_HOME}/lib
1.10      ohara      78:        ${INSTALL_DATA} ox_toolkit.h ${OpenXM_HOME}/include
1.14      ohara      79:        ${INSTALL_DATA} gmp_fake.h   ${OpenXM_HOME}/include
1.1       ohara      80:
                     81: install-for-debug:
                     82:        @echo "No binaries are installed."
                     83:
                     84: install-document: ${DOCUMENTS}
                     85:        -mkdir ${OpenXM_HOME}/doc/ox_toolkit
                     86:        ${INSTALL_DATA} ${DOCUMENTS} ${OpenXM_HOME}/doc/ox_toolkit
                     87:
                     88: clean-document:
                     89:        -rm -f ${DOCUMENTS}
                     90:
                     91: clean-binary:
1.6       ohara      92:        -rm -f *.o *~ libox.a ${BINARIES} ox_Xsample core a.out
1.1       ohara      93:
                     94: clean: clean-document clean-binary
1.4       ohara      95:
1.5       ohara      96: distclean: clean
1.13      ohara      97:        -rm -f .configure_done config.cache config.log config.status Makefile

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