Changeset 3581 for trunk/kStuff/kLdr


Ignore:
Timestamp:
Sep 3, 2007, 12:02:55 AM (18 years ago)
Author:
bird
Message:

converted to a sub-makefile setup for the whole kStuff tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kLdr/Makefile.kmk

    • Property svn:eol-style set to native
    r3579 r3581  
    1 # $Id$# $Id$
     1# $Id$
    22## @file
    3 #
    4 # kBuild Makefile for the kLdr.
    5 #
    6 # Copyright (c) 2006 knut st. osmundsen <bird@anduin.net>
    7 #
    8 #
    9 # This file is part of kLdr.
    10 #
    11 # kLdr is free software; you can redistribute it and/or modify
    12 # it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
    14 # (at your option) any later version.
    15 #
    16 # kLdr is distributed in the hope that it will be useful,
     3# kLdr - The Dynamic Loader, sub-makefile.
     4#
     5
     6#
     7# Copyright (c) 2006-2007 knut st. osmundsen <bird-src-spam@anduin.net>
     8#
     9# This file is part of kStuff.
     10#
     11# kStuff is free software; you can redistribute it and/or
     12# modify it under the terms of the GNU Lesser General Public
     13# License as published by the Free Software Foundation; either
     14# version 2.1 of the License, or (at your option) any later version.
     15#
     16# kStuff is distributed in the hope that it will be useful,
    1717# but WITHOUT ANY WARRANTY; without even the implied warranty of
    18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    19 # GNU General Public License for more details.
    20 #
    21 # You should have received a copy of the GNU General Public License
    22 # along with kLdr; if not, write to the Free Software
    23 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    24 #
    25 #
    26 
    27 
    28 DEPTH = ../..
    29 include $(PATH_KBUILD)/header.kmk
     18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     19# Lesser General Public License for more details.
     20#
     21# You should have received a copy of the GNU Lesser General Public
     22# License along with kStuff; if not, write to the Free Software
     23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     24#
     25#
     26
     27DEPTH ?= ../..
     28SUB_DEPTH = ..
     29include $(PATH_KBUILD)/subheader.kmk
    3030
    3131#
     
    6666 TEMPLATE_TST_LDFLAGS =
    6767endif
    68 TEMPLATE_TST_INCS = . ../include
     68TEMPLATE_TST_INCS := $(PATH_SUB_CURRENT) $(PATH_SUB_ROOT)/include
    6969
    7070
     
    7272# The kLdr DLL.
    7373#
    74 DLLS = kLdr
     74DLLS += kLdr
    7575kLdr_ASTOOL = NASM
    7676ifeq ($(BUILD_TARGET),win)
     
    112112 kLdr_LDFLAGS = -nostdlib
    113113endif
    114 kLdr_INCS = . ../include
     114kLdr_INCS := $(PATH_SUB_CURRENT) $(PATH_SUB_ROOT)/include
    115115kLdr_SOURCES = \
    116116        kLdr.c \
     
    144144kLdrStatic_TEMPLATE = kStuffLIB
    145145kLdrStatic_SDKS.win = WINPSDK W2K3DDK
    146 kLdrStatic_INCS = . ../include
     146kLdrStatic_INCS := $(PATH_SUB_CURRENT) $(PATH_SUB_ROOT)/include
    147147kLdrStatic_DEFS.win = __WIN__
    148148kLdrStatic_DEFS.os2 = __OS2__
     
    171171kLdrExeStub-win_SDKS.x86 = WIN32SDK
    172172kLdrExeStub-win_SDKS.amd64 = WIN64SDK
    173 kLdrExeStub-win_INCS = . ../include
     173kLdrExeStub-win_INCS := $(PATH_SUB_CURRENT) $(PATH_SUB_ROOT)/include
    174174kLdrExeStub-win_DEFS = __WIN__
    175175kLdrExeStub-win_CFLAGS = -W3 -Zl
     
    214214
    215215
    216 
    217216# Generate rules.
    218 include $(PATH_KBUILD)/footer.kmk
    219 
    220 
    221 
     217include $(PATH_KBUILD)/subfooter.kmk
     218
Note: See TracChangeset for help on using the changeset viewer.