X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=service%2Fother%2Frpc_library%2Ftool%2FMakefile;h=f4e13590d080c881a187d467337fd5a51021c71d;hb=3b1a450f99e6f5536384d22334418b6e82e9d3c4;hp=64bc6e4d8553627890b87ed9e71636fcd55311e9;hpb=604011e21f44b51f3540711ffe53a16362796ae5;p=staging%2Fbasesystem.git diff --git a/service/other/rpc_library/tool/Makefile b/service/other/rpc_library/tool/Makefile index 64bc6e4..f4e1359 100755 --- a/service/other/rpc_library/tool/Makefile +++ b/service/other/rpc_library/tool/Makefile @@ -24,8 +24,8 @@ YFLAGS := -d -t LEX := flex LFLAGS := -d -CPPFLAGS := -I../library/include -include $(SDKTARGETSYSROOT)/usr/include/basesystem/agl_types_obsoluted.h -CFLAGS := -Wall -Wno-unused-function -Wno-unused-variable -include $(SDKTARGETSYSROOT)/usr/include/basesystem/agl_types_obsoluted.h +CPPFLAGS := -I../library/include -include $(SDKTARGETSYSROOT)/usr/include/basesystem/agl_types_deprecated.h +CFLAGS := -Wall -Wno-unused-function -Wno-unused-variable -include $(SDKTARGETSYSROOT)/usr/include/basesystem/agl_types_deprecated.h rpc_apidef: apidef.tab.o lex.yy.o apidef.o $(CXX) $(CPPFLAGS) -o $@ $^ @@ -36,10 +36,12 @@ apidef.tab.o: apidef.tab.h apidef.tab.c lex.yy.o: lex.yy.c $(CC) $(CPPFLAGS) $(CFLAGS) -c $^ -apidef.o: apidef.cc +apidef.o: apidef.cc apidef.tab.h $(CXX) $(CPPFLAGS) $(CFLAGS) -c $^ -apidef.tab.h apidef.tab.c: apidef.y +apidef.tab.c: apidef.tab.h + +apidef.tab.h: apidef.y $(YACC) $(YFLAGS) $< lex.yy.c: apidef.l apidef.tab.h