7 win_srcdir = $(srcdir)/wince
10 !if !defined(OS) || !defined(RT)
15 !if !defined(WARNFLAGS)
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
22 LDFLAGS = -link -incremental:yes -pdb:none -machine:$(MACHINE) -subsystem:$(SUBSYSTEM)
24 !if !defined(XLDFLAGS)
25 XLDFLAGS = -stack:$(STACK) -subsystem:$(SUBSYSTEM)
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
45 WINMAINOBJ = wincemain.$(OBJEXT)
47 !include $(srcdir)/win32/Makefile.sub