Ignore:
Timestamp:
Dec 11, 2005, 8:10:10 AM (20 years ago)
Author:
bird
Message:

kBuild development.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ash/Makefile.kmk

    r2483 r2484  
    88
    99PROGRAMS = ash
     10INSTALLS = ash.man
    1011
    1112ash_TEMPLATE = bin
     
    4950        $(PATH_TARGET)/nodes.h \
    5051        $(PATH_TARGET)/token.h
     52ash_CLEAN = \
     53        $(ash_DEPS)     \
     54        $(PATH_TARGET)/arith.c \
     55        $(PATH_TARGET)/arith_lex.c \
     56        $(PATH_TARGET)/builtins.c \
     57        $(PATH_TARGET)/init.c \
     58        $(PATH_TARGET)/nodes.c
    5159
     60ash.man_TEMPLATE = usr.bin.man
     61ash.man_SOURCES = \
     62        sh.1=>ash.1
     63#ash.man_SYMLINKS = \
     64#       ash.1.gz=>sh.1
    5265
    53 DEPTH = ..                                             
     66DEPTH = ..
    5467include $(PATH_KBUILD)/rules.kmk
    55 
    56 ## @todo: Make kBuild use this now that '|' has been discovered.               
    57 $(PATH_TARGET):
    58         $(MKDIR) -p $@
    5968
    6069$(PATH_TARGET)/arith.h $(PATH_TARGET)/arith.c: arith.y | $(PATH_TARGET)
     
    6271        $(MV) -f y.tab.c $(PATH_TARGET)/arith.c
    6372        $(MV) -f y.tab.h $(PATH_TARGET)/arith.h
    64        
     73
    6574$(PATH_TARGET)/arith_lex.c: arith_lex.l | $(PATH_TARGET)
    6675        flex -8 -o$@ $^                     # 8-bit lex scanner for arithmetic
    67                                                
     76
    6877$(PATH_TARGET)/builtins.h $(PATH_TARGET)/builtins.c: mkbuiltins shell.h builtins.def | $(PATH_TARGET)
    6978        $+ $(dir $@)
     
    7887        $(MV) token.h $@
    7988
    80 $(PATH_TARGET)/init.c: mkinit.sh $(filter-out $(PATH_TARGET)/%,$(ash_SOURCES))  | $(PATH_TARGET)
     89$(PATH_TARGET)/init.c: mkinit.sh $(filter-out $(PATH_TARGET)/%,$(ash_SOURCES)) | $(PATH_TARGET)
    8190        $+
    8291        $(MV) init.c $@
Note: See TracChangeset for help on using the changeset viewer.