[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.13

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

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