]> pd.if.org Git - pdclib/blob - platform/win32/Config.jam
gets() not required anymore since C11. Disabled to avoid implicit declaration / type...
[pdclib] / platform / win32 / Config.jam
1 rule PDCLibTargetConfig { }\r
2 rule PDCLibTargetHeaders {\r
3     SubDirHdrs $(PDCLIB_TOP) platform win32 includes ;\r
4     SubDirHdrs $(PDCLIB_TOP) platform win32 internals ;\r
5 \r
6     if $(PDCLIB_TOOLCHAIN) = "WATCOM" {\r
7         SubDirHdrs $(WATCOM) h ;\r
8     }\r
9 }\r
10 \r
11 if $(PDCLIB_TOOLCHAIN) = "gcc" {\r
12     PDCLIB_TEST_LINKFLAGS += -nostdlib ;\r
13     PDCLIB_TEST_LINKLIBS += -lgcc -lkernel32 -lshell32 ;\r
14 } else if $(PDCLIB_TOOLCHAIN) = "WATCOM" {\r
15     PDCLIB_TEST_LINKFLAGS = "-\"option start=_mainCRTStartup\"" ;\r
16     PDCLIB_TEST_LINKLIBS = \r
17         $(WATCOM)\\lib386\\nt\\kernel32.lib \r
18         $(WATCOM)\\lib386\\nt\\shell32.lib\r
19         $(WATCOM)\\lib386\\nt\\clib3r.lib ;\r
20     PDCLIB_REGTEST_CCHDRS = [ FIncludes $(WATCOM)\\h ] ;\r
21 } else {\r
22     ECHO Win32 doesn't support toolchain $(PDCLIB_TOOLCHAIN) ;\r
23     EXIT ;\r
24 }\r
25 \r
26 PDCLIB_OPTIONS = \r
27     notime \r
28     dlmalloc \r
29     mincoll \r
30     tss_errno \r
31     basecodecs \r
32     c_locale \r
33     ;\r
34 \r
35 CRT0 = [ FDirName platform win32 crt0$(SUFOBJ) ] ;