| 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 | #
|
|---|
| 15 | CDEFINESEXTRA = -DKKRNLLIB
|
|---|
| 16 | CDEFINESEXTRA16 = -DKKRNLLIB
|
|---|
| 17 | !include makefile.inc
|
|---|
| 18 | !include ../../../makefile.inc
|
|---|
| 19 | !include ../win32k.tools.mk
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | #
|
|---|
| 23 | # Main targetname
|
|---|
| 24 | #
|
|---|
| 25 | TARGET = BadDev
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | #
|
|---|
| 29 | # Main rules.
|
|---|
| 30 | #
|
|---|
| 31 | all: $(WIN32KBIN)\$(TARGET).sys
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | #
|
|---|
| 35 | # BadDev.sys object.
|
|---|
| 36 | #
|
|---|
| 37 | OBJS =\
|
|---|
| 38 | $(WIN32KOBJ)\$(TARGET).obj
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | LIBS =\
|
|---|
| 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)
|
|---|
| 74 | kKrnlLib.def
|
|---|
| 75 | <<KEEP
|
|---|
| 76 |
|
|---|
| 77 |
|
|---|
| 78 |
|
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.