- Timestamp:
- Mar 9, 2000, 9:36:57 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/Makefile
r3052 r3066 1 1 ################################################################################ 2 # $Id: Makefile,v 1.37 2000-03-09 16:52:56 bird Exp $ 2 # $Id: Makefile,v 1.38 2000-03-09 20:36:57 bird Exp $ 3 # 4 # Win32k makefile. 3 5 # 4 6 # Copyright 1998-2000 knut st. osmundsen … … 8 10 ################################################################################ 9 11 12 13 ################################################################################ 14 # Check that makefile.inc exists, If it doesn't we'll try make it. 15 # Check that makefile.inc is newer than configure.cmd. 16 # If not newer this might be a fatal problem, so we'll fail. 17 ################################################################################ 18 !if [..\..\tools\bin\Exists.cmd makefile.inc] == 1 19 ! if [configure.cmd noninteractive] 20 ! endif 21 !endif 22 !if [Check.cmd $(MAKE) -nologo -q -f Check.mk makefile.inc] != 0 23 ! error makefile.inc is older than configure.cmd. Re-run configure.cmd! 24 !endif 25 26 10 27 ################################################################################ 11 28 # Include path definitions 12 29 ################################################################################ 13 # Note! This crazy !ifdef stuff handles the case when makefile.inc don't exist 14 # and someone is trying to make dependencies. A makefile.inc is then generated 15 # and we'll try again making dependencies by the dep2 rule. 16 !ifdef NODEP 17 ! ifdef MAKEFILE_INC 18 ! include makefile.inc 19 ! else 20 PDWIN32_INCLUDE = ..\..\include 21 PDWIN32_TOOLS = ..\..\tools\bin 22 ! endif 23 !else 24 ! include makefile.inc 25 !endif 30 !include makefile.inc 26 31 !include $(PDWIN32_INCLUDE)\pdwin32.tools 27 32 28 NAME = win32k 33 NAME = Win32k 34 29 35 30 36 ################################################################################ … … 326 332 cd .. 327 333 328 329 334 ################################################################################ 330 335 # Libraries - segments are renamed for the 16-bit libraries. … … 396 401 # asm deps must be updated by hand 397 402 ################################################################################ 398 # If makefile.inc doesn't exist we'll make a quit and dirty one.399 # So when we are sure that makefile.inc exist we'll invoke nmake and400 # ask it to make dependencies again using the dep2 rule.401 403 dep: 402 IF NOT EXIST makefile.inc configure.cmd noninteractive403 $(MAKE_CMD) NODEP=1 MAKEFILE_INC=1 dep2404 cd pe2lx405 $(MAKE_CMD) NODEP=1 dep406 cd ..\lib407 $(MAKE_CMD) NODEP=1 dep408 cd ..409 410 dep2:411 404 $(PDWIN32_TOOLS)\fastdep -o$$(WIN32KOBJ) $(CINCLUDES) misc\*.c* ldr\*.c* \ 412 405 dev32\*.c* dev16\*.c* pe2lx\*.c* k32\*.c* lib\*.c elf2lx\*.c* \ … … 415 408 $(PDWIN32_TOOLS)\fastdep -a+ -o$$(WIN32KOBJ) -I$(WIN32KINCLUDE) \ 416 409 -I$(DDKPATH)\inc dev32\*.asm ldr\*.asm misc\*.asm include\*.inc 417 418 !ifndef NODEP 419 !include .depend 420 !endif 410 cd pe2lx 411 $(MAKE_CMD) dep 412 cd ..\lib 413 $(MAKE_CMD) dep 414 cd .. 415 416 417 ################################################################################ 418 # Include the .depend file. 419 ################################################################################ 420 !if [$(EXISTS) .depend] == 0 421 ! include .depend 422 !else 423 ! if [$(ECHO) .depend doesn't exist] 424 ! endif 425 !endif 426
Note:
See TracChangeset
for help on using the changeset viewer.