Changeset 2906 for trunk/src


Ignore:
Timestamp:
Feb 26, 2000, 6:51:43 PM (26 years ago)
Author:
bird
Message:

Added pe2lx.exe rule and pe2lx is now made tru the all rule.
lib rule was added too. This makes win32k.lib (src\win32k\lib).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/Makefile

    r2902 r2906  
    11################################################################################
    2 # $Id: Makefile,v 1.29 2000-02-26 16:20:28 bird Exp $
     2# $Id: Makefile,v 1.30 2000-02-26 17:51:43 bird Exp $
    33#
    44# Copyright 1998-1999 knut st. osmundsen
     
    8686# COMPILER/ASSEMBLER INCLUDEPATHS
    8787################################################################################
    88 CINCLUDES  = -I$(WIN32KBASE)\include \
     88CINCLUDES  = -I$(WIN32KINCLUDE) \
    8989             -I$(TOOLKIT)\h \
    9090             -I$(VACPATH)\include \
     
    9595             -I$(PDWIN32_INCLUDE)\win
    9696
    97 CINCLUDES16= -I$(WIN32KBASE)\include \
     97CINCLUDES16= -I$(WIN32KINCLUDE) \
    9898             -I. \
    9999             -I$(DDKPATH)\h \
     
    102102
    103103
    104 AINCLUDES  = -Fdi:$(WIN32KBASE)\include \
     104AINCLUDES  = -Fdi:$(WIN32KINCLUDE) \
    105105             -Fdi:$(DDKPATH)\inc
    106106
     
    167167# TARGETS
    168168################################################################################
    169 #all: $(NAME).sys ProbKrnl.exe
    170 all:$(NAME).sys
    171 
     169!if "$(DDKBASE)" == "" || "$(MSCPATH)" == ""  || "$(TOOLKIT)" == "" || "$(VACPATH)" == ""
     170all: pe2lx.exe
     171!else
     172all: $(NAME).sys pe2lx.exe
     173!endif
    172174
    173175
     
    230232################################################################################
    231233ProbKrnl.exe: dev16\ProbKrnl.c dev16\symdb.c dev16\vprntf16.c \
    232               $(WIN32KBASE)\include\sym.h \
    233               $(WIN32KBASE)\include\probKrnl.h
     234              $(WIN32KINCLUDE)\sym.h \
     235              $(WIN32KINCLUDE)\probKrnl.h
    234236    $(CC16) -c -W4 -Asfw -G2s -Zp -Zl -nologo -Fa -Zi -Od -Lp \
    235237        -DDEBUG -DDEBUGR3 -Fa$(WIN32KLIST)\$(*B).s     \
     
    246248
    247249extract.exe: dev16\ProbKrnl.c dev16\vprntf16.c \
    248              $(WIN32KBASE)\include\sym.h \
    249              $(WIN32KBASE)\include\probKrnl.h
     250             $(WIN32KINCLUDE)\sym.h \
     251             $(WIN32KINCLUDE)\probKrnl.h
    250252    $(CC16) -c -W4 -Asfw -G2s -Zp -Zl -nologo -Fo$@ -Fa -Zi -Od -Lp \
    251253        -DDEBUG -DEXTRACT -Fa$(WIN32KLIST)\$(*B).s     \
     
    265267
    266268################################################################################
    267 # Win32k.sys rule. Don't mess with the order or objects and libraries!
     269# Win32k.sys rule. (Don't mess with the order or objects and libraries!)
    268270################################################################################
    269271$(NAME).sys: $(OBJS) $(LIBS) last.lib init.lib $(LIBSINIT) $(NAME).def
     
    277279    $(CP) $*.ddp $(PDWIN32_BIN)
    278280
    279 #    copy win32k.sym c:\temp
    280 #    copy win32k.sys c:\temp
     281
     282################################################################################
     283# Pe2Lx.exe rule
     284################################################################################
     285pe2lx.exe:
     286    cd pe2lx
     287    $(MAKE_CMD)
     288    cd ..
     289
     290################################################################################
     291# Libraries - global libraries
     292################################################################################
     293lib:
     294    cd lib
     295    $(MAKE_CMD)
     296    cd ..
    281297
    282298
     
    333349        $(WIN32KLIST)\*.lst \
    334350        $(PDWIN32_BIN)\$(NAME).sys
     351    cd pe2lx
     352    $(MAKE_CMD) clean
     353    cd ..\lib
     354    $(MAKE_CMD) clean
     355    cd ..
    335356
    336357
     
    345366    IF NOT EXIST makefile.inc configure.cmd noninteractive
    346367    $(MAKE_CMD) NODEP=1 MAKEFILE_INC=1 dep2
     368    cd pe2lx
     369    $(MAKE_CMD) NODEP=1 dep
     370    cd ..\lib
     371    $(MAKE_CMD) NODEP=1 dep
     372    cd ..
    347373
    348374dep2:
    349375    $(PDWIN32_TOOLS)\fastdep -o$(WIN32KOBJ) $(CINCLUDES) misc\*.c* ldr\*.c* dev32\*.c* \
    350         dev16\*.c* pe2lx\*.c* k32\*.c* lib\*.c include\*.h
     376        dev16\*.c* pe2lx\*.c* k32\*.c* lib\*.c $(WIN32KINCLUDE)\*.h
    351377    $(PDWIN32_TOOLS)\fastdep -a+ -o$(WIN32KOBJ) $(CINCLUDES16) dev16\*.c*
    352378
Note: See TracChangeset for help on using the changeset viewer.