| Line | |
|---|
| 1 | # $Id: Makefile,v 1.33 2002-08-22 03:07:50 bird Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # kKrnlLib main file.
|
|---|
| 5 | #
|
|---|
| 6 | # Copyright (c) 2002 knut st. osmundsen (bird@anduin.net)
|
|---|
| 7 | #
|
|---|
| 8 | # GPL
|
|---|
| 9 | #
|
|---|
| 10 |
|
|---|
| 11 | #
|
|---|
| 12 | # Setup.
|
|---|
| 13 | #
|
|---|
| 14 | PATH_ROOT = ..\..\..
|
|---|
| 15 | !include $(PATH_ROOT)\makefile.inc
|
|---|
| 16 | !include $(PATH_ROOT)\make\setup.mak
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 | #
|
|---|
| 20 | # Config.
|
|---|
| 21 | #
|
|---|
| 22 | TARGET_MODE = EMPTY
|
|---|
| 23 | BUILD_OWN_TESTCASE_RULE = 1
|
|---|
| 24 | !ifdef WITH_KLIB
|
|---|
| 25 | SUBDIRS = kLib\src
|
|---|
| 26 | !endif
|
|---|
| 27 |
|
|---|
| 28 | PREMAKEFILES=\
|
|---|
| 29 | !ifdef WITH_KKRNLLIB
|
|---|
| 30 | kKrnlLib.mak \
|
|---|
| 31 | # kKrnlLibR3Tst.mak \
|
|---|
| 32 | !endif
|
|---|
| 33 | !ifdef WITH_KLIB
|
|---|
| 34 | kLibR3.mak \
|
|---|
| 35 | !endif
|
|---|
| 36 |
|
|---|
| 37 | !ifdef WITH_KKRNLLIB
|
|---|
| 38 | SUBDIRS_NEEDED = tools
|
|---|
| 39 | !endif
|
|---|
| 40 | SUBDIRS_TESTCASE =
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | #
|
|---|
| 45 | # Process
|
|---|
| 46 | #
|
|---|
| 47 | !include $(MAKE_INCLUDE_PROCESS)
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 | needed:
|
|---|
| 51 | @$(TOOL_DODIRS) "tools" $(TOOL_MAKE) build
|
|---|
| 52 | # @$(TOOL_DOMAKES) "" $(TOOL_MAKE) build
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | #
|
|---|
| 56 | # Our own minimal testcase rule
|
|---|
| 57 | #
|
|---|
| 58 | testcase:
|
|---|
| 59 | !if [$(TOOL_EXISTS) testcase] == 0
|
|---|
| 60 | @$(TOOL_DODIRS) "testcase" $(TOOL_MAKE) $@
|
|---|
| 61 | !endif
|
|---|
| 62 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.