Edit

thodg/libiconv/libcharset/Makefile.devel

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2023-09-16 12:04:24
    Hash : 6ad5ae56
    Message : Fix a misnomer. * include/export.h (LIBICONV_SHLIB_EXPORTED): Renamed from LIBICONV_DLL_EXPORTED. Prefer the term "shared library", since the term "DLL" applies only to Windows. * Makefile.devel (include/iconv.h.build.in): Insert LIBICONV_SHLIB_EXPORTED instead of LIBICONV_DLL_EXPORTED. * configure.ac (DLL_VARIABLE): Update comment. * lib/Makefile.in (DEFS): Update comment. * woe32dll/export.h: Update comment. * libcharset/include/export.h (LIBCHARSET_SHLIB_EXPORTED): Renamed from LIBCHARSET_DLL_EXPORTED. Prefer the term "shared library", since the term "DLL" applies only to Windows. * libcharset/Makefile.devel (include/libcharset.h.build.in, include/localcharset.h.build.in): Insert LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED. * libcharset/lib/relocatable-stub.c (libcharset_set_relocation_prefix): Use LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED. * libcharset/lib/Makefile.in (DEFS): Update comment. * libcharset/Makefile.in (install-lib): Update comment.

  • libcharset/Makefile.devel
  • # 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
    AUTOHEADER = autoheader
    ACLOCAL = aclocal-1.16
    CP = cp
    RM = rm -f
    
    all : configures include/libcharset.h.build.in include/localcharset.h.build.in
    
    autoconf/aclocal.m4 : $(wildcard m4/*.m4)
    	test -d autoconf || mkdir autoconf
    	$(ACLOCAL) -I m4 --output=$@ && rm -rf autom4te.cache
    
    configures : configure config.h.in
    
    configure : configure.ac autoconf/aclocal.m4
    	$(AUTOCONF) --include autoconf && rm -rf autom4te.cache
    
    config.h.in : configure.ac autoconf/aclocal.m4
    	$(AUTOHEADER) --include autoconf && rm -rf autom4te.cache
    	touch config.h.in
    
    include/libcharset.h.build.in : include/libcharset.h.in include/export.h
    	cat $< \
    	| sed -e 's/extern \([^"]\)/extern LIBCHARSET_SHLIB_EXPORTED \1/' \
    	      -e '/#define _LIBCHARSET_H/r include/export.h' \
    	| sed -e '/#define _LIBCHARSET_H/,/[*][/]$$/{/#define _LIBCHARSET_H/!d;}' \
    	  > $@
    
    include/localcharset.h.build.in : include/localcharset.h.in include/export.h
    	cat $< \
    	| sed -e 's/extern \([^"]\)/extern LIBCHARSET_SHLIB_EXPORTED \1/' \
    	      -e '/#define _LOCALCHARSET_H/r include/export.h' \
    	| sed -e '/#define _LOCALCHARSET_H/,/[*][/]$$/{/#define _LOCALCHARSET_H/!d;}' \
    	  > $@
    
    totally-clean : force
    	rm -f autoconf/aclocal.m4 configure config.h.in include/libcharset.h.build.in include/localcharset.h.build.in
    
    force :