1 # This is the developer's makefile, not the user's makefile.
2 # Don't use it unless you know exactly what you do!
7 AUTOHEADER = autoheader
12 all : configures include/libcharset.h.build.in include/localcharset.h.build.in
14 autoconf/aclocal.m4 : $(wildcard m4/*.m4)
15 test -d autoconf || mkdir autoconf
16 $(ACLOCAL) -I m4 --output=$@ && rm -rf autom4te.cache
18 configures : configure config.h.in
20 configure : configure.ac autoconf/aclocal.m4
21 $(AUTOCONF) --include autoconf && rm -rf autom4te.cache
23 config.h.in : configure.ac autoconf/aclocal.m4
24 $(AUTOHEADER) --include autoconf && rm -rf autom4te.cache
27 include/libcharset.h.build.in : include/libcharset.h.in include/export.h
29 | sed -e 's/extern \([^"]\)/extern LIBCHARSET_SHLIB_EXPORTED \1/' \
30 -e '/#define _LIBCHARSET_H/r include/export.h' \
31 | sed -e '/#define _LIBCHARSET_H/,/[*][/]$$/{/#define _LIBCHARSET_H/!d;}' \
34 include/localcharset.h.build.in : include/localcharset.h.in include/export.h
36 | sed -e 's/extern \([^"]\)/extern LIBCHARSET_SHLIB_EXPORTED \1/' \
37 -e '/#define _LOCALCHARSET_H/r include/export.h' \
38 | sed -e '/#define _LOCALCHARSET_H/,/[*][/]$$/{/#define _LOCALCHARSET_H/!d;}' \
42 rm -f autoconf/aclocal.m4 configure config.h.in include/libcharset.h.build.in include/localcharset.h.build.in