Changeset 2902 for trunk/src


Ignore:
Timestamp:
Feb 26, 2000, 5:20:28 PM (26 years ago)
Author:
bird
Message:

On nmake NODEP=1 dep we first create makefile.inc if it doesn't exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/Makefile

    r2898 r2902  
    11################################################################################
    2 # $Id: Makefile,v 1.28 2000-02-25 18:15:01 bird Exp $
     2# $Id: Makefile,v 1.29 2000-02-26 16:20:28 bird Exp $
    33#
    44# Copyright 1998-1999 knut st. osmundsen
     
    77#
    88################################################################################
     9
    910################################################################################
    1011# Include path definitions
    1112################################################################################
    12 !include makefile.inc
     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
     20PDWIN32_INCLUDE = ..\..\include
     21PDWIN32_TOOLS = ..\..\tools\bin
     22!   endif
     23!else
     24!   include makefile.inc
     25!endif
    1326!include $(PDWIN32_INCLUDE)\pdwin32.tools
    1427
     
    326339#                asm deps must be updated by hand
    327340################################################################################
     341# If makefile.inc doesn't exist we'll make a quit and dirty one.
     342# So when we are sure that makefile.inc exist we'll invoke nmake and
     343# ask it to make dependencies again using the dep2 rule.
    328344dep:
     345    IF NOT EXIST makefile.inc configure.cmd noninteractive
     346    $(MAKE_CMD) NODEP=1 MAKEFILE_INC=1 dep2
     347
     348dep2:
    329349    $(PDWIN32_TOOLS)\fastdep -o$(WIN32KOBJ) $(CINCLUDES) misc\*.c* ldr\*.c* dev32\*.c* \
    330350        dev16\*.c* pe2lx\*.c* k32\*.c* lib\*.c include\*.h
Note: See TracChangeset for help on using the changeset viewer.