=================================================================== RCS file: /home/cvs/OpenXM_contrib2/windows/asir2000lib/Makefile.vc,v retrieving revision 1.7 retrieving revision 1.14 diff -u -p -r1.7 -r1.14 --- OpenXM_contrib2/windows/asir2000lib/Makefile.vc 2009/03/18 05:14:22 1.7 +++ OpenXM_contrib2/windows/asir2000lib/Makefile.vc 2014/03/25 20:14:07 1.14 @@ -1,4 +1,4 @@ -## $OpenXM: OpenXM_contrib2/windows/asir2000lib/Makefile.vc,v 1.6 2009/03/17 14:58:23 ohara Exp $ +## $OpenXM: OpenXM_contrib2/windows/asir2000lib/Makefile.vc,v 1.13 2013/11/10 16:18:36 ohara Exp $ ## Makefile for Visual Studio 2008 !if "$(ARCH)" == "" @@ -17,11 +17,14 @@ PARIDEF= -D PARI -D LONG_IS_32BIT PARIDIR= ..\pari20 PARIINC= -I $(PARIDIR)\win32 -GCDIR= ..\gc-7.1 +GCDIR= ..\gc-7.2 GCINC = -I $(GCDIR)\include -DEFS = $(PARIDEF) -D NDEBUG -D VISUAL -D INET -D GC7 -D SIZEOF_LONG=4 -D HAVE_UNSIGNED_LONG_LONG -D ASIR_LIBDIR=\"c:/asir/stdlib\" -D _MBCS -D DO_PLOT -D VISUAL_LIB -D KAN=0 -D READLINE=0 -D REMOTE=0 -INCLUDES = $(PARIINC) $(GCINC) -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot +GMPDIR= ..\mpir +GMPINC= -I $(GMPDIR) + +DEFS = $(PARIDEF) -D NDEBUG -D VISUAL -D _MBCS -D _CRT_SECURE_NO_WARNINGS -D _CRT_NONSTDC_NO_WARNINGS -D INET -D GC7 -D SIZEOF_LONG=4 -D HAVE_UNSIGNED_LONG_LONG -D ASIR_LIBDIR=\"c:/asir/stdlib\" -D DO_PLOT -D VISUAL_LIB -D KAN=0 -D READLINE=0 -D REMOTE=0 +INCLUDES = $(PARIINC) $(GCINC) $(GMPINC) -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot CFLAGS=-nologo -MT -W3 -Ox $(INCLUDES) $(DEFS) LD=link @@ -34,7 +37,7 @@ OBJS= _distm.obj A.obj al.obj alg.obj algnum.obj arith des.obj dft.obj dist.obj distm.obj dp-supp.obj dp.obj E.obj Ebug.obj \ ec.obj eval.obj evall.obj EZ.obj F.obj fctr.obj fft_primes.obj Fgfs.obj \ file.obj ftab.obj function.obj gc_risa.obj gf.obj gf2n.obj \ - gfpn.obj gfs.obj gfspn.obj glob.obj gr.obj H.obj help.obj Hgfs.obj \ + gfpn.obj gfs.obj gfspn.obj glob.obj gmpq.obj gr.obj H.obj help.obj Hgfs.obj \ iarray.obj init.obj int.obj io.obj kwd.obj lex.obj list.obj lmi.obj \ load.obj M.obj main.obj mat.obj math.obj mattran.obj Mgfs.obj mi.obj \ miscf.obj mt19937.obj N.obj nd.obj NEZ.obj num.obj numerical.obj ox.obj \ @@ -51,7 +54,7 @@ VPATH=$(SRCDIR)\asm;$(SRCDIR)\builtin;$(SRCDIR)\engine all: asir2000lib.lib clean: - -@del *.obj + -@del /q *.obj distclean: clean -@del asir2000lib.lib @@ -300,6 +303,9 @@ gfs.obj: {$(VPATH)}gfs.c $(CC) -c $(CFLAGS) $** gfspn.obj: {$(VPATH)}gfspn.c + $(CC) -c $(CFLAGS) $** + +gmpq.obj: {$(VPATH)}gmpq.c $(CC) -c $(CFLAGS) $** init.obj: {$(VPATH)}init.c