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

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

1.1       ohara       1: # -*- mode: Makefile -*-
1.7     ! takayama    2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile,v 1.6 1999/12/16 11:35:48 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.7     ! takayama    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.7     ! takayama   11:
        !            12: all2 : all ox_Xsample
1.1       ohara      13:
                     14: ox.o mysocket.o: mysocket.h
                     15: ox.o parse.o:    ox.h oxtag.h parse.h
                     16:
1.2       ohara      17: libgmp.a:
                     18:        test -f ${GMPSRC}/libgmp.a || (cd ${GMPSRC}; ./configure; ${MAKE})
                     19:        -ln -s ${GMPSRC}/libgmp.a .
1.1       ohara      20:
                     21: libox.a: ${LIBOBJS}
                     22:        -rm -f $@
                     23:        ar -rc $@ ${LIBOBJS}
                     24:        ranlib $@
                     25:
1.2       ohara      26: bconv: bconv.o libox.a libgmp.a
                     27:        ${CC} ${CFLAGS} -o $@ bconv.o -L. -lox -lgmp
                     28:
                     29: testclient: testclient.o libox.a libgmp.a
                     30:        ${CC} ${CFLAGS} -o $@ testclient.o -L. -lox -lgmp
                     31:
1.4       ohara      32: sample1: sample1.o libox.a libgmp.a
                     33:        ${CC} ${CFLAGS} -o $@ sample1.o -L. -lox -lgmp
                     34:
1.5       ohara      35: sample2: sample2.o libox.a libgmp.a
                     36:        ${CC} ${CFLAGS} -o $@ sample2.o -L. -lox -lgmp
                     37:
1.6       ohara      38: ox_Xsample: ox_Xsample.o glib.c libox.a libgmp.a
                     39:        ${CC} ${CFLAGS} -I/usr/X11R6/include -o $@ ox_Xsample.o glib.c -L. -L/usr/X11R6/lib -lox -lgmp -lX11
                     40:
1.2       ohara      41: README.jp: README
1.4       ohara      42:        ${OXWEAVE} ja common < README > README.jp
1.2       ohara      43:
1.3       ohara      44: README.en: README
1.4       ohara      45:        ${OXWEAVE} en common < README > README.en
1.3       ohara      46:
1.1       ohara      47: clean:
1.4       ohara      48:        -rm -f *.o *~ libox.a libgmp.a README.jp README.en \
1.6       ohara      49:               bconv testclient core a.out sample1 sample2 ox_Xsample
1.4       ohara      50:

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