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

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

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

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