1## DO NOT EDIT! GENERATED AUTOMATICALLY! 2## Process this file with automake to produce Makefile.in. 3# Copyright (C) 2004-2006 Free Software Foundation, Inc. 4# 5# This file is free software, distributed under the terms of the GNU 6# General Public License. As a special exception to the GNU General 7# Public License, this file may be distributed as part of a program 8# that contains a configuration script generated by Autoconf, under 9# the same distribution terms as the rest of that program. 10# 11# Generated by gnulib-tool. 12# Reproduce by: gnulib-tool --import --dir=gettext-runtime --local-dir=gnulib-local --lib=libgrt --source-base=gnulib-lib --m4-base=gnulib-m4 --doc-base=doc --aux-dir=../build-aux --no-libtool --macro-prefix=gl atexit basename closeout csharpcomp-script error exit getopt gettext-h gettext-runtime-misc java javacomp-script memmove progname propername relocatable relocwrapper stdbool strtoul unlocked-io xalloc 13 14AUTOMAKE_OPTIONS = 1.5 gnits 15 16noinst_LIBRARIES = libgrt.a 17 18libgrt_a_SOURCES = 19libgrt_a_LIBADD = $(gl_LIBOBJS) 20libgrt_a_DEPENDENCIES = $(gl_LIBOBJS) 21noinst_HEADERS = 22EXTRA_DIST = 23BUILT_SOURCES = 24SUFFIXES = 25MOSTLYCLEANFILES = core *.stackdump 26MOSTLYCLEANDIRS = 27CLEANFILES = 28DISTCLEANFILES = 29MAINTAINERCLEANFILES = 30 31AM_CPPFLAGS = 32 33## begin gnulib module alloca-opt 34 35BUILT_SOURCES += $(ALLOCA_H) 36 37# We need the following in order to create <alloca.h> when the system 38# doesn't have one that works with the given compiler. 39alloca.h: alloca_.h 40 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 41 cat $(srcdir)/alloca_.h; \ 42 } > $@-t 43 mv -f $@-t $@ 44MOSTLYCLEANFILES += alloca.h alloca.h-t 45 46EXTRA_DIST += alloca_.h 47 48## end gnulib module alloca-opt 49 50## begin gnulib module allocsa 51 52libgrt_a_SOURCES += allocsa.h allocsa.c 53 54EXTRA_DIST += allocsa.valgrind 55 56## end gnulib module allocsa 57 58## begin gnulib module atexit 59 60 61EXTRA_DIST += atexit.c 62 63## end gnulib module atexit 64 65## begin gnulib module basename 66 67libgrt_a_SOURCES += basename.h basename.c 68 69## end gnulib module basename 70 71## begin gnulib module c-ctype 72 73libgrt_a_SOURCES += c-ctype.h c-ctype.c 74 75## end gnulib module c-ctype 76 77## begin gnulib module c-strcase 78 79libgrt_a_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c 80 81## end gnulib module c-strcase 82 83## begin gnulib module c-strstr 84 85libgrt_a_SOURCES += c-strstr.h c-strstr.c 86 87## end gnulib module c-strstr 88 89## begin gnulib module canonicalize 90 91 92EXTRA_DIST += canonicalize.c canonicalize.h 93 94## end gnulib module canonicalize 95 96## begin gnulib module closeout 97 98libgrt_a_SOURCES += closeout.h closeout.c 99 100## end gnulib module closeout 101 102## begin gnulib module configmake 103 104# Retrieve values of the variables through 'configure' followed by 105# 'make', not directly through 'configure', so that a user who 106# sets some of these variables consistently on the 'make' command 107# line gets correct results. 108# 109# One advantage of this approach, compared to the classical 110# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS, 111# is that it protects against the use of undefined variables. 112# If, say, $(libdir) is not set in the Makefile, LIBDIR is not 113# defined by this module, and code using LIBDIR gives a 114# compilation error. 115# 116# Another advantage is that 'make' output is shorter. 117# 118# Listed in the same order as the GNU makefile conventions. 119# The Automake-defined pkg* macros are appended, in the order 120# listed in the Automake 1.10a+ documentation. 121configmake.h: Makefile 122 rm -f $@-t $@ 123 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 124 echo '#define PREFIX "$(prefix)"'; \ 125 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ 126 echo '#define BINDIR "$(bindir)"'; \ 127 echo '#define SBINDIR "$(sbindir)"'; \ 128 echo '#define LIBEXECDIR "$(libexecdir)"'; \ 129 echo '#define DATAROOTDIR "$(datarootdir)"'; \ 130 echo '#define DATADIR "$(datadir)"'; \ 131 echo '#define SYSCONFDIR "$(sysconfdir)"'; \ 132 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ 133 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ 134 echo '#define INCLUDEDIR "$(includedir)"'; \ 135 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ 136 echo '#define DOCDIR "$(docdir)"'; \ 137 echo '#define INFODIR "$(infodir)"'; \ 138 echo '#define HTMLDIR "$(htmldir)"'; \ 139 echo '#define DVIDIR "$(dvidir)"'; \ 140 echo '#define PDFDIR "$(pdfdir)"'; \ 141 echo '#define PSDIR "$(psdir)"'; \ 142 echo '#define LIBDIR "$(libdir)"'; \ 143 echo '#define LISPDIR "$(lispdir)"'; \ 144 echo '#define LOCALEDIR "$(localedir)"'; \ 145 echo '#define MANDIR "$(mandir)"'; \ 146 echo '#define MANEXT "$(manext)"'; \ 147 echo '#define PKGDATADIR "$(pkgdatadir)"'; \ 148 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ 149 echo '#define PKGLIBDIR "$(pkglibdir)"'; \ 150 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ 151 } | sed '/""/d' > $@-t 152 mv $@-t $@ 153BUILT_SOURCES += configmake.h 154CLEANFILES += configmake.h configmake.h-t 155 156## end gnulib module configmake 157 158## begin gnulib module error 159 160 161EXTRA_DIST += error.c error.h 162 163## end gnulib module error 164 165## begin gnulib module exit 166 167libgrt_a_SOURCES += exit.h 168 169## end gnulib module exit 170 171## begin gnulib module fwriteerror 172 173libgrt_a_SOURCES += fwriteerror.h fwriteerror.c 174 175## end gnulib module fwriteerror 176 177## begin gnulib module getopt 178 179BUILT_SOURCES += $(GETOPT_H) 180 181# We need the following in order to create <getopt.h> when the system 182# doesn't have one that works with the given compiler. 183getopt.h: getopt_.h 184 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 185 cat $(srcdir)/getopt_.h; \ 186 } > $@-t 187 mv -f $@-t $@ 188MOSTLYCLEANFILES += getopt.h getopt.h-t 189 190EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h 191 192## end gnulib module getopt 193 194## begin gnulib module gettext-h 195 196libgrt_a_SOURCES += gettext.h 197 198## end gnulib module gettext-h 199 200## begin gnulib module gettext-runtime-misc 201 202AUTOMAKE_OPTIONS += no-dependencies 203 204# Hmm... is this still necessary? 205AM_CPPFLAGS += -I$(top_builddir)/intl -I$(top_srcdir)/intl 206 207# Parametrization of the 'relocatable' module. 208AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 209 210## end gnulib module gettext-runtime-misc 211 212## begin gnulib module localcharset 213 214libgrt_a_SOURCES += localcharset.h localcharset.c 215 216# We need the following in order to install a simple file in $(libdir) 217# which is shared with other installed packages. We use a list of referencing 218# packages so that "make uninstall" will remove the file if and only if it 219# is not used by another installed package. 220# On systems with glibc-2.1 or newer, the file is redundant, therefore we 221# avoid installing it. 222 223all-local: charset.alias ref-add.sed ref-del.sed 224 225charset_alias = $(DESTDIR)$(libdir)/charset.alias 226charset_tmp = $(DESTDIR)$(libdir)/charset.tmp 227install-exec-local: all-local 228 test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir) 229 if test -f $(charset_alias); then \ 230 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ 231 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ 232 rm -f $(charset_tmp) ; \ 233 else \ 234 if test $(GLIBC21) = no; then \ 235 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ 236 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ 237 rm -f $(charset_tmp) ; \ 238 fi ; \ 239 fi 240 241uninstall-local: all-local 242 if test -f $(charset_alias); then \ 243 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ 244 if grep '^# Packages using this file: $$' $(charset_tmp) \ 245 > /dev/null; then \ 246 rm -f $(charset_alias); \ 247 else \ 248 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ 249 fi; \ 250 rm -f $(charset_tmp); \ 251 fi 252 253charset.alias: config.charset 254 rm -f t-$@ $@ 255 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ 256 mv t-$@ $@ 257 258SUFFIXES += .sed .sin 259.sin.sed: 260 rm -f t-$@ $@ 261 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ 262 mv t-$@ $@ 263 264CLEANFILES += charset.alias ref-add.sed ref-del.sed 265 266EXTRA_DIST += config.charset ref-add.sin ref-del.sin 267 268## end gnulib module localcharset 269 270## begin gnulib module mbchar 271 272 273EXTRA_DIST += mbchar.c mbchar.h 274 275## end gnulib module mbchar 276 277## begin gnulib module mbuiter 278 279libgrt_a_SOURCES += mbuiter.h 280 281## end gnulib module mbuiter 282 283## begin gnulib module memchr 284 285 286EXTRA_DIST += memchr.c 287 288## end gnulib module memchr 289 290## begin gnulib module memmove 291 292 293EXTRA_DIST += memmove.c 294 295## end gnulib module memmove 296 297## begin gnulib module pathmax 298 299 300EXTRA_DIST += pathmax.h 301 302## end gnulib module pathmax 303 304## begin gnulib module progname 305 306libgrt_a_SOURCES += progname.h progname.c 307 308## end gnulib module progname 309 310## begin gnulib module progreloc 311 312AM_CPPFLAGS += -DEXEEXT=\"$(EXEEXT)\" 313libgrt_a_SOURCES += progreloc.c 314 315## end gnulib module progreloc 316 317## begin gnulib module propername 318 319libgrt_a_SOURCES += propername.h propername.c 320 321## end gnulib module propername 322 323## begin gnulib module readlink 324 325 326EXTRA_DIST += readlink.c 327 328## end gnulib module readlink 329 330## begin gnulib module relocatable 331 332 333EXTRA_DIST += relocatable.c relocatable.h 334 335## end gnulib module relocatable 336 337## begin gnulib module relocwrapper 338 339 340EXTRA_DIST += relocwrapper.c 341 342## end gnulib module relocwrapper 343 344## begin gnulib module setenv 345 346 347EXTRA_DIST += setenv.c setenv.h unsetenv.c 348 349## end gnulib module setenv 350 351## begin gnulib module stdbool 352 353BUILT_SOURCES += $(STDBOOL_H) 354 355# We need the following in order to create <stdbool.h> when the system 356# doesn't have one that works. 357stdbool.h: stdbool_.h 358 rm -f $@-t $@ 359 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 360 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \ 361 } > $@-t 362 mv $@-t $@ 363MOSTLYCLEANFILES += stdbool.h stdbool.h-t 364 365EXTRA_DIST += stdbool_.h 366 367## end gnulib module stdbool 368 369## begin gnulib module strdup 370 371 372EXTRA_DIST += strdup.c strdup.h 373 374## end gnulib module strdup 375 376## begin gnulib module strerror 377 378 379EXTRA_DIST += strerror.c 380 381## end gnulib module strerror 382 383## begin gnulib module striconv 384 385libgrt_a_SOURCES += striconv.h striconv.c 386if GL_COND_LIBTOOL 387endif 388 389## end gnulib module striconv 390 391## begin gnulib module strnlen1 392 393libgrt_a_SOURCES += strnlen1.h strnlen1.c 394 395## end gnulib module strnlen1 396 397## begin gnulib module strstr 398 399 400EXTRA_DIST += strstr.c strstr.h 401 402## end gnulib module strstr 403 404## begin gnulib module strtol 405 406 407EXTRA_DIST += strtol.c 408 409## end gnulib module strtol 410 411## begin gnulib module strtoul 412 413 414EXTRA_DIST += strtoul.c 415 416## end gnulib module strtoul 417 418## begin gnulib module unistd 419 420BUILT_SOURCES += $(UNISTD_H) 421 422# We need the following in order to create an empty placeholder for 423# <unistd.h> when the system doesn't have one. 424unistd.h: 425 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 426 echo '/* Empty placeholder for $@. */'; \ 427 } > $@ 428MOSTLYCLEANFILES += unistd.h 429 430## end gnulib module unistd 431 432## begin gnulib module unlocked-io 433 434 435EXTRA_DIST += unlocked-io.h 436 437## end gnulib module unlocked-io 438 439## begin gnulib module wcwidth 440 441libgrt_a_SOURCES += wcwidth.h 442 443## end gnulib module wcwidth 444 445## begin gnulib module xalloc 446 447libgrt_a_SOURCES += xalloc.h xmalloc.c xstrdup.c 448 449## end gnulib module xalloc 450 451## begin gnulib module xreadlink 452 453libgrt_a_SOURCES += xreadlink.h xreadlink.c 454 455## end gnulib module xreadlink 456 457## begin gnulib module xstriconv 458 459libgrt_a_SOURCES += xstriconv.h xstriconv.c 460 461## end gnulib module xstriconv 462 463 464mostlyclean-local: mostlyclean-generic 465 @for dir in '' $(MOSTLYCLEANDIRS); do \ 466 if test -n "$$dir" && test -d $$dir; then \ 467 echo "rmdir $$dir"; rmdir $$dir; \ 468 fi; \ 469 done 470