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

Diff for /OpenXM/src/ox_cdd/Makefile between version 1.3 and 1.5

version 1.3, 2005/05/25 06:43:44 version 1.5, 2007/03/20 02:12:14
Line 1 
Line 1 
 # $OpenXM: OpenXM/src/ox_cdd/Makefile,v 1.2 2005/05/25 05:06:06 noro Exp $  # $OpenXM: OpenXM/src/ox_cdd/Makefile,v 1.4 2005/05/25 08:39:07 noro Exp $
   
 OpenXM_HOME=../..  OpenXM_HOME=../..
 OpenXM_LIBDIR=../../lib  OpenXM_LIBDIR=../../lib
Line 8  PREFIX=${OpenXM_HOME}
Line 8  PREFIX=${OpenXM_HOME}
 DISTDIR=${OpenXM_HOME}/../OpenXM_dist  DISTDIR=${OpenXM_HOME}/../OpenXM_dist
 RM = /bin/rm  RM = /bin/rm
 MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/  MASTER_SITE=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/
 CDDLIB_TB=cddlib-093d.tar.gz  
 MVOL_TB=MixedVol.tar.gz  MVOL_TB=MixedVol.tar.gz
 CFLAGS = -g -Wall -finline-functions  CFLAGS = -g -Wall -finline-functions
 MVOLINCLUDE=work/MixedVol/SRC  MVOLINCLUDE=work/MixedVol/SRC
   
 GMPDEF = -DGMPRATIONAL  GMPDEF = -DGMPRATIONAL
   
 CDD=cddlib-093d  CDD=cddlib-094d
   CDDLIB_TB=$(CDD).tar.gz
 CDD_HOME= work/$(CDD)  CDD_HOME= work/$(CDD)
   
 CDD_LIB = -lcdd  CDD_LIB = -lcdd
Line 50  ox_cdd.o : ox_cdd.c
Line 50  ox_cdd.o : ox_cdd.c
         $(CC) $(CFLAGS) $(INCLUDES) -c $<          $(CC) $(CFLAGS) $(INCLUDES) -c $<
   
 ox_cddgmp.o : ox_cdd.c  ox_cddgmp.o : ox_cdd.c
         $(CC) -o ox_cddgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c $<          $(CC) -o ox_cddgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c ox_cdd.c
   
 ox_sres.o : ox_sres.c  ox_sres.o : ox_sres.c
         $(CC) $(CFLAGS) $(INCLUDES) -c $<          $(CC) $(CFLAGS) $(INCLUDES) -c $<
   
 ox_sresgmp.o : ox_sres.c  ox_sresgmp.o : ox_sres.c
         $(CC) -o ox_sresgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c $<          $(CC) -o ox_sresgmp.o $(CFLAGS) $(GMPDEF) $(INCLUDES) -c ox_sres.c
   
 cddlib.o : cddlib.c  cddlib.o : cddlib.c
         $(CC) $(CFLAGS) $(INCLUDES) -c $<          $(CC) $(CFLAGS) $(INCLUDES) -c $<
   
 cddlibgmp.o : cddlib.c  cddlibgmp.o : cddlib.c
         $(CC) -o cddlibgmp.o  $(CFLAGS) $(GMPDEF) $(INCLUDES) -c $<          $(CC) -o cddlibgmp.o  $(CFLAGS) $(GMPDEF) $(INCLUDES) -c cddlib.c
   
 mvol.o : mvol.cpp  mvol.o : mvol.cpp
         g++ $(CFLAGS) -I$(MVOLINCLUDE) -c $<          g++ $(CFLAGS) -I$(MVOLINCLUDE) -c $<
Line 120  extract: fetch
Line 120  extract: fetch
         @touch work/.extract_done          @touch work/.extract_done
   
 patch: extract  patch: extract
           @if [ ! -f work/.patch_done ]; then \
                   cd work/${CDD}; patch -p0 < ../../cddlib.patch ; \
           fi
         @touch work/.patch_done          @touch work/.patch_done
   
 configure: patch  configure: patch
         @if [ ! -f work/.configure_done ]; then \          @if [ ! -f work/.configure_done ]; then \
                 prefix=`cd ${OpenXM_HOME}; pwd` ; \                  prefix=`cd ${OpenXM_HOME}; pwd` ; \
                 (cd work/${CDD} ; ./configure CXX=cc --prefix="$$prefix" ) ; \                  (cd work/${CDD} ; ./configure CXX=cc LDFLAGS=-L$$prefix/lib --prefix="$$prefix" ) ; \
         fi          fi
         @touch work/.configure_done          @touch work/.configure_done
   

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

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