Changeset 1624 in kBuild for trunk/src/ash
- Timestamp:
- May 12, 2008 9:37:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ash/Makefile.kmk
r1604 r1624 76 76 bltin/test.c \ 77 77 $(PATH_TARGET)/arith.c \ 78 $(PATH_TARGET)/arith_lex.c \79 78 $(PATH_TARGET)/builtins.c \ 80 79 $(PATH_TARGET)/init.c \ … … 115 114 # ash.1.gz=>sh.1 116 115 117 118 119 ifeq ($(filter-out nt win win32 win64,$(KBUILD_TARGET)),) 116 if1of ($(KBUILD_TARGET), win nt) 120 117 121 118 # 122 119 # Use the pregenerated code. 123 120 # 124 kmk_ash_DEPS :=Ä 121 kmk_ash_DEPS := 122 kmk_ash_SOURCES += $(PATH_TARGET)/arith_lex.c 125 123 126 124 define def_copy_generated … … 137 135 138 136 else 137 138 ifeq (1,2) #disabled for now. 139 kmk_ash_USES = lex #yacc 140 kmk_ash_SOURCES += arith_lex.l 141 kmk_ash_LEXTOOL = FLEX 142 kmk_ash_LEXFLAGS = -8 143 else 144 kmk_ash_SOURCES += $(PATH_TARGET)/arith_lex.c 145 endif 139 146 140 147 include $(FILE_KBUILD_FOOTER) … … 158 165 $(MV) -f y.tab.h $(PATH_TARGET)/arith.h 159 166 167 ifndef kmk_ash_LEXTOOL 160 168 $(PATH_TARGET)/arith_lex.c: arith_lex.l | $(call DIRDEP,$(PATH_TARGET)) 161 169 flex -8 -o$@ $^ # 8-bit lex scanner for arithmetic 170 endif 162 171 163 172 $(PATH_TARGET)/builtins.h + $(PATH_TARGET)/builtins.c: $(PATH_CURRENT)/mkbuiltins shell.h builtins.def | $(call DIRDEP,$(PATH_TARGET))
Note:
See TracChangeset
for help on using the changeset viewer.