VirtualBox

Changeset 1624 in kBuild for trunk/src/ash


Ignore:
Timestamp:
May 12, 2008 9:37:16 PM (17 years ago)
Author:
bird
Message:

flex prep

File:
1 edited

Legend:

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

    r1604 r1624  
    7676        bltin/test.c \
    7777        $(PATH_TARGET)/arith.c \
    78         $(PATH_TARGET)/arith_lex.c \
    7978        $(PATH_TARGET)/builtins.c \
    8079        $(PATH_TARGET)/init.c \
     
    115114#       ash.1.gz=>sh.1
    116115
    117 
    118 
    119 ifeq ($(filter-out nt win win32 win64,$(KBUILD_TARGET)),)
     116if1of ($(KBUILD_TARGET), win nt)
    120117
    121118#
    122119# Use the pregenerated code.
    123120#
    124 kmk_ash_DEPS :=Ä
     121kmk_ash_DEPS :=
     122kmk_ash_SOURCES += $(PATH_TARGET)/arith_lex.c
    125123
    126124define def_copy_generated
     
    137135
    138136else
     137
     138ifeq (1,2) #disabled for now.
     139kmk_ash_USES = lex #yacc
     140kmk_ash_SOURCES += arith_lex.l
     141kmk_ash_LEXTOOL = FLEX
     142kmk_ash_LEXFLAGS = -8
     143else
     144kmk_ash_SOURCES += $(PATH_TARGET)/arith_lex.c
     145endif
    139146
    140147include $(FILE_KBUILD_FOOTER)
     
    158165        $(MV) -f y.tab.h $(PATH_TARGET)/arith.h
    159166
     167ifndef kmk_ash_LEXTOOL
    160168$(PATH_TARGET)/arith_lex.c: arith_lex.l | $(call DIRDEP,$(PATH_TARGET))
    161169        flex -8 -o$@ $^                     # 8-bit lex scanner for arithmetic
     170endif
    162171
    163172$(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.

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