add more definitions for __builtin___XXX_chk
[cparser] / .build_plugin
index 572ce4b..f8128bd 100644 (file)
@@ -4,7 +4,7 @@ for d in $(DIRS) {
        SOURCES += [ Wildcard $(d) : *.c *.h ] ;
 }
 
-actions RunGenerator bind GENERATOR {
+actions RunBuiltinGenerator bind GENERATOR {
        $(GENERATOR) $(>) > $(<)
 }
 
@@ -16,7 +16,7 @@ rule BuiltinGenerator {
        Depends $(<) : $(target) ;
        Depends $(target) : $(generator) ;
        Depends $(target) : $(source) ;
-       RunGenerator $(target) : $(source) ;
+       RunBuiltinGenerator $(target) : $(source) ;
        GENERATOR on $(target) = $(generator) ;
 
        Includes $(header:G=) : $(header) ;
@@ -28,7 +28,7 @@ rule BuiltinGenerator {
 BuiltinGenerator gen_builtins.h : builtins/builtins.c : create_builtins_h.sh ;
 
 Application cparser : $(SOURCES) ;
-CppFlags cparser : -DFIRM_BACKEND -I$(top_srcdir)/libfirm/include ;
+CppFlags cparser : -I$(top_srcdir)/libfirm/include ;
 IncludeDir cparser : . ;
 CFlags cparser : -std=c99 ;
 LinkWith cparser : firm ;