diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-04-15 12:05:39 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-04-15 12:05:39 -0800 |
| commit | c85cdfe8a7d6344f56853026527afea08f894680 (patch) | |
| tree | 6baab89719f82147cac9992dc9dcaccbead2a836 /build-aux | |
| parent | 6b879669e59992497835ef183003fc113f56d93e (diff) | |
| download | bindletools-c85cdfe8a7d6344f56853026527afea08f894680.tar.gz bindletools-c85cdfe8a7d6344f56853026527afea08f894680.tar.bz2 bindletools-c85cdfe8a7d6344f56853026527afea08f894680.tar.xz bindletools-c85cdfe8a7d6344f56853026527afea08f894680.zip | |
libbindle: updating format of bindle_prefix.h
Diffstat (limited to 'build-aux')
| -rw-r--r-- | build-aux/makefile-libbindle.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build-aux/makefile-libbindle.am b/build-aux/makefile-libbindle.am index 4654163..6819263 100644 --- a/build-aux/makefile-libbindle.am +++ b/build-aux/makefile-libbindle.am | |||
| @@ -104,10 +104,14 @@ include/bindle_prefix.h: Makefile $(libbindle_files) | |||
| 104 | fi; \ | 104 | fi; \ |
| 105 | $(MKDIR_P) "`dirname "$(@)"`" || exit 1; \ | 105 | $(MKDIR_P) "`dirname "$(@)"`" || exit 1; \ |
| 106 | rm -f $(@) || exit 1; \ | 106 | rm -f $(@) || exit 1; \ |
| 107 | echo "/* generated from include/bindle.h by make*/" >> $(@); \ | ||
| 108 | echo "#ifndef __BINDLE_H" >> $(@); \ | ||
| 107 | for FUNC in `$(libbindle_symbol_list)`;do \ | 109 | for FUNC in `$(libbindle_symbol_list)`;do \ |
| 108 | echo "#undef bindle_$$FUNC"; \ | 110 | echo "#undef bindle_$$FUNC"; \ |
| 109 | echo "#define bindle_$$FUNC $(LIBBINDLE_PREFIX)$$FUNC"; \ | 111 | echo "#define bindle_$$FUNC $(LIBBINDLE_PREFIX)$$FUNC"; \ |
| 110 | done > $(@); \ | 112 | done >> $(@); \ |
| 113 | echo "#endif" >> $(@); \ | ||
| 114 | cat $(srcdir)/$(bindletools_srcdir)/include/bindle.h >> $(@); \ | ||
| 111 | touch $(@); | 115 | touch $(@); |
| 112 | 116 | ||
| 113 | # end of automake file | 117 | # end of automake file |
