[BACK]Return to Makefile.linux CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math

Diff for /OpenXM/src/ox_math/Makefile.linux between version 1.2 and 1.3

version 1.2, 1999/11/02 06:11:57 version 1.3, 1999/11/03 10:56:40
Line 1 
Line 1 
 # -*- mode: Makefile; coding: euc-japan -*-  # -*- mode: Makefile; coding: euc-japan -*-
 # $OpenXM$  # $OpenXM: OpenXM/src/ox_math/Makefile.linux,v 1.2 1999/11/02 06:11:57 ohara Exp $
   
 #  #
 PREFIX=/usr/local  PREFIX=/usr/local
Line 13  MPREP = ${ADDONSDIR}/mprep
Line 13  MPREP = ${ADDONSDIR}/mprep
 # ADDONSDIR =  # ADDONSDIR =
   
 CC = gcc  CC = gcc
 #GMPSRC = ../kan96xx/gmp-2.0.2  #GMPSRC = ${OpenXM_HOME}/src/gmp
 GMPSRC = ${PREFIX}/lib  GMPSRC = ${PREFIX}/lib
 GMPINC = -I${GMPSRC}  #GMPINC = -I${GMPSRC}
 #GMPINC = -I${PREFIX}/include  GMPINC = -I${PREFIX}/include
   
 # CDEFS = -DDEBUG -DSTREAM_PIPE  # CDEFS = -DDEBUG -DSTREAM_PIPE
 CDEFS  = -DDEBUG  CDEFS  = -DDEBUG
Line 32  LIBOBJS = ox.o parse.o mysocket.o
Line 32  LIBOBJS = ox.o parse.o mysocket.o
   
 all: libox.a bconv testclient ox_math math2ox  all: libox.a bconv testclient ox_math math2ox
   
   configure:
           @(cd ${OpenXM_HOME}/src; ${MAKE} configure)
           @(cd ${OpenXM_HOME}/src/gmp; ./configure; make)
   
 bconv.o:  ox.h oxtag.h parse.h  bconv.o:  ox.h oxtag.h parse.h
 parse.o:  ox.h oxtag.h parse.h  parse.o:  ox.h oxtag.h parse.h
 ox.o:     ox.h oxtag.h parse.h mysocket.h  ox.o:     ox.h oxtag.h parse.h mysocket.h
Line 41  serv2.o:  ox.h oxtag.h serv2.h
Line 45  serv2.o:  ox.h oxtag.h serv2.h
   
 libgmp.a:  libgmp.a:
         @if [ ! -f ${GMPSRC}/libgmp.a ]; then \          @if [ ! -f ${GMPSRC}/libgmp.a ]; then \
                 (cd ${GMPSRC}; ./configure; make) \                  ${MAKE} configure; \
         fi          fi
         cp ${GMPSRC}/libgmp.a .          cp -f ${GMPSRC}/libgmp.a .
   
 libox.a: ${LIBOBJS} libgmp.a  libox.a: ${LIBOBJS} libgmp.a
         -rm -f $@          -rm -f $@
Line 70  math2.c: math2.tm
Line 74  math2.c: math2.tm
         ${MPREP} $? > $@          ${MPREP} $? > $@
   
 install-openXM-bin: ox_math math2ox  install-openXM-bin: ox_math math2ox
         install -c -m 755 ox_math math2ox ${OpenXM_HOME}/bin/          install -c -m 755 ox_math math2ox testclient bconv ${OpenXM_HOME}/bin/
   
 clean:  clean:
         -rm -f *.o *~ libox.a libgmp.a math2.c          -rm -f *.o *~ libox.a libgmp.a math2.c

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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