Changeset 8212 for branches


Ignore:
Timestamp:
Apr 8, 2002, 12:40:38 AM (24 years ago)
Author:
bird
Message:

Moved /tools/make to /make.

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:21 bird Exp $
     1# $Id: Makefile,v 1.71.2.3 2002-04-07 22:40:36 bird Exp $
    22
    33#
    4 # Win32k makefile.
     4# kKrnlLib main file.
    55#
    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)
    97#
    108
    119
    1210#
    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.
    1612#
    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
     13PATH_ROOT = ..\..
     14!include $(PATH_ROOT)\make\setup.mak
    2415
    2516
    2617#
    27 # Include path definitions and check if they need updating.
    28 # Include Win32k tools and settings.
     18# Config.
    2919#
    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
     20TARGET_MODE = EMPTY
     21TARGET_NAME = win32k_empty
     22SUBDIRS     = kKrnlLib tools include lib
     23SUBDIRS     = tools include lib
     24PREMAKEFILES= win32k.mak win32kR3Tst.mak
     25BUILD_NO_TESTCASE = 1
    3826
    3927
    4028#
    41 # Subdirectories.
     29# Process
    4230#
    43 SUBDIRS = \
    44 .\kKrnlLib \
    45 .\lib \
    46 .\rexx \
    47 .\utils
     31!include $(MAKE_INCLUDE_PROCESS)
     32
     33
     34needed:
     35    @$(TOOL_DODIRS) "tools" $(TOOL_MAKE) build
    4836
    4937
    5038#
    51 # Targets.
     39# Our own minimal testcase rule
    5240#
    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
     41testcase:
     42!if [$(TOOL_EXISTS) testcase] == 0
     43    @$(TOOL_DODIRS) "kKrnlLib testcase" $(TOOL_MAKE) $@
    6144!endif
    6245
    63 
    64 #
    65 # Individual Target Forwarder Rules.
    66 #
    67 $(WIN32KBIN)\win32k.sys win32k.sys win32k \
    68 $(WIN32KBIN)\xx2lx.exe  xx2lx.exe  xx2lx: .force
    69     $(MAKE_CMD) -f $(@B).mak
    70 
    71 $(WIN32KBIN)\win32ktst.exe win32ktst.exe win32ktst \
    72 $(WIN32KBIN)\libconv.exe   libconv.exe   libconv \
    73 clfix.exe: .force
    74     $(MAKE_CMD) -f win32k.mak $(@R).exe
    75 
    76 $(WIN32KINCLUDE)\win32k.inc     win32k.inc \
    77 $(WIN32KINCLUDE)\api.inc        api.inc \
    78 $(WIN32KINCLUDE)\options.inc    options.inc: .force
    79     $(MAKE_CMD) -f win32k.mak $(WIN32KINCLUDE)\$(@B).inc
    80 
    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) lib
    90 
    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.ddp
    101 !if "$(WIN32KBIN)" != ""
    102     $(RM) $(WIN32KBIN)\*
    103 !endif
    104 !if "$(WIN32KOBJ)" != ""
    105     $(RM) $(WIN32KOBJ)\*
    106 !endif
    107 !if "$(WIN32KLIST)" != ""
    108     $(RM) $(WIN32KLIST)\*
    109 !endif
    110 !if "$(WIN32KINCLUDE)" != ""
    111     $(RM) $(WIN32KBIN)\options.inc \
    112           $(WIN32KBIN)\api.inc \
    113           $(WIN32KBIN)\win32k.inc
    114 !endif
    115     $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) clean
    116 
    117 
    118 #
    119 # Dependencies - all deps are autogenereated.
    120 #
    121 dep:
    122     $(RM) .depend
    123     $(ODIN32_TOOLS)\fastdep @<<
    124         -o$$(WIN32KOBJ) $(CINCLUDES)
    125         misc\*.c* ldr\*.c* dev32\*.c* pe2lx\*.c* k32\*.c* elf2lx\*.c* test\*.c*
    126         -objobj_tst
    127         misc\*.c* ldr\*.c* dev32\*.c* pe2lx\*.c* k32\*.c* elf2lx\*.c* test\*.c*
    128         $(WIN32KINCLUDE)\*.h
    129         $(KKRNLLIBINCLUDE)\*.h
    130 <<
    131     $(ODIN32_TOOLS)\fastdep @<<
    132         -a+ -o$$(WIN32KOBJ) -I$(WIN32KINCLUDE) -I$(DDKPATH)\inc
    133         dev16\*.asm ldr\*.asm misc\*.asm dev32\*.asm pe2lx\*.asm k32\*.asm elf2lx\*.asm test\*.asm
    134         $(WIN32KINCLUDE)\*.inc
    135 <<
    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) dep
    146 
    147 
    148 #
    149 # Generate Visual SlickEdit project file
    150 #
    151 win32k.vpj:
    152     ..\..\tools\vslick\genproject.cmd $@  $(CINCLUDES) -s -r
    153 
    154 
    155 #
    156 # Api doc
    157 #
    158 StateUpd:
    159     ..\..\tools\bin\StateUpd.exe -Dll:Win32k dev16 dev32 misc ldr elf2lx mmf k32
    160     ..\..\tools\bin\StateUpd.exe -Dll:Pe2Lx Pe2Lx
    161     $(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:08 bird Exp $
     1# $Id: makefile,v 1.14.2.3 2002-04-07 22:40:36 bird Exp $
    22
    33#
     
    1212#
    1313PATH_ROOT = ..\..\..
    14 !include $(PATH_ROOT)\tools\make\setup.mak
     14!include $(PATH_ROOT)\make\setup.mak
    1515
    1616
  • branches/splittup/src/win32k/src/Makefile

    r8178 r8212  
    1 # $Id: Makefile,v 1.1.2.2 2002-04-01 12:51:15 bird Exp $
     1# $Id: Makefile,v 1.1.2.3 2002-04-07 22:40:37 bird Exp $
    22
    33#
     
    1010#
    1111PATH_ROOT = ..\..\..
    12 !include $(PATH_ROOT)\tools\make\setup.mak
     12!include $(PATH_ROOT)\make\setup.mak
    1313
    1414
  • branches/splittup/src/win32k/src/Xx2Lx.mak

    r8155 r8212  
    1 # $Id: Xx2Lx.mak,v 1.1.2.2 2002-04-01 09:06:02 bird Exp $
     1# $Id: Xx2Lx.mak,v 1.1.2.3 2002-04-07 22:40:37 bird Exp $
    22
    33#
     
    1111#
    1212PATH_ROOT = ..\..\..
    13 !include $(PATH_ROOT)\tools\make\setup.mak
     13!include $(PATH_ROOT)\make\setup.mak
    1414
    1515
  • branches/splittup/src/win32k/src/dev16.mak

    r8177 r8212  
    1 # $Id: dev16.mak,v 1.1.2.2 2002-04-01 12:50:00 bird Exp $
     1# $Id: dev16.mak,v 1.1.2.3 2002-04-07 22:40:37 bird Exp $
    22
    33#
     
    1414BUILD_ENV  = MSCV6
    1515PATH_ROOT  = ..\..\..
    16 !include $(PATH_ROOT)\tools\make\setup.mak
     16!include $(PATH_ROOT)\make\setup.mak
    1717!include ..\makefile.inc
    1818
  • branches/splittup/src/win32k/src/first.mak

    r8157 r8212  
    1 # $Id: first.mak,v 1.1.2.1 2002-04-01 09:06:54 bird Exp $
     1# $Id: first.mak,v 1.1.2.2 2002-04-07 22:40:37 bird Exp $
    22
    33#
     
    1010#
    1111PATH_ROOT = ..\..\..
    12 !include $(PATH_ROOT)\tools\make\setup.mak
     12!include $(PATH_ROOT)\make\setup.mak
    1313
    1414
  • branches/splittup/src/win32k/src/last.mak

    r8157 r8212  
    1 # $Id: last.mak,v 1.1.2.1 2002-04-01 09:06:55 bird Exp $
     1# $Id: last.mak,v 1.1.2.2 2002-04-07 22:40:38 bird Exp $
    22
    33#
     
    1010#
    1111PATH_ROOT = ..\..\..
    12 !include $(PATH_ROOT)\tools\make\setup.mak
     12!include $(PATH_ROOT)\make\setup.mak
    1313
    1414
  • 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 $
    22
    33#
     
    1212#
    1313PATH_ROOT = ..\..\..\..
    14 !include $(PATH_ROOT)\tools\make\setup.mak
     14!include $(PATH_ROOT)\make\setup.mak
    1515
    1616
  • branches/splittup/src/win32k/win32k.mak

    r8167 r8212  
    1 # $Id: win32k.mak,v 1.13.2.4 2002-04-01 12:42:15 bird Exp $
     1# $Id: win32k.mak,v 1.13.2.5 2002-04-07 22:40:36 bird Exp $
    22
    33#
     
    1212#
    1313PATH_ROOT = ..\..
    14 !include $(PATH_ROOT)\tools\make\setup.mak
     14!include $(PATH_ROOT)\make\setup.mak
    1515
    1616
Note: See TracChangeset for help on using the changeset viewer.