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

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

1.1       ohara       1: # -*- mode: Makefile -*-
1.5     ! ohara       2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile,v 1.4 1999/12/16 06:09:42 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.4       ohara       7: OXWEAVE = ${OpenXM_HOME}/bin/oxweave
1.5     ! ohara       8: BINARIES = bconv testclient sample1 sample2
1.1       ohara       9:
1.5     ! ohara      10: all: libox.a libgmp.a ${BINARIES} README.jp README.en
1.1       ohara      11:
                     12: ox.o mysocket.o: mysocket.h
                     13: ox.o parse.o:    ox.h oxtag.h parse.h
                     14:
1.2       ohara      15: libgmp.a:
                     16:        test -f ${GMPSRC}/libgmp.a || (cd ${GMPSRC}; ./configure; ${MAKE})
                     17:        -ln -s ${GMPSRC}/libgmp.a .
1.1       ohara      18:
                     19: libox.a: ${LIBOBJS}
                     20:        -rm -f $@
                     21:        ar -rc $@ ${LIBOBJS}
                     22:        ranlib $@
                     23:
1.2       ohara      24: bconv: bconv.o libox.a libgmp.a
                     25:        ${CC} ${CFLAGS} -o $@ bconv.o -L. -lox -lgmp
                     26:
                     27: testclient: testclient.o libox.a libgmp.a
                     28:        ${CC} ${CFLAGS} -o $@ testclient.o -L. -lox -lgmp
                     29:
1.4       ohara      30: sample1: sample1.o libox.a libgmp.a
                     31:        ${CC} ${CFLAGS} -o $@ sample1.o -L. -lox -lgmp
                     32:
1.5     ! ohara      33: sample2: sample2.o libox.a libgmp.a
        !            34:        ${CC} ${CFLAGS} -o $@ sample2.o -L. -lox -lgmp
        !            35:
1.2       ohara      36: README.jp: README
1.4       ohara      37:        ${OXWEAVE} ja common < README > README.jp
1.2       ohara      38:
1.3       ohara      39: README.en: README
1.4       ohara      40:        ${OXWEAVE} en common < README > README.en
1.3       ohara      41:
1.1       ohara      42: clean:
1.4       ohara      43:        -rm -f *.o *~ libox.a libgmp.a README.jp README.en \
1.5     ! ohara      44:               bconv testclient core a.out sample1 sample2
1.4       ohara      45:

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