version 1.14, 2014/03/25 20:14:06 |
version 1.17, 2015/08/20 17:44:35 |
|
|
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.vc,v 1.13 2013/11/10 16:18:36 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.vc,v 1.16 2015/08/13 13:45:26 ohara Exp $ |
## Makefile for Visual Studio 2008 |
## Makefile for Visual Studio 2008 |
|
|
!if "$(ARCH)" == "" |
!if "$(ARCH)" == "" |
Line 7 ARCH=$(PROCESSOR_ARCHITECTURE) |
|
Line 7 ARCH=$(PROCESSOR_ARCHITECTURE) |
|
|
|
!if "$(ARCH)" == "AMD64" |
!if "$(ARCH)" == "AMD64" |
CPU_OBJ= asmalpha.obj |
CPU_OBJ= asmalpha.obj |
|
GMPDIR= ..\windows\gmp\x64 |
!else |
!else |
CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
|
GMPDIR= ..\windows\gmp\win32 |
!endif |
!endif |
|
|
PARIDEF= -D PARI -D LONG_IS_32BIT |
GCDIR= ..\windows\gc |
PARIDIR= ..\windows\pari20 |
|
PARIINC= -I $(PARIDIR)\win32 |
|
PARILIB= $(PARIDIR)\libpari.lib |
|
|
|
GCDIR= ..\windows\gc-7.2 |
|
GCINC = -I $(GCDIR)\include |
GCINC = -I $(GCDIR)\include |
GCLIB= $(GCDIR)\gc.lib |
GCLIB= $(GCDIR)\gc.lib |
|
|
GMPDIR= ..\windows\mpir |
|
GMPINC= -I $(GMPDIR) |
GMPINC= -I $(GMPDIR) |
!if "$(ARCH)" == "AMD64" |
GMPLIB= $(GMPDIR)\libmpc-3.lib $(GMPDIR)\libmpfr-4.lib $(GMPDIR)\libgmp-10.lib |
GMPLIB= $(GMPDIR)\x64\mpir.lib |
|
!else |
|
GMPLIB= $(GMPDIR)\win32\mpir.lib |
|
!endif |
|
|
|
DEFS = $(PARIDEF) -D NDEBUG -D VISUAL -D _CRT_SECURE_NO_WARNINGS -D _CRT_NONSTDC_NO_WARNINGS -D WIN32 -D INET -D GC7 -D SIZEOF_LONG=4 -D HAVE_UNSIGNED_LONG_LONG -D ASIR_LIBDIR=\"c:/asir/stdlib\" |
DEFS = -D NDEBUG -D VISUAL -D _CRT_SECURE_NO_WARNINGS -D _CRT_NONSTDC_NO_WARNINGS -D WIN32 -D INET -D GC7 -D SIZEOF_LONG=4 -D HAVE_UNSIGNED_LONG_LONG -D ASIR_LIBDIR=\"c:/asir/stdlib\" |
INCLUDES= $(PARIINC) $(GCINC) $(GMPINC) -I include -I parse |
INCLUDES= $(GCINC) $(GMPINC) -I include -I parse |
CFLAGS=-nologo -MT -W3 -Ox $(INCLUDES) $(DEFS) |
CFLAGS=-nologo -MT -W3 -Ox $(INCLUDES) $(DEFS) |
|
|
LD=link |
LD=link |
LDFLAGS= -nologo -stack:0x10000000 -subsystem:console -incremental:no -nodefaultlib:libcmt.lib $(PARILIB) $(GCLIB) $(GMPLIB) ws2_32.lib advapi32.lib user32.lib |
LDFLAGS= -nologo -stack:0x10000000 -subsystem:console -dynamicbase:no -incremental:no -nodefaultlib:libcmt.lib $(GCLIB) $(GMPLIB) ws2_32.lib advapi32.lib user32.lib |
|
|
OBJS= _distm.obj A.obj al.obj alg.obj algnum.obj arith.obj array.obj \ |
OBJS= _distm.obj A.obj al.obj alg.obj algnum.obj arith.obj array.obj \ |
asir2000_dummy.obj batch.obj bf.obj biovar.obj bload.obj \ |
asir2000_dummy.obj batch.obj bf.obj bfaux.obj biovar.obj bload.obj \ |
bsave.obj C.obj cio.obj comp.obj compobj.obj cpexpr.obj cplx.obj \ |
bsave.obj C.obj cio.obj comp.obj compobj.obj cpexpr.obj cplx.obj \ |
cplxnum.obj cpp.obj ctrl.obj D.obj dalg.obj ddM.obj ddN.obj debug.obj \ |
cplxnum.obj cpp.obj ctrl.obj D.obj dalg.obj ddM.obj ddN.obj debug.obj \ |
des.obj dft.obj dist.obj distm.obj dp-supp.obj dp.obj E.obj Ebug.obj \ |
des.obj dft.obj dist.obj distm.obj dp-supp.obj dp.obj E.obj Ebug.obj \ |
Line 92 array.obj: {$(VPATH)}array.c |
|
Line 84 array.obj: {$(VPATH)}array.c |
|
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |
|
|
batch.obj: {$(VPATH)}batch.c |
batch.obj: {$(VPATH)}batch.c |
|
$(CC) -c $(CFLAGS) $** |
|
|
|
bfaux.obj: {$(VPATH)}bfaux.c |
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |
|
|
compobj.obj: {$(VPATH)}compobj.c |
compobj.obj: {$(VPATH)}compobj.c |