]> pd.if.org Git - pdclib.old/blob - platform/win32/Config.jam
Use the GCC ability to place each function/piece of data in its' own section, and...
[pdclib.old] / 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 = notime dlmalloc mincoll tss_errno basecodecs c_locale ;\r
27 \r
28 CRT0 = [ FDirName platform win32 crt0$(SUFOBJ) ] ;