Changeset 2390 in kBuild
- Timestamp:
- Feb 14, 2010 10:52:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/Makefile.kmk
r2382 r2390 51 51 kash_DEFS.freebsd = \ 52 52 HAVE_SYS_SIGNAME HAVE_SYSCTL_H HAVE_SETPROGNAME 53 kash_INCS = $( PATH_kash) . # (the last is because of error.h)53 kash_INCS = $(kash_0_OUTDIR) . # (the last is because of error.h) 54 54 kash_ASFLAGS.win = -g cv8 55 55 kash_ASFLAGS.win.x86 = -f win32 … … 86 86 bltin/test.c \ 87 87 \ 88 $( PATH_kash)/builtins.c \89 $( PATH_kash)/init.c \90 $( PATH_kash)/nodes.c \88 $(kash_0_OUTDIR)/builtins.c \ 89 $(kash_0_OUTDIR)/init.c \ 90 $(kash_0_OUTDIR)/nodes.c \ 91 91 \ 92 92 setmode.c \ … … 108 108 109 109 kash_INTERMEDIATES = \ 110 $( PATH_kash)/builtins.h \111 $( PATH_kash)/nodes.h \112 $( PATH_kash)/token.h110 $(kash_0_OUTDIR)/builtins.h \ 111 $(kash_0_OUTDIR)/nodes.h \ 112 $(kash_0_OUTDIR)/token.h 113 113 kash_CLEAN = \ 114 114 $(kash_INTERMEDIATES) \ 115 $( PATH_kash)/builtins.c \116 $( PATH_kash)/init.c \117 $( PATH_kash)/nodes.c115 $(kash_0_OUTDIR)/builtins.c \ 116 $(kash_0_OUTDIR)/init.c \ 117 $(kash_0_OUTDIR)/nodes.c 118 118 119 119 ## … … 133 133 $(kash_0_OUTDIR)/arith.c \ 134 134 $(kash_0_OUTDIR)/arith_lex.c 135 kash_INTERMEDIATES += \ 136 $(kash_0_OUTDIR)/arith.h 135 137 136 138 define def_copy_generated 137 $$ (kash_0_OUTDIR)/$(src): $(PATH_SUB_CURRENT)/generated/$(src)139 $$$$(kash_0_OUTDIR)/$(src): $(PATH_SUB_CURRENT)/generated/$(src) 138 140 $$(RM) -f $$@ 139 141 $$(CP) -f $$^ $$@ … … 170 172 BOOTSTRAP_SHELL ?= $(SHELL) 171 173 172 $$( PATH_kash)/builtins.h + $$(PATH_kash)/builtins.c: \174 $$(kash_0_OUTDIR)/builtins.h + $$(kash_0_OUTDIR)/builtins.c: \ 173 175 $$(kash_DEFPATH)/mkbuiltins \ 174 176 $$(kash_DEFPATH)/shell.h \ … … 176 178 | $$(dir $$@) 177 179 $(BOOTSTRAP_SHELL) $+ $(dir $@) 178 [ -f $( PATH_kash)/builtins.h ]179 180 $$( PATH_kash)/nodes.h + $$(PATH_kash)/nodes.c: \180 [ -f $(kash_0_OUTDIR)/builtins.h ] 181 182 $$(kash_0_OUTDIR)/nodes.h + $$(kash_0_OUTDIR)/nodes.c: \ 181 183 $$(kash_DEFPATH)/mknodes.sh \ 182 184 $$(kash_DEFPATH)/nodetypes \ … … 186 188 [ -f $(dir $@)/nodes.h ] 187 189 188 $$( PATH_kash)/token.h: $$(kash_DEFPATH)/mktokens | $$(dir $$@)190 $$(kash_0_OUTDIR)/token.h: $$(kash_DEFPATH)/mktokens | $$(dir $$@) 189 191 $(BOOTSTRAP_SHELL) $+ 190 192 $(MV) token.h $@ 191 193 192 $$( PATH_kash)/init.c: \194 $$(kash_0_OUTDIR)/init.c: \ 193 195 $$(kash_DEFPATH)/mkinit.sh \ 194 $$(abspathex $$(filter-out $$( PATH_kash)/%,$$(kash_SOURCES)), $$(kash_DEFPATH)) \196 $$(abspathex $$(filter-out $$(kash_0_OUTDIR)/%,$$(kash_SOURCES)), $$(kash_DEFPATH)) \ 195 197 | $$(dir $$@) 196 198 $(BOOTSTRAP_SHELL) $+
Note:
See TracChangeset
for help on using the changeset viewer.