1AM_CPPFLAGS= -I$(gwenhywfar_symlinkdir) \ 2 -I$(top_srcdir) \ 3 -I$(top_srcdir)/src/ \ 4 -I$(top_srcdir)/src/base \ 5 -I$(top_srcdir)/src/gui \ 6 -I$(top_srcdir)/src/parser 7 8# Don't include src/os above because its process.h conflicts with the 9# system's <process.h>, at least for gcc3.2 on mingw32 10# -I$(top_srcdir)/src/os 11 12AM_CFLAGS=@PROFILING_CFLAGS@ @visibility_cflags@ @WERROR@ -DBUILDING_GWENHYWFAR 13 14DEFS+=-DGWEN_BUFFER_DEFAULT_HARDLIMIT='@gwenhywfar_buffer_hardlimit@' 15 16noinst_LTLIBRARIES=libbase.la 17 18 19typedatadir=$(datadir)/gwenhywfar/typemaker2/c 20dist_typedata_DATA=\ 21 gwen_param.tm2 gwen_param_list.tm2 gwen_param_list2.tm2 gwen_param_tree.tm2 22 23 24typefiles=param.xml 25 26 27EXTRA_DIST=$(typefiles) \ 28 param_fns.c \ 29 simpleptrlist-t.c simpleptrlist-t.h \ 30 idlist64-t.c idlist64-t.h \ 31 buffer-t.c buffer-t.h 32 33 34 35noinst_HEADERS=\ 36 args_p.h \ 37 buffer_p.h \ 38 debug_p.h \ 39 error_l.h \ 40 error_p.h \ 41 gwensignal_p.h \ 42 i18n_l.h \ 43 idlist64_p.h \ 44 inherit_p.h \ 45 list_p.h \ 46 list1_p.h \ 47 logger_l.h \ 48 logger_p.h \ 49 pathmanager_l.h \ 50 pathmanager_p.h \ 51 plugindescr_p.h \ 52 plugin_l.h \ 53 plugin_p.h \ 54 refptr_p.h \ 55 ringbuffer_p.h \ 56 stringlist_p.h \ 57 stringlist2_p.h \ 58 idmap_p.h \ 59 memcache_p.h \ 60 tree_p.h \ 61 tree2_p.h \ 62 simpleptrlist_p.h \ 63 multicache_p.h \ 64 param_p.h 65 66 67iheaderdir=$(gwenhywfar_headerdir_am)/gwenhywfar 68iheader_HEADERS=\ 69 args.h \ 70 buffer.h \ 71 debug.h \ 72 error.h \ 73 gwensignal.h \ 74 i18n.h \ 75 idlist64.h \ 76 inherit.h \ 77 list.h \ 78 list1.h \ 79 list1.tmpl \ 80 list2.h \ 81 list2.tmpl \ 82 logger.h \ 83 memory.h \ 84 misc.h \ 85 misc2.h \ 86 pathmanager.h \ 87 plugin.h \ 88 plugindescr.h \ 89 refptr.h \ 90 ringbuffer.h \ 91 stringlist.h \ 92 stringlist2.h \ 93 idmap.h \ 94 fastbuffer.h \ 95 memcache.h \ 96 tree.h \ 97 tree2.h \ 98 simpleptrlist.h \ 99 multicache.h \ 100 bindata.h \ 101 param.h \ 102 param_fns.h \ 103 endianfns.h 104 105 106libbase_la_SOURCES=\ 107 args.c \ 108 buffer.c \ 109 debug.c \ 110 error.c \ 111 gwensignal.c \ 112 i18n.c \ 113 idlist64.c \ 114 inherit.c \ 115 list.c \ 116 list1.c \ 117 logger.c \ 118 memory.c \ 119 pathmanager.c \ 120 plugin.c \ 121 plugindescr.c \ 122 refptr.c \ 123 ringbuffer.c \ 124 stringlist.c \ 125 stringlist2.c \ 126 idmap.c \ 127 fastbuffer.c \ 128 memcache.c \ 129 tree.c \ 130 tree2.c \ 131 simpleptrlist.c \ 132 multicache.c \ 133 param.c 134 135 136sources: 137 for f in $(libbase_la_SOURCES); do \ 138 echo $(subdir)/$$f >>$(top_srcdir)/i18nsources; \ 139 done 140 for d in $(SUBDIRS); do \ 141 make -C $$d sources; \ 142 done 143 144 145types: $(typefiles) typedefs 146 typemaker2 -I $(srcdir) --destfolder="$(srcdir)" -D GWENHYWFAR_API $(typefiles) 147 148typedefs: $(typefiles) 149 typemaker2 --defs-only -I $(srcdir) --destfolder="$(srcdir)" -D GWENHYWFAR_API $(typefiles) 150 151 152 153splint: 154 for f in $(libbase_la_SOURCES); do \ 155 splint $(AM_CPPFLAGS) $(DEFS) +enumint -unrecogcomments +posixlib -predboolint +boolint -boolops $$f ; \ 156 done 157 158 159