comparison tools/mb_c_source.m4 @ 186:530bb7728546 include_mb_test

Move header files to $(top_srcdir)/include/ and prefixed with 'mb_'. This is the solution that I dicussed with FourDollars, last night.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 05 Nov 2008 15:24:01 +0800
parents b90abd31a281
children bcad1ccdf45c
comparison
equal deleted inserted replaced
185:c7e5b8779bb5 186:530bb7728546
296 296
297 define([MADBUTTERFLY],[dnl 297 define([MADBUTTERFLY],[dnl
298 [#include <stdio.h> 298 [#include <stdio.h>
299 #include <stdlib.h> 299 #include <stdlib.h>
300 #include <string.h> 300 #include <string.h>
301 #include "mb/mb_types.h" 301 #include <mb_types.h>
302 #include "mb/redraw_man.h" 302 #include <mb_redraw_man.h>
303 #include "mb/shapes.h" 303 #include <mb_shapes.h>
304 #include "mb/paint.h" 304 #include <mb_paint.h>
305 #include "$1.h" 305 #include "$1.h"
306 306
307 $1_t *$1_new(redraw_man_t *rdman, coord_t *parent_coord) { 307 $1_t *$1_new(redraw_man_t *rdman, coord_t *parent_coord) {
308 $1_t *obj; 308 $1_t *obj;
309 grad_stop_t *stops = NULL;]DECLARE_VARS 309 grad_stop_t *stops = NULL;]DECLARE_VARS