diff options
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | proto.h | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -41,3 +41,9 @@ cc_binary { stem: "awk", vendor: true, } + +cc_library_static { + name: "libawk_main", + defaults: ["awk-defaults"], + cflags: ["-Dmain=awk_main"], +} @@ -22,6 +22,12 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ****************************************************************/ +#define execute awk_execute +#define yyerror awk_yyerror +#define yylex awk_yylex +#define tfree awk_tfree +#define hash awk_hash + extern int yywrap(void); extern void setfname(Cell *); extern int constnode(Node *); |