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

1.1       ohara       1: # -*- mode: Makefile -*-
1.3     ! ohara       2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile.in,v 1.2 2000/02/08 20:33:06 ohara Exp $
1.1       ohara       3:
                      4: OpenXM_HOME = ../..
                      5: GMPSRC      = ${OpenXM_HOME}/src/gmp
                      6: OXWEAVE     = ${OpenXM_HOME}/bin/oxweave
                      7: CC          = @CC@
                      8: CFLAGS      = -g -O2 -DDEBUG -I${GMPSRC}
                      9: OBJS        = ox.o parse.o mysocket.o
                     10: BINARIES    = bconv testclient sample1 sample2
                     11: DOCUMENTS   = readme-eg readme-jp bnf-eg bnf-jp
                     12: X11INC      = @X_CFLAGS@
                     13: X11LIB      = @X_LIBS@ @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@
                     14: RANLIB      = @RANLIB@
                     15: LIBS        = @LIBS@ -L. -lox -lgmp
                     16: INSTALL_DATA= cp -f
1.2       ohara      17: LN          = @LN_S@
1.1       ohara      18:
                     19: all: libox.a libgmp.a ${BINARIES} ${DOCUMENTS}
                     20:
                     21: all2: all ox_Xsample
                     22:
                     23: ox.o mysocket.o: mysocket.h
                     24: ox.o parse.o:    ox.h oxtag.h parse.h
                     25:
                     26: libgmp.a:
                     27:        test -f ${GMPSRC}/libgmp.a || (cd ${GMPSRC}; ./configure; ${MAKE})
1.2       ohara      28:        -${LN} ${GMPSRC}/libgmp.a .
1.1       ohara      29:
                     30: libox.a: ${OBJS}
                     31:        -rm -f $@
                     32:        ar -rc $@ ${OBJS}
                     33:        ${RANLIB} $@
                     34:
                     35: bconv: bconv.o libox.a libgmp.a
                     36:        ${CC} ${CFLAGS} -o $@ bconv.o ${LIBS}
                     37:
                     38: testclient: testclient.o libox.a libgmp.a
                     39:        ${CC} ${CFLAGS} -o $@ testclient.o ${LIBS}
                     40:
                     41: sample1: sample1.o libox.a libgmp.a
                     42:        ${CC} ${CFLAGS} -o $@ sample1.o ${LIBS}
                     43:
                     44: sample2: sample2.o libox.a libgmp.a
                     45:        ${CC} ${CFLAGS} -o $@ sample2.o ${LIBS}
                     46:
                     47: ox_Xsample: ox_Xsample.o glib.c libox.a libgmp.a
                     48:        ${CC} ${CFLAGS} ${X11INC} -o $@ ox_Xsample.o glib.c ${LIBS} ${X11LIB}
                     49:
                     50: readme-jp: README
                     51:        ${OXWEAVE} ja common < README > readme-jp
                     52:
                     53: readme-eg: README
                     54:        ${OXWEAVE} en common < README > readme-eg
                     55:
                     56: bnf-jp: bnf.oxweave
                     57:        ${OXWEAVE} ja common < bnf.oxweave > bnf-jp
                     58:
                     59: bnf-eg: bnf.oxweave
                     60:        ${OXWEAVE} en common < bnf.oxweave > bnf-eg
                     61:
1.3     ! ohara      62: install: install-document install-binary
1.1       ohara      63:
1.3     ! ohara      64: install-binary: libox.a ox.h
        !            65:        -if [ ! -d ${OpenXM_HOME}/include/ox ]; then \
        !            66:                mkdir -p ${OpenXM_HOME}/include/ox ;\
        !            67:        fi
        !            68:        cp -f libox.a ${OpenXM_HOME}/lib
        !            69:        cp -f ox.h ${OpenXM_HOME}/include/ox
1.1       ohara      70:
                     71: install-for-debug:
                     72:        @echo "No binaries are installed."
                     73:
                     74: install-document: ${DOCUMENTS}
                     75:        -mkdir ${OpenXM_HOME}/doc/ox_toolkit
                     76:        ${INSTALL_DATA} ${DOCUMENTS} ${OpenXM_HOME}/doc/ox_toolkit
                     77:
                     78: clean-document:
                     79:        -rm -f ${DOCUMENTS}
                     80:
                     81: clean-binary:
                     82:        -rm -f *.o *~ libox.a libgmp.a ${BINARIES} ox_Xsample core a.out
                     83:
                     84: clean: clean-document clean-binary

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