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

Annotation of OpenXM/src/ox_toolkit/Makefile, Revision 1.3

1.1       ohara       1: # -*- mode: Makefile -*-
1.3     ! ohara       2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile,v 1.2 1999/12/15 05:22:53 ohara Exp $
1.1       ohara       3:
                      4: CFLAGS = -g -O2 -DDEBUG -I${OpenXM_HOME}/src/gmp
                      5: LIBOBJS = ox.o parse.o mysocket.o
1.2       ohara       6: GMPSRC = ${OpenXM_HOME}/src/gmp
1.1       ohara       7:
1.3     ! ohara       8: all: libox.a libgmp.a bconv testclient README.jp README.en
1.1       ohara       9:
                     10: ox.o mysocket.o: mysocket.h
                     11: ox.o parse.o:    ox.h oxtag.h parse.h
                     12:
1.2       ohara      13: libgmp.a:
                     14:        test -f ${GMPSRC}/libgmp.a || (cd ${GMPSRC}; ./configure; ${MAKE})
                     15:        -ln -s ${GMPSRC}/libgmp.a .
1.1       ohara      16:
                     17: libox.a: ${LIBOBJS}
                     18:        -rm -f $@
                     19:        ar -rc $@ ${LIBOBJS}
                     20:        ranlib $@
                     21:
1.2       ohara      22: bconv: bconv.o libox.a libgmp.a
                     23:        ${CC} ${CFLAGS} -o $@ bconv.o -L. -lox -lgmp
                     24:
                     25: testclient: testclient.o libox.a libgmp.a
                     26:        ${CC} ${CFLAGS} -o $@ testclient.o -L. -lox -lgmp
                     27:
                     28: README.jp: README
                     29:        -rm README.jp
                     30:        oxweave ja common < README > README.jp
                     31:
1.3     ! ohara      32: README.en: README
        !            33:        -rm README.en
        !            34:        oxweave en common < README > README.en
        !            35:
1.1       ohara      36: clean:
1.3     ! ohara      37:        -rm -f *.o *~ libox.a libgmp.a README.jp README.en bconv testclient

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