summaryrefslogtreecommitdiff
path: root/jni/iconv/libcharset/Makefile.devel
blob: ca35f64e3c9dc0e3abebd614363615e34231077f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This is the developer's makefile, not the user's makefile.
# Don't use it unless you know exactly what you do!

SHELL = /bin/sh
MAKE = make
AUTOCONF = autoconf-2.63
AUTOHEADER = autoheader-2.63
ACLOCAL = aclocal-1.11
CP = cp
RM = rm -f

all : configures include/localcharset.h.build.in

autoconf/aclocal.m4 : $(wildcard m4/*.m4)
        $(ACLOCAL) -I m4 --output=$@

configures : configure config.h.in

configure : configure.ac autoconf/aclocal.m4
        $(AUTOCONF) --include autoconf

config.h.in : configure.ac autoconf/aclocal.m4
        $(AUTOHEADER) --include autoconf
        touch config.h.in

include/localcharset.h.build.in : include/localcharset.h.in include/export.h
        sed -e 's/extern \([^"]\)/extern LIBCHARSET_DLL_EXPORTED \1/' \
            -e '/#define _LOCALCHARSET_H/r include/export.h' \
          < $< > $@

force :