Changeset 2484 for trunk/ash/Makefile.kmk
- Timestamp:
- Dec 11, 2005, 8:10:10 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ash/Makefile.kmk
r2483 r2484 8 8 9 9 PROGRAMS = ash 10 INSTALLS = ash.man 10 11 11 12 ash_TEMPLATE = bin … … 49 50 $(PATH_TARGET)/nodes.h \ 50 51 $(PATH_TARGET)/token.h 52 ash_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 51 59 60 ash.man_TEMPLATE = usr.bin.man 61 ash.man_SOURCES = \ 62 sh.1=>ash.1 63 #ash.man_SYMLINKS = \ 64 # ash.1.gz=>sh.1 52 65 53 DEPTH = .. 66 DEPTH = .. 54 67 include $(PATH_KBUILD)/rules.kmk 55 56 ## @todo: Make kBuild use this now that '|' has been discovered.57 $(PATH_TARGET):58 $(MKDIR) -p $@59 68 60 69 $(PATH_TARGET)/arith.h $(PATH_TARGET)/arith.c: arith.y | $(PATH_TARGET) … … 62 71 $(MV) -f y.tab.c $(PATH_TARGET)/arith.c 63 72 $(MV) -f y.tab.h $(PATH_TARGET)/arith.h 64 73 65 74 $(PATH_TARGET)/arith_lex.c: arith_lex.l | $(PATH_TARGET) 66 75 flex -8 -o$@ $^ # 8-bit lex scanner for arithmetic 67 76 68 77 $(PATH_TARGET)/builtins.h $(PATH_TARGET)/builtins.c: mkbuiltins shell.h builtins.def | $(PATH_TARGET) 69 78 $+ $(dir $@) … … 78 87 $(MV) token.h $@ 79 88 80 $(PATH_TARGET)/init.c: mkinit.sh $(filter-out $(PATH_TARGET)/%,$(ash_SOURCES)) 89 $(PATH_TARGET)/init.c: mkinit.sh $(filter-out $(PATH_TARGET)/%,$(ash_SOURCES)) | $(PATH_TARGET) 81 90 $+ 82 91 $(MV) init.c $@
Note:
See TracChangeset
for help on using the changeset viewer.