mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
- include/funcs.h: declared GetScrollBarInfo - include/napi/teb.h: removed misleading comment about NtCurrentTeb; preparing TEB for Windows 2003-compatible FLS support - include/tchar.h: added _tcslen - include/tgetopt.h: type-generic getopt (see lib/tgetopt) - include/win32k/ntuser.h, subsys/win32k/ntuser/window.c, subsys/win32k/ntuser/timer.c, lib/user32/misc/timer.c, lib/user32/windows/paint.c: corrected declarations of NtUserSetTimer, NtUserKillTimer and NtUserRedrawWindow (Win32K doesn't follow the NT calling convention) - lib/crtdll/crtdll.def: exported ::operator new and ::operator delete - lib/kernel32/thread/fls.c: FLS support almost done - lib/ntdll/*: implemented _chkstk/_alloca_probe - some more Visual C++ programs should run now; exported NtCurrentTeb for compatibility with Windows NT 3.51 and some non-i386 architectures; removed the CRT from the linker libraries - lib/string/*: type-generic string functions (single, shared implementation for single-byte and Unicode variants using _t macros); corrected a bug in the i386 wcsncmp; merged strspn/strcspn; corrected non-portable code in strspn/strcspn; implemented strnlen/tcsnlen for the i386 architecture; all changes were regression-tested and compared against the Microsoft CRT - tools/helper.mk: libraries, dlls and drivers now depend from their DEF/EDF files svn path=/trunk/; revision=5010
109 lines
2.9 KiB
Makefile
109 lines
2.9 KiB
Makefile
# $Id: makefile,v 1.88 2003/07/06 23:04:19 hyperion Exp $
|
|
|
|
PATH_TO_TOP = ../..
|
|
|
|
TARGET_BOOTSTRAP = yes
|
|
|
|
TARGET_TYPE = dynlink
|
|
|
|
TARGET_NAME = ntdll
|
|
|
|
TARGET_CFLAGS = -g -D__NTDLL__
|
|
|
|
TARGET_ASFLAGS = -I $(PATH_TO_TOP)/include
|
|
|
|
TARGET_LFLAGS = -Wl,--file-alignment,0x1000 \
|
|
-Wl,--section-alignment,0x1000 \
|
|
-nostartfiles -nostdlib
|
|
|
|
TARGET_SDKLIBS = string.a rosrtl.a
|
|
|
|
TARGET_GCCLIBS = gcc
|
|
|
|
TARGET_BASE = 0x77f60000
|
|
|
|
TARGET_PATH = def
|
|
|
|
TARGET_ENTRY = 0x0
|
|
|
|
CSR_OBJECTS = csr/lpc.o csr/capture.o csr/probe.o csr/thread.o
|
|
|
|
DBG_OBJECTS = dbg/brkpoint.o dbg/debug.o dbg/print.o #dbg/winedbg.o
|
|
|
|
LDR_OBJECTS = \
|
|
ldr/entry.o \
|
|
ldr/res.o \
|
|
ldr/startup.o \
|
|
ldr/utils.o
|
|
|
|
RTL_I386_OBJECTS = \
|
|
rtl/i386/alldiv.o \
|
|
rtl/i386/allmul.o \
|
|
rtl/i386/allrem.o \
|
|
rtl/i386/allshl.o \
|
|
rtl/i386/allshr.o \
|
|
rtl/i386/aulldiv.o \
|
|
rtl/i386/aullrem.o \
|
|
rtl/i386/aullshr.o \
|
|
rtl/i386/chkstk.o \
|
|
rtl/i386/exception.o \
|
|
rtl/i386/except.o \
|
|
rtl/i386/float.o \
|
|
rtl/i386/ftol.o
|
|
|
|
RTL_OBJECTS = rtl/critical.o rtl/error.o rtl/heap.o rtl/largeint.o \
|
|
rtl/math.o rtl/mem.o rtl/nls.o rtl/process.o rtl/sd.o \
|
|
rtl/thread.o rtl/unicode.o rtl/env.o rtl/path.o rtl/ppb.o \
|
|
rtl/bitmap.o rtl/time.o rtl/acl.o rtl/sid.o rtl/image.o \
|
|
rtl/access.o rtl/apc.o rtl/callback.o rtl/luid.o rtl/misc.o \
|
|
rtl/registry.o rtl/exception.o rtl/intrlck.o rtl/resource.o \
|
|
rtl/handle.o rtl/atom.o rtl/message.o rtl/timezone.o \
|
|
rtl/propvar.o rtl/security.o rtl/dos8dot3.o rtl/compress.o \
|
|
rtl/encode.o rtl/random.o rtl/teb.o
|
|
|
|
STDIO_OBJECTS = stdio/sprintf.o stdio/swprintf.o
|
|
|
|
STDLIB_OBJECTS = stdlib/abs.o stdlib/atoi.o stdlib/atoi64.o stdlib/atol.o \
|
|
stdlib/itoa.o stdlib/itow.o stdlib/labs.o stdlib/splitp.o \
|
|
stdlib/strtol.o stdlib/strtoul.o stdlib/wcstol.o \
|
|
stdlib/wcstoul.o stdlib/wtoi.o stdlib/wtoi64.o stdlib/wtol.o \
|
|
stdlib/mbstowcs.o stdlib/wcstombs.o stdlib/qsort.o
|
|
|
|
STRING_OBJECTS = string/ctype.o \
|
|
string/memicmp.o\
|
|
string/stricmp.o \
|
|
string/strlwr.o \
|
|
string/strnicmp.o \
|
|
string/strpbrk.o \
|
|
string/strstr.o string/strupr.o string/wstring.o
|
|
|
|
ARCH_OBJECTS = \
|
|
$(RTL_I386_OBJECTS)
|
|
|
|
TARGET_OBJECTS = \
|
|
napi.o \
|
|
$(ARCH_OBJECTS) \
|
|
$(CSR_OBJECTS) \
|
|
$(DBG_OBJECTS) \
|
|
$(LDR_OBJECTS) \
|
|
$(RTL_OBJECTS) \
|
|
$(STDIO_OBJECTS) \
|
|
$(STDLIB_OBJECTS) \
|
|
$(STRING_OBJECTS) \
|
|
stubs/stubs.o
|
|
|
|
DEP_OBJECTS = $(TARGET_OBJECTS)
|
|
DEP_EXCLUDE_FILTER = napi.%
|
|
|
|
include $(PATH_TO_TOP)/rules.mak
|
|
|
|
include $(TOOLS_PATH)/helper.mk
|
|
|
|
include $(TOOLS_PATH)/depend.mk
|
|
|
|
%/TAGS:
|
|
etags -o $(@D)/TAGS $(@D)/\*.c
|
|
|
|
etags: csr/TAGS dbg/TAGS ldr/TAGS main/TAGS rtl/TAGS stdio/TAGS stdlib/TAGS string/TAGS stubs/TAGS
|
|
etags -i csr/TAGS -i dbg/TAGS -i ldr/TAGS -i main/TAGS -i rtl/TAGS -i stdio/TAGS -i stdlib/TAGS -i string/TAGS -i stubs/TAGS
|