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

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

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