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

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

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