update comment.
[ruby-svn.git] / wince / Makefile.sub
blobd8f595a6bff17c6089c9d011a6359b968bf01870
1 # -*- makefile -*-
3 CROSS_COMPILING = 1
4 LARGEFILE_SUPPORT = 0
6 !ifndef win_srcdir
7 win_srcdir = $(srcdir)/wince
8 !endif
10 !if !defined(OS) || !defined(RT)
11 OS = mswince
12 RT = $(OS)
13 !endif
15 !if !defined(WARNFLAGS)
16 WARNFLAGS = -w
17 !endif
18 ARCHDEFS  = $(CECPUDEF) -DUNDER_CE -D_WIN32_WCE=$(SUBSYSVERSION:.=) \
19            -DFILENAME_MAX=MAX_PATH -DTLS_OUT_OF_INDEXES=0xFFFFFFFF \
20            -DBUFSIZ=512 -D_UNICODE -DUNICODE
21 !if !defined(LDFLAGS)
22 LDFLAGS = -link -incremental:yes -pdb:none -machine:$(MACHINE) -subsystem:$(SUBSYSTEM)
23 !endif
24 !if !defined(XLDFLAGS)
25 XLDFLAGS = -stack:$(STACK) -subsystem:$(SUBSYSTEM)
26 !endif
27 LIBS = coredll.lib ceshell.lib winsock.lib  $(EXTLIBS)
28 MISSING = acosh.obj cbrt.obj crypt.obj dup2.obj erf.obj hypot.obj \
29           isinf.obj isnan.obj lgamma.obj strftime.obj strlcat.obj strlcpy.obj
30           tgamma.obj win32.obj \
31           assert.obj direct.obj errno.obj io_wce.obj process_wce.obj \
32           signal_wce.obj stdio.obj stdlib.obj string_wce.obj \
33           time_wce.obj wince.obj winsock2.obj \
34           stat.obj timeb.obj utime.obj
35 LIBOBJS      = isinf.obj isnan.obj
36 COMMON_LIBS  = coredll winsock
37 COMMON_MACROS = WIN32_LEAN_AND_MEAN
38 COMMON_HEADERS = winsock.h windows.h
40 XCFLAGS = -I$(srcdir)/wince
42 !if !defined(STACK_COMMIT)
43 STACK_COMMIT = 0x10000
44 !endif
45 WINMAINOBJ    = wincemain.$(OBJEXT)
47 !include $(srcdir)/win32/Makefile.sub