Changeset 3581 for trunk/kStuff/kErr


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/kErr/Makefile.kmk

    r3579 r3581  
    11# $Id$
    22## @file
    3 # kErr - The Status Code API.
     3# kErr - The Status Code API, sub-makefile.
    44#
    55
     
    2525#
    2626
    27 DEPTH = ../..
    28 include $(PATH_KBUILD)/header.kmk
     27DEPTH ?= ../..
     28SUB_DEPTH ?= ..
     29include $(PATH_KBUILD)/subheader.kmk
    2930
    3031#
     
    4243# Generate case statements for kErrName().
    4344#
    44 $(PATH_TARGET)/kErrNameConsts.h: ../include/k/kErrors.h $(MAKEFILE_CURRENT) | $(call DIRDEP,$(PATH_TARGET))
     45$(PATH_TARGET)/kErrNameConsts.h: $(PATH_SUB_ROOT)/include/k/kErrors.h $(MAKEFILE_CURRENT) | $(call DIRDEP,$(PATH_TARGET))
    4546        $(RM) -f $@
    4647        $(SED) \
     
    4950                -e '/K[A-Z_]*ERR_[A-Z0-9_]*BASE/d' \
    5051                -e '/K[A-Z_]*ERR_[A-Z0-9_]*END/d' \
    51                 ../include/k/kErrors.h > $@
     52                $< > $@
    5253
    5354
    5455# Generate the rules
    55 include $(PATH_KBUILD)/footer.kmk
     56include $(PATH_KBUILD)/subfooter.kmk
    5657
Note: See TracChangeset for help on using the changeset viewer.