blob: cefcf7d7f503764b409a3e1f8e60c3d2dfe9447f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
!IF 0
Copyright (c) 1989 Microsoft Corporation
Module Name:
sources.
Abstract:
This file specifies the target component being built and the list of
sources files needed to build that component. Also specifies optional
compiler switches and libraries that are unique for the component being
built.
Author:
Steve Wood (stevewo) 12-Apr-1990
NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
!ENDIF
BLDCRT=1
MAJORCOMP=utils
MINORCOMP=xcopy
TARGETNAME=xcopy
TARGETPATH=obj
TARGETTYPE=PROGRAM
MSC_WARNING_LEVEL=/W3 /WX
SOURCES=argument.cxx \
support.cxx \
xcopy.cxx \
xcopy.rc
INCLUDES=..\ulib\inc;..\ifsutil\inc;\nt\public\sdk\inc
#
# Debug support.
#
# We have 4 levels:
#
# 1.- FREE: Non-debug
# 2.- NTDBG: Debug, no memleak
# 3.- MEMLEAK: 2 + memleak
# 4.- STACK_TRACE 3 + stack trace
#
#
# By default, whenever the NTDEBUG symbol is defined, you get level
# 3. In order to get level 2 you have to define the symbol NOMEMLEAK.
# In order to get level 4, you have to the file the symbol STACK_TRACE
#
# In summary here is how to get each one:
#
# 1.- Undefine NTDEBUG
# 2.- define NTDEBUG, define NOMEMLEAK
# 3.- define NTDEBUG, undefine NOMEMLEAK
# 4.- define NTDEBUG, undefine NOMEMLEAK, define STACK_TRACE
#
!IF "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "ntsd"
!IFDEF NOMEMLEAK
C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DUNICODE=1
!ELSE
!IFDEF STACK_TRACE
C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DSTACK_TRACE -DUNICODE=1
!ELSE
C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=1 -DMEMLEAK -DUNICODE=1
!ENDIF
!ENDIF
!ELSE # NTDEBUG
C_DEFINES=-DCONDITION_HANDLING=1 -DDBG=0 -DUNICODE=1
!ENDIF # NTDEBUG
TARGETLIBS= \
..\ulib\src\obj\*\ulib.lib \
..\ifsutil\src\obj\*\ifsutil.lib \
$(BASEDIR)\public\sdk\lib\*\ntdll.lib
UMTYPE=console
|