version 1.4, 2009/03/16 16:08:05 |
version 1.16, 2015/08/20 17:44:35 |
|
|
## $OpenXM: OpenXM_contrib2/windows/asir2000lib/Makefile.vc,v 1.3 2009/03/10 20:21:35 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/windows/asir2000lib/Makefile.vc,v 1.15 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 |
|
GMPINC= -I ..\gmp\x64 |
!else |
!else |
CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
|
GMPINC= -I ..\gmp\win32 |
!endif |
!endif |
|
|
SRCDIR=..\..\asir2000 |
SRCDIR=..\..\asir2000 |
|
|
!if "$(WITH_PARI)" == "no" |
GCDIR= ..\gc |
|
|
PARIDEF= |
|
PARIINC= |
|
|
|
!else |
|
|
|
PARIDEF= -D PARI -D ULONG_NOT_DEFINED |
|
PARIDIR= ..\pari20 |
|
PARIINC= -I $(PARIDIR)\win32 |
|
|
|
!endif |
|
|
|
GCDIR= ..\gc-7.1 |
|
GCINC = -I $(GCDIR)\include |
GCINC = -I $(GCDIR)\include |
|
|
DEFS = $(PARIDEF) -D NDEBUG -D VISUAL -D WIN32 -D __WIN32__ -D CONSOLE -D SILENT -D INET -D LONG_IS_32BIT -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 |
DEFS = -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) -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot |
INCLUDES = $(GCINC) $(GMPINC) -I $(SRCDIR)\include -I $(SRCDIR)\parse -I $(SRCDIR)\plot |
CFLAGS=-nologo -MT -W3 -Ox $(INCLUDES) $(DEFS) |
CFLAGS=-nologo -MT -W3 -Ox $(INCLUDES) $(DEFS) |
|
|
LD=link |
LD=link |
LDFLAGS=/nologo |
LDFLAGS=-nologo |
|
|
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 \ |
asir_lib.obj batch.obj bf.obj biovar.obj bload.obj \ |
asir_lib.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 \ |
ec.obj eval.obj evall.obj EZ.obj F.obj fctr.obj fft_primes.obj Fgfs.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 \ |
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 \ |
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 \ |
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 \ |
miscf.obj mt19937.obj N.obj nd.obj NEZ.obj num.obj numerical.obj ox.obj \ |
Line 60 VPATH=$(SRCDIR)\asm;$(SRCDIR)\builtin;$(SRCDIR)\engine |
|
Line 49 VPATH=$(SRCDIR)\asm;$(SRCDIR)\builtin;$(SRCDIR)\engine |
|
all: asir2000lib.lib |
all: asir2000lib.lib |
|
|
clean: |
clean: |
-@del *.obj |
-@del /q *.obj |
|
|
distclean: clean |
distclean: clean |
-@del asir2000lib.lib |
-@del asir2000lib.lib |
|
|
asir2000lib.lib: $(OBJS) $(CPU_OBJ) |
asir2000lib.lib: $(OBJS) $(CPU_OBJ) |
$(LD) -lib $(LDFLAGS) /out:$@ $** |
$(LD) -lib $(LDFLAGS) -out:$@ $** |
|
|
asmiw.obj: {$(VPATH)}asmiw.c |
asmiw.obj: {$(VPATH)}asmiw.c |
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |
Line 95 array.obj: {$(VPATH)}array.c |
|
Line 84 array.obj: {$(VPATH)}array.c |
|
batch.obj: {$(VPATH)}batch.c |
batch.obj: {$(VPATH)}batch.c |
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |
|
|
|
bfaux.obj: {$(VPATH)}bfaux.c |
|
$(CC) -c $(CFLAGS) $** |
|
|
compobj.obj: {$(VPATH)}compobj.c |
compobj.obj: {$(VPATH)}compobj.c |
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |
|
|
Line 309 gfs.obj: {$(VPATH)}gfs.c |
|
Line 301 gfs.obj: {$(VPATH)}gfs.c |
|
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |
|
|
gfspn.obj: {$(VPATH)}gfspn.c |
gfspn.obj: {$(VPATH)}gfspn.c |
|
$(CC) -c $(CFLAGS) $** |
|
|
|
gmpq.obj: {$(VPATH)}gmpq.c |
$(CC) -c $(CFLAGS) $** |
$(CC) -c $(CFLAGS) $** |
|
|
init.obj: {$(VPATH)}init.c |
init.obj: {$(VPATH)}init.c |