Changeset 2224 for trunk/kBuild/units
- Timestamp:
- Jan 8, 2009, 2:19:16 AM (17 years ago)
- Location:
- trunk/kBuild/units
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/units/lex.kmk
r2018 r2224 5 5 6 6 # 7 # Copyright (c) 2008 knut st. osmundsen <bird-src-spam@anduin.net>7 # Copyright (c) 2008-2009 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 # 9 9 # This file is part of kBuild. … … 32 32 # 33 33 34 ifdef UNIT_lex 35 $(error kBuild: The lex unit was included twice!) 36 endif 34 37 UNIT_lex = lex 38 39 # Add our target properties. 40 PROPS_TOOLS += LEXTOOL 41 PROPS_SINGLE += LEXTOOL 42 PROPS_ACCUMULATE_R += LEXFLAGS 35 43 36 44 # Add ourselves to the default source handlers. … … 73 81 _OUT_FILES += $(out) $(output_extra) $(output_maybe) 74 82 $(target)_GEN_SOURCES_ += $(out) 83 $(target)_INTERMEDIATES += $(intermediates) 75 84 76 85 endef # def_lex_rule … … 125 134 local output_maybe := $(TOOL_$(tool)_LEX_OUTPUT_MAYBE) 126 135 local deps += $(TOOL_$(tool)_LEX_DEPEND) $(source) 127 local orderdeps += $(TOOL_$(tool)_LEX_DEPORD) 136 local orderdeps += $(TOOL_$(tool)_LEX_DEPORD) $(dirdep) 137 138 # Whether it generates a header file depends on the tool / flags. 139 local intermediates := $(filter %.h %.hpp %.h++ %.H,$(output_extra)) 128 140 129 141 # generate the rule.
Note:
See TracChangeset
for help on using the changeset viewer.