1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/wince/Makefile.sub
usa 4cd86dbe9f * missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
by literal 0.0. use const variable instead.

	* {bcc32,win32,wince}/Makefile.sub (MISSING): add lgamma_r.obj and
	  tgamma.obj.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-07 02:14:54 +00:00

47 lines
1.3 KiB
Makefile

# -*- makefile -*-
CROSS_COMPILING = 1
LARGEFILE_SUPPORT = 0
!ifndef win_srcdir
win_srcdir = $(srcdir)/wince
!endif
!if !defined(OS) || !defined(RT)
OS = mswince
RT = $(OS)
!endif
!if !defined(WARNFLAGS)
WARNFLAGS = -w
!endif
ARCHDEFS = $(CECPUDEF) -DUNDER_CE -D_WIN32_WCE=$(SUBSYSVERSION:.=) \
-DFILENAME_MAX=MAX_PATH -DTLS_OUT_OF_INDEXES=0xFFFFFFFF \
-DBUFSIZ=512 -D_UNICODE -DUNICODE
!if !defined(LDFLAGS)
LDFLAGS = -link -incremental:yes -pdb:none -machine:$(MACHINE) -subsystem:$(SUBSYSTEM)
!endif
!if !defined(XLDFLAGS)
XLDFLAGS = -stack:$(STACK) -subsystem:$(SUBSYSTEM)
!endif
LIBS = coredll.lib ceshell.lib winsock.lib $(EXTLIBS)
MISSING = acosh.obj crypt.obj dup2.obj erf.obj hypot.obj \
isinf.obj isnan.obj lgamma.obj strftime.obj strlcat.obj strlcpy.obj
tgamma.obj win32.obj \
assert.obj direct.obj errno.obj io_wce.obj process_wce.obj \
signal_wce.obj stdio.obj stdlib.obj string_wce.obj \
time_wce.obj wince.obj winsock2.obj \
stat.obj timeb.obj utime.obj
LIBOBJS = isinf.obj isnan.obj
COMMON_LIBS = coredll winsock
COMMON_MACROS = WIN32_LEAN_AND_MEAN
COMMON_HEADERS = winsock.h windows.h
XCFLAGS = -I$(srcdir)/wince
!if !defined(STACK_COMMIT)
STACK_COMMIT = 0x10000
!endif
WINMAINOBJ = wincemain.$(OBJEXT)
!include $(srcdir)/win32/Makefile.sub