- Timestamp:
- Apr 8, 2002, 12:40:38 AM (24 years ago)
- Location:
- branches/splittup/src/win32k
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/splittup/src/win32k/Makefile
r7642 r8212 1 # $Id: Makefile,v 1.71.2. 2 2001-12-16 23:07:21bird Exp $1 # $Id: Makefile,v 1.71.2.3 2002-04-07 22:40:36 bird Exp $ 2 2 3 3 # 4 # Win32k makefile.4 # kKrnlLib main file. 5 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 6 # Copyright (c) 2002 knut st. osmundsen (bird@anduin.net) 9 7 # 10 8 11 9 12 10 # 13 # Check that makefile.inc exists, If it doesn't we'll try make it. 14 # Check that makefile.inc is newer than configure.cmd. 15 # If not newer this might be a fatal problem, so we'll fail. 11 # Setup. 16 12 # 17 !if [..\..\tools\bin\Exists.cmd makefile.inc] == 1 18 ! if [echo No makefile.inc - Reconfiguring Win32k... & configure.cmd -noninteractive] 19 ! endif 20 !endif 21 !if [Check.cmd $(MAKE) -nologo -q -f Check.mk makefile.inc] != 0 22 ! error makefile.inc is older than configure.cmd. Re-run /src/win32k/configure.cmd! 23 !endif 13 PATH_ROOT = ..\.. 14 !include $(PATH_ROOT)\make\setup.mak 24 15 25 16 26 17 # 27 # Include path definitions and check if they need updating. 28 # Include Win32k tools and settings. 18 # Config. 29 19 # 30 !include makefile.inc 31 !if [..\..\tools\bin\Exists.cmd $(KKRNLLIBINCLUDE)\OS2Krnl.h] == 1 32 ! if [echo Bad makefile.inc - Reconfiguring Win32k... & configure.cmd -noninteractive] 33 ! endif 34 ! include makefile.inc 35 !endif 36 !include ../../makefile.inc 37 !include win32k.tools.mk 20 TARGET_MODE = EMPTY 21 TARGET_NAME = win32k_empty 22 SUBDIRS = kKrnlLib tools include lib 23 SUBDIRS = tools include lib 24 PREMAKEFILES= win32k.mak win32kR3Tst.mak 25 BUILD_NO_TESTCASE = 1 38 26 39 27 40 28 # 41 # Subdirectories.29 # Process 42 30 # 43 SUBDIRS = \ 44 .\kKrnlLib \ 45 .\lib \ 46 .\rexx \ 47 .\utils 31 !include $(MAKE_INCLUDE_PROCESS) 32 33 34 needed: 35 @$(TOOL_DODIRS) "tools" $(TOOL_MAKE) build 48 36 49 37 50 38 # 51 # Targets.39 # Our own minimal testcase rule 52 40 # 53 all: 54 !if "$(DDKPATH)" == "" || "$(MSCPATH)" == "" || "$(TOOLKIT)" == "" || "$(VACPATH)" == "" 55 $(DODIRS) "lib" $(MAKE_CMD) 56 $(MAKE_CMD) -f xx2lx.mak 57 !else 58 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) 59 $(MAKE_CMD) -f win32k.mak 60 $(MAKE_CMD) -f xx2lx.mak 41 testcase: 42 !if [$(TOOL_EXISTS) testcase] == 0 43 @$(TOOL_DODIRS) "kKrnlLib testcase" $(TOOL_MAKE) $@ 61 44 !endif 62 45 63 64 #65 # Individual Target Forwarder Rules.66 #67 $(WIN32KBIN)\win32k.sys win32k.sys win32k \68 $(WIN32KBIN)\xx2lx.exe xx2lx.exe xx2lx: .force69 $(MAKE_CMD) -f $(@B).mak70 71 $(WIN32KBIN)\win32ktst.exe win32ktst.exe win32ktst \72 $(WIN32KBIN)\libconv.exe libconv.exe libconv \73 clfix.exe: .force74 $(MAKE_CMD) -f win32k.mak $(@R).exe75 76 $(WIN32KINCLUDE)\win32k.inc win32k.inc \77 $(WIN32KINCLUDE)\api.inc api.inc \78 $(WIN32KINCLUDE)\options.inc options.inc: .force79 $(MAKE_CMD) -f win32k.mak $(WIN32KINCLUDE)\$(@B).inc80 81 win32kcc.exe win32kcc:82 $(DODIRS) "utils" $(MAKE_CMD)83 84 85 #86 # Lib rule - make the win32k.lib object library.87 #88 lib:89 $(DODIRS) ".\kKrnlLib .\lib" $(MAKE_CMD) lib90 91 92 #93 # Cleanup rule.94 #95 clean:96 @$(ECHO) cleaning....97 $(RM) *.sys *.dll *.lib *.obj *.exe *.sym *.map *.pch *.err \98 $(ODIN32_BIN)\win32k.sys \99 $(ODIN32_BIN)\win32k.sym \100 $(ODIN32_BIN)\win32k.ddp101 !if "$(WIN32KBIN)" != ""102 $(RM) $(WIN32KBIN)\*103 !endif104 !if "$(WIN32KOBJ)" != ""105 $(RM) $(WIN32KOBJ)\*106 !endif107 !if "$(WIN32KLIST)" != ""108 $(RM) $(WIN32KLIST)\*109 !endif110 !if "$(WIN32KINCLUDE)" != ""111 $(RM) $(WIN32KBIN)\options.inc \112 $(WIN32KBIN)\api.inc \113 $(WIN32KBIN)\win32k.inc114 !endif115 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) clean116 117 118 #119 # Dependencies - all deps are autogenereated.120 #121 dep:122 $(RM) .depend123 $(ODIN32_TOOLS)\fastdep @<<124 -o$$(WIN32KOBJ) $(CINCLUDES)125 misc\*.c* ldr\*.c* dev32\*.c* pe2lx\*.c* k32\*.c* elf2lx\*.c* test\*.c*126 -objobj_tst127 misc\*.c* ldr\*.c* dev32\*.c* pe2lx\*.c* k32\*.c* elf2lx\*.c* test\*.c*128 $(WIN32KINCLUDE)\*.h129 $(KKRNLLIBINCLUDE)\*.h130 <<131 $(ODIN32_TOOLS)\fastdep @<<132 -a+ -o$$(WIN32KOBJ) -I$(WIN32KINCLUDE) -I$(DDKPATH)\inc133 dev16\*.asm ldr\*.asm misc\*.asm dev32\*.asm pe2lx\*.asm k32\*.asm elf2lx\*.asm test\*.asm134 $(WIN32KINCLUDE)\*.inc135 <<136 $(ODIN32_TOOLS)\fastdep @<<137 -a+ -o$$(WIN32KOBJ) $(CINCLUDES16)138 dev16\*.c*139 -objobj_e $(CINCLUDES16) dev16\*.c*140 -objobj_c $(CINCLUDES16) dev16\*.c*141 -objobj_tst $(CINCLUDES16) dev16\*.c*142 -objobj_init $(CINCLUDES16) dev16\*.c*143 -objobj_tst_init $(CINCLUDES16) dev16\*.c*144 <<145 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) dep146 147 148 #149 # Generate Visual SlickEdit project file150 #151 win32k.vpj:152 ..\..\tools\vslick\genproject.cmd $@ $(CINCLUDES) -s -r153 154 155 #156 # Api doc157 #158 StateUpd:159 ..\..\tools\bin\StateUpd.exe -Dll:Win32k dev16 dev32 misc ldr elf2lx mmf k32160 ..\..\tools\bin\StateUpd.exe -Dll:Pe2Lx Pe2Lx161 $(DODIRS) ".\kKrnlLib" $(MAKE_CMD) $@162 163 164 #165 # Dummy rule for force.166 #167 .force:168 169 170 #171 # Stub the rest of the rules.172 #173 $(COMMONRULES:clean dep lib all=):174 -
branches/splittup/src/win32k/lib/makefile
r8183 r8212 1 # $Id: makefile,v 1.14.2. 2 2002-04-01 13:04:08bird Exp $1 # $Id: makefile,v 1.14.2.3 2002-04-07 22:40:36 bird Exp $ 2 2 3 3 # … … 12 12 # 13 13 PATH_ROOT = ..\..\.. 14 !include $(PATH_ROOT)\ tools\make\setup.mak14 !include $(PATH_ROOT)\make\setup.mak 15 15 16 16 -
branches/splittup/src/win32k/src/Makefile
r8178 r8212 1 # $Id: Makefile,v 1.1.2. 2 2002-04-01 12:51:15bird Exp $1 # $Id: Makefile,v 1.1.2.3 2002-04-07 22:40:37 bird Exp $ 2 2 3 3 # … … 10 10 # 11 11 PATH_ROOT = ..\..\.. 12 !include $(PATH_ROOT)\ tools\make\setup.mak12 !include $(PATH_ROOT)\make\setup.mak 13 13 14 14 -
branches/splittup/src/win32k/src/Xx2Lx.mak
r8155 r8212 1 # $Id: Xx2Lx.mak,v 1.1.2. 2 2002-04-01 09:06:02bird Exp $1 # $Id: Xx2Lx.mak,v 1.1.2.3 2002-04-07 22:40:37 bird Exp $ 2 2 3 3 # … … 11 11 # 12 12 PATH_ROOT = ..\..\.. 13 !include $(PATH_ROOT)\ tools\make\setup.mak13 !include $(PATH_ROOT)\make\setup.mak 14 14 15 15 -
branches/splittup/src/win32k/src/dev16.mak
r8177 r8212 1 # $Id: dev16.mak,v 1.1.2. 2 2002-04-01 12:50:00bird Exp $1 # $Id: dev16.mak,v 1.1.2.3 2002-04-07 22:40:37 bird Exp $ 2 2 3 3 # … … 14 14 BUILD_ENV = MSCV6 15 15 PATH_ROOT = ..\..\.. 16 !include $(PATH_ROOT)\ tools\make\setup.mak16 !include $(PATH_ROOT)\make\setup.mak 17 17 !include ..\makefile.inc 18 18 -
branches/splittup/src/win32k/src/first.mak
r8157 r8212 1 # $Id: first.mak,v 1.1.2. 1 2002-04-01 09:06:54bird Exp $1 # $Id: first.mak,v 1.1.2.2 2002-04-07 22:40:37 bird Exp $ 2 2 3 3 # … … 10 10 # 11 11 PATH_ROOT = ..\..\.. 12 !include $(PATH_ROOT)\ tools\make\setup.mak12 !include $(PATH_ROOT)\make\setup.mak 13 13 14 14 -
branches/splittup/src/win32k/src/last.mak
r8157 r8212 1 # $Id: last.mak,v 1.1.2. 1 2002-04-01 09:06:55bird Exp $1 # $Id: last.mak,v 1.1.2.2 2002-04-07 22:40:38 bird Exp $ 2 2 3 3 # … … 10 10 # 11 11 PATH_ROOT = ..\..\.. 12 !include $(PATH_ROOT)\ tools\make\setup.mak12 !include $(PATH_ROOT)\make\setup.mak 13 13 14 14 -
branches/splittup/src/win32k/tools/Win32kCC/Makefile
r8185 r8212 1 # $Id: Makefile,v 1.1.2. 1 2002-04-01 13:40:18 bird Exp $1 # $Id: Makefile,v 1.1.2.2 2002-04-07 22:40:38 bird Exp $ 2 2 3 3 # … … 12 12 # 13 13 PATH_ROOT = ..\..\..\.. 14 !include $(PATH_ROOT)\ tools\make\setup.mak14 !include $(PATH_ROOT)\make\setup.mak 15 15 16 16 -
branches/splittup/src/win32k/win32k.mak
r8167 r8212 1 # $Id: win32k.mak,v 1.13.2. 4 2002-04-01 12:42:15bird Exp $1 # $Id: win32k.mak,v 1.13.2.5 2002-04-07 22:40:36 bird Exp $ 2 2 3 3 # … … 12 12 # 13 13 PATH_ROOT = ..\.. 14 !include $(PATH_ROOT)\ tools\make\setup.mak14 !include $(PATH_ROOT)\make\setup.mak 15 15 16 16
Note:
See TracChangeset
for help on using the changeset viewer.