X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=.build_plugin;h=3fb9b3b2d9943d8b92ae849516e008d6d203d5b3;hb=cfa8e3601258ee912ce02f34534fad80e5586524;hp=ad2efb53ec5cd6a2e427972c391a918d4c3f9a17;hpb=5468e1e8e7f963183f32cda58b70e4d48a8ec45a;p=cparser diff --git a/.build_plugin b/.build_plugin index ad2efb5..3fb9b3b 100644 --- a/.build_plugin +++ b/.build_plugin @@ -4,29 +4,6 @@ for d in $(DIRS) { SOURCES += [ Wildcard $(PLUGIN_DIR)/$(d) : *.c *.h ] ; } -actions RunBuiltinGenerator bind GENERATOR { - $(GENERATOR) $(>) > $(<) -} - -rule BuiltinGenerator { - local target = $(<) ; - local source = [ SearchSource $(>) ] ; - local generator = [ SearchSource $(3) ] ; - local header = $(target) ; - Depends $(target) : $(generator) ; - Depends $(target) : $(source) ; - RunBuiltinGenerator $(target) : $(source) ; - GENERATOR on $(target) = $(generator) ; - - NP = $(header:D=) ; - Includes $(NP:G=) : $(header) ; - - Clean clean : $(target) ; - - return $(target) ; -} -BuiltinGenerator $(PLUGIN_DIR)/gen_builtins.h : $(PLUGIN_DIR)/builtins/builtins.c : $(PLUGIN_DIR)/create_builtins_h.sh ; - Application cparser : $(SOURCES) ; IncludeDir cparser : libfirm/include libfirm/include/libfirm ; IncludeDir cparser : $(PLUGIN_DIR) ;