VirtualBox

Changeset 2390 in kBuild


Ignore:
Timestamp:
Feb 14, 2010 10:52:14 PM (15 years ago)
Author:
bird
Message:

kash: windows build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/Makefile.kmk

    r2382 r2390  
    5151kash_DEFS.freebsd = \
    5252        HAVE_SYS_SIGNAME HAVE_SYSCTL_H HAVE_SETPROGNAME
    53 kash_INCS = $(PATH_kash) . # (the last is because of error.h)
     53kash_INCS = $(kash_0_OUTDIR) . # (the last is because of error.h)
    5454kash_ASFLAGS.win = -g cv8
    5555kash_ASFLAGS.win.x86   = -f win32
     
    8686        bltin/test.c \
    8787        \
    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 \
    9191        \
    9292        setmode.c \
     
    108108
    109109kash_INTERMEDIATES = \
    110         $(PATH_kash)/builtins.h \
    111         $(PATH_kash)/nodes.h \
    112         $(PATH_kash)/token.h
     110        $(kash_0_OUTDIR)/builtins.h \
     111        $(kash_0_OUTDIR)/nodes.h \
     112        $(kash_0_OUTDIR)/token.h
    113113kash_CLEAN = \
    114114        $(kash_INTERMEDIATES) \
    115         $(PATH_kash)/builtins.c \
    116         $(PATH_kash)/init.c \
    117         $(PATH_kash)/nodes.c
     115        $(kash_0_OUTDIR)/builtins.c \
     116        $(kash_0_OUTDIR)/init.c \
     117        $(kash_0_OUTDIR)/nodes.c
    118118
    119119##
     
    133133        $(kash_0_OUTDIR)/arith.c \
    134134        $(kash_0_OUTDIR)/arith_lex.c
     135kash_INTERMEDIATES += \
     136        $(kash_0_OUTDIR)/arith.h
    135137
    136138define def_copy_generated
    137 $$(kash_0_OUTDIR)/$(src): $(PATH_SUB_CURRENT)/generated/$(src)
     139$$$$(kash_0_OUTDIR)/$(src): $(PATH_SUB_CURRENT)/generated/$(src)
    138140        $$(RM) -f $$@
    139141        $$(CP) -f $$^ $$@
     
    170172BOOTSTRAP_SHELL ?= $(SHELL)
    171173
    172 $$(PATH_kash)/builtins.h + $$(PATH_kash)/builtins.c: \
     174$$(kash_0_OUTDIR)/builtins.h + $$(kash_0_OUTDIR)/builtins.c: \
    173175                $$(kash_DEFPATH)/mkbuiltins \
    174176                $$(kash_DEFPATH)/shell.h \
     
    176178                | $$(dir $$@)
    177179        $(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: \
    181183        $$(kash_DEFPATH)/mknodes.sh \
    182184        $$(kash_DEFPATH)/nodetypes \
     
    186188        [ -f $(dir $@)/nodes.h ]
    187189
    188 $$(PATH_kash)/token.h: $$(kash_DEFPATH)/mktokens | $$(dir $$@)
     190$$(kash_0_OUTDIR)/token.h: $$(kash_DEFPATH)/mktokens | $$(dir $$@)
    189191        $(BOOTSTRAP_SHELL) $+
    190192        $(MV) token.h $@
    191193
    192 $$(PATH_kash)/init.c: \
     194$$(kash_0_OUTDIR)/init.c: \
    193195                $$(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)) \
    195197                | $$(dir $$@)
    196198        $(BOOTSTRAP_SHELL) $+
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette