Initial revision
[TestXSLT.git] / libiconv / libcharset / Makefile.devel
1 # This is the developer's makefile, not the user's makefile.
2 # Don't use it unless you know exactly what you do!
3
4 SHELL = /bin/sh
5 MAKE = make
6 AUTOCONF = autoconf-2.52
7 CP = cp
8 RM = rm -f
9
10 all : configures config.h.msvc include/libcharset.h.msvc-shared
11
12 autoconf/aclocal.m4 : $(wildcard m4/*.m4)
13         aclocal --acdir=m4 --output=$@
14
15 configures : configure config.h.in
16
17 configure : configure.in autoconf/aclocal.m4
18         $(AUTOCONF) -l autoconf
19
20 config.h.in : configure.in autoconf/aclocal.m4
21         autoheader -l autoconf
22
23 config.h.msvc : config.h.in
24         sed -e 's/#undef HAVE_SETLOCALE/#define HAVE_SETLOCALE 1/' -e 's/#undef HAVE_STDDEF_H/#define HAVE_STDDEF_H 1/' -e 's/#undef HAVE_STDLIB_H/#define HAVE_STDLIB_H 1/' -e 's/#undef HAVE_STRING_H/#define HAVE_STRING_H 1/' < $< > $@
25
26 include/libcharset.h.msvc-shared : include/libcharset.h.in windows/dllexport.h
27         sed -e 's/extern \([^"]\)/extern LIBCHARSET_DLL_EXPORTED \1/' -e '/#define _LIBCHARSET_H/r windows/dllexport.h' < $< > $@
28
29 force :