version 1.3, 2009/03/10 20:21:35 |
version 1.9, 2011/02/04 09:45:48 |
|
|
## $OpenXM: OpenXM_contrib2/windows/asir2000lib/Makefile.vc,v 1.2 2009/03/10 16:26:11 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/windows/asir2000lib/Makefile.vc,v 1.8 2009/03/18 05:19:43 ohara Exp $ |
## Makefile for Visual Studio 2008 |
## Makefile for Visual Studio 2008 |
|
|
!if "$(ARCH)" == "" |
!if "$(ARCH)" == "" |
Line 13 CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
|
Line 13 CPU_OBJ= asmiw.obj gf2m_mul_w.obj |
|
|
|
SRCDIR=..\..\asir2000 |
SRCDIR=..\..\asir2000 |
|
|
!if "$(WITH_PARI)" == "no" |
PARIDEF= -D PARI -D LONG_IS_32BIT |
|
|
PARIDEF= |
|
PARIINC= |
|
|
|
!else |
|
|
|
PARIDEF= -D PARI |
|
PARIDIR= ..\pari20 |
PARIDIR= ..\pari20 |
PARIINC= -I $(PARIDIR)\win32 |
PARIINC= -I $(PARIDIR)\win32 |
|
|
!endif |
|
|
|
GCDIR= ..\gc-7.1 |
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 HMEXT -D ULONG_NOT_DEFINED -D ASIR_LIBDIR=\"c:/asir/stdlib\" -D _MBCS -D DO_PLOT -D VISUAL_LIB -D KAN=0 -D READLINE=0 -D REMOTE=0 |
DEFS = $(PARIDEF) -D NDEBUG -D VISUAL -D _MBCS -D _CRT_SECURE_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 = $(PARIINC) $(GCINC) -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 biovar.obj bload.obj \ |
|
|
-@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) $** |