Annotation of OpenXM/src/ox_toolkit/Makefile, Revision 1.2
1.1 ohara 1: # -*- mode: Makefile -*-
1.2 ! ohara 2: # $OpenXM: OpenXM/src/ox_toolkit/Makefile,v 1.1 1999/12/09 22:44:55 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.2 ! ohara 8: all: libox.a libgmp.a bconv testclient README.jp
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.1 ohara 32: clean:
1.2 ! ohara 33: -rm -f *.o *~ libox.a libgmp.a README.jp bconv testclient
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>