source: trunk/src/win32k/kKrnlLib/BadDev.mak@ 10366

Last change on this file since 10366 was 7530, checked in by bird, 24 years ago

Initial coding.

File size: 1.4 KB
Line 
1# $Id: BadDev.mak,v 1.1 2001-12-03 00:05:40 bird Exp $
2
3#
4# kKrnlLib.sys makefile.
5#
6# Copyright 1998-2001 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
7#
8# Project Odin Software License can be found in LICENSE.TXT
9#
10
11
12#
13# Include path definitions, common stuff and our own tools.
14#
15CDEFINESEXTRA = -DKKRNLLIB
16CDEFINESEXTRA16 = -DKKRNLLIB
17!include makefile.inc
18!include ../../../makefile.inc
19!include ../win32k.tools.mk
20
21
22#
23# Main targetname
24#
25TARGET = BadDev
26
27
28#
29# Main rules.
30#
31all: $(WIN32KBIN)\$(TARGET).sys
32
33
34#
35# BadDev.sys object.
36#
37OBJS =\
38$(WIN32KOBJ)\$(TARGET).obj
39
40
41LIBS =\
42
43
44
45
46#
47# BadDev.sys rule.
48#
49$(TARGET).sys: $(WIN32KBIN)\$(TARGET).sys
50
51$(WIN32KBIN)\$(TARGET).sys: $(OBJS) \
52 $(LIBS) \
53 $(WIN32KOBJ)\$(@B).lnk \
54 BadDev.mak makefile.inc ..\..\..\makefile.inc
55 -@$(ECHO) linking: $@
56 $(LD) $(LFLAGS) @$(WIN32KOBJ)\$(@B).lnk
57 cd $(WIN32KBIN)
58 @mapsym $(*B).map > nul
59 cd $(WIN32KBASE)
60 if not exist $(ODIN32_BIN) $(CREATEPATH) $(ODIN32_BIN)
61 $(CP) $@ $(ODIN32_BIN)
62 $(CP) $*.sym $(ODIN32_BIN)
63
64# Linker file.
65$(WIN32KOBJ)\$(TARGET).lnk: BadDev.mak makefile.inc ..\..\..\makefile.inc
66 echo Creating linkerfile: @<<$(WIN32KOBJ)\$(TARGET).lnk
67/OUT:$(WIN32KBIN)\$(TARGET).sys
68/MAP:$(WIN32KBIN)\$(TARGET).map
69$(OBJS: =^
70)
71$(LIBS: =^
72)
73$(LASTLIB)
74kKrnlLib.def
75<<KEEP
76
77
78
79
80
81
Note: See TracBrowser for help on using the repository browser.