Ignore:
Timestamp:
Dec 3, 2000, 12:32:41 AM (25 years ago)
Author:
bird
Message:

Adapted to be more comform with the new makefile style.
Most subdirectories are now using the style while the win32k.sys makefile
is not at all - as allways.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/utils/makefile

    r4623 r4715  
    1 ##############################################################################
    2 # $Id: makefile,v 1.4 2000-11-19 09:02:05 bird Exp $
     1# $Id: makefile,v 1.5 2000-12-02 23:32:41 bird Exp $
     2
    33#
    4 # PD-Win32 API
     4# Odin32 API
    55#
    66#       Win32kCC.exe makefile
    77#
    8 ##############################################################################
    98
    10 ##############################################################################
    11 # Include
    12 ##############################################################################
     9
     10#
     11# Tell buildenvironment that we're making an exe and to invoke additional dep rule
     12#
    1313EXETARGET=1
    14 NO_DEP_RULE=1
    15 !include ..\makefile.inc
    16 !include $(PDWIN32_INCLUDE)\pdwin32.mk
     14ADDITIONAL_DEP = mydep
     15WIN32KINCLUDE = ..\include
    1716
    18 ##############################################################################
    19 # Object extention
    20 ##############################################################################
    21 OBJEXT          = obj
    2217
    23 ##############################################################################
     18#
     19# Compiler, tools, and interference rules thru the win32k makefile.inc file.
     20#
     21!include ..\..\..\makefile.inc
     22
     23
     24#
    2425# Tools and Flags Addjustments
    25 ##############################################################################
     26#  (The author of this is kinda SM when it comes to warnings... ;-)
     27#
    2628CINCLUDES  = -I$(WIN32KINCLUDE) $(CINCLUDES)
    2729CDEFINES   = $(CDEFINES) -DRING3
     
    3032CXXFLAGS   = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-
    3133!endif
    32 LD2FLAGS   = $(LD2FLAGS) /pmtype:pm
    3334
    3435
    35 ##############################################################################
    36 # Main targets.
    37 ##############################################################################
    38 TARGET = Win32kCC
     36#
     37# Object files. Prefix with OBJDIR and one space before the '\'.
     38#
     39OBJS = \
     40$(OBJDIR)\Win32kCC.obj
    3941
    40 OBJS   = \
    41 $(OBJDIR)\Win32kCC.$(OBJEXT)
    4242
    43 LIBS   = \
     43#
     44# Libraries. One space before the '\'.
     45#
     46LIBS = \
    4447$(RTLLIB) \
    45 $(PDWIN32_LIB)\win32k.lib \
     48$(ODIN32_LIB)\win32k.lib \
    4649os2386.lib
    4750
     51
     52#
     53# OS/2 resources.
     54#
    4855OS2RES = \
    4956$(OBJDIR)\$(TARGET).res
    5057
    5158
    52 ##############################################################################
    53 # Includes the common rules.
    54 ##############################################################################
    55 !include $(PDWIN32_INCLUDE)\pdwin32.post
     59#
     60# Target name - name of the exe without extention and path.
     61#
     62TARGET = Win32kCC
    5663
    5764
    58 ##############################################################################
     65#
     66# Includes the common rules.
     67#
     68!include $(ODIN32_POST_INC)
     69
     70
     71#
    5972# Dependencies.
    60 ##############################################################################
    61 dep:
    62     $(DEPEND) @<<
    63         -obj$(OBJEXT) -o$$(OBJDIR) $(CINCLUDES) -I$(PDWIN32_INCLUDE)
    64         *.cpp *.c *.h *.rc *.dlg ..\include\*.h
    65 <<
     73#
     74mydep:
     75    $(DEPEND) -a -o$$(OBJDIR) $(CINCLUDES) $(WIN32KINCLUDE)\*.h
    6676
Note: See TracChangeset for help on using the changeset viewer.