~jamesodhunt/ubuntu/raring/upstart/1.6

« back to all changes in this revision

Viewing changes to intl/Makefile.in

  • Committer: Scott James Remnant
  • Date: 2010-02-04 23:59:00 UTC
  • mfrom: (1185.1.9 upstream)
  • Revision ID: scott@netsplit.com-20100204235900-c0j0frow10azwsus
* New upstream release:
  - libnih has been separated out into its own project.
  - "start on" and "stop on" now support != matches.  LP: #513035.
  - Fixed crash in child when unable to spawn job.  LP: #451917.
  - No longer holds /dev/console open so SAK won't kill init.  LP: #486005.
  - Added missing OPTIONS section to init(8).  LP: #449883.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Makefile for directory with message catalog handling library of GNU gettext
2
 
# Copyright (C) 1995-1998, 2000-2006 Free Software Foundation, Inc.
 
2
# Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc.
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify it
5
5
# under the terms of the GNU Library General Public License as published
72
72
RANLIB = @RANLIB@
73
73
YACC = @INTLBISON@ -y -d
74
74
YFLAGS = --name-prefix=__gettext
 
75
WINDRES = @WINDRES@
75
76
 
76
77
# -DBUILDING_LIBINTL: Change expansion of LIBINTL_DLL_EXPORTED macro.
77
78
# -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
100
101
  localcharset.h \
101
102
  lock.h \
102
103
  relocatable.h \
 
104
  tsearch.h tsearch.c \
103
105
  xsize.h \
104
106
  printf-args.h printf-args.c \
105
107
  printf-parse.h wprintf-parse.h printf-parse.c \
164
166
  version.$lo \
165
167
  osdep.$lo \
166
168
  intl-compat.$lo
 
169
OBJECTS_RES_yes = libintl.res
 
170
OBJECTS_RES_no =
167
171
DISTFILES.common = Makefile.in \
168
 
config.charset locale.alias ref-add.sin ref-del.sin export.h \
 
172
config.charset locale.alias ref-add.sin ref-del.sin export.h libintl.rc \
169
173
$(HEADERS) $(SOURCES)
170
174
DISTFILES.generated = plural.c
171
175
DISTFILES.normal = VERSION
186
190
        $(AR) cru $@ $(OBJECTS)
187
191
        $(RANLIB) $@
188
192
 
189
 
libintl.la libgnuintl.la: $(OBJECTS)
 
193
libintl.la libgnuintl.la: $(OBJECTS) $(OBJECTS_RES_@WOE32@)
190
194
        $(LIBTOOL) --mode=link \
191
195
          $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
192
 
          $(OBJECTS) @LTLIBICONV@ @INTL_MACOSX_LIBS@ $(LIBS) @LTLIBTHREAD@ -lc \
 
196
          $(OBJECTS) @LTLIBICONV@ @INTL_MACOSX_LIBS@ $(LIBS) @LTLIBTHREAD@ @LTLIBC@ \
 
197
          $(OBJECTS_RES_@WOE32@) \
193
198
          -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
194
199
          -rpath $(libdir) \
195
200
          -no-undefined
200
205
# Maintainers of other packages that include the intl directory must *not*
201
206
# change these values.
202
207
LTV_CURRENT=8
203
 
LTV_REVISION=1
 
208
LTV_REVISION=2
204
209
LTV_AGE=0
205
210
 
206
211
.SUFFIXES:
268
273
intl-compat.lo: $(srcdir)/intl-compat.c
269
274
        $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/intl-compat.c
270
275
 
 
276
# This rule is executed only on Woe32 systems.
 
277
# The following sed expressions come from the windres-options script. They are
 
278
# inlined here, so that they can be written in a Makefile without requiring a
 
279
# temporary file. They must contain literal newlines rather than semicolons,
 
280
# so that they work with the sed-3.02 that is shipped with MSYS. We can use
 
281
# GNU bash's $'\n' syntax to obtain such a newline.
 
282
libintl.res: $(srcdir)/libintl.rc
 
283
        nl=$$'\n'; \
 
284
        sed_extract_major='/^[0-9]/{'$${nl}'s/^\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
 
285
        sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
 
286
        sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \
 
287
        $(WINDRES) \
 
288
          "-DPACKAGE_VERSION_STRING=\\\"$(VERSION)\\\"" \
 
289
          "-DPACKAGE_VERSION_MAJOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_major"` \
 
290
          "-DPACKAGE_VERSION_MINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_minor"` \
 
291
          "-DPACKAGE_VERSION_SUBMINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_subminor"` \
 
292
          -i $(srcdir)/libintl.rc -o libintl.res --output-format=coff
 
293
 
271
294
ref-add.sed: $(srcdir)/ref-add.sin
272
295
        sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-add.sin > t-ref-add.sed
273
296
        mv t-ref-add.sed ref-add.sed
399
422
 
400
423
install-strip: install
401
424
 
 
425
install-dvi install-html install-info install-ps install-pdf:
 
426
 
402
427
installdirs:
403
428
        if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \
404
429
           && test '@USE_INCLUDED_LIBINTL@' = yes; then \
513
538
 
514
539
 
515
540
mostlyclean:
516
 
        rm -f *.a *.la *.o *.obj *.lo core core.*
 
541
        rm -f *.a *.la *.o *.obj *.lo libintl.res core core.*
517
542
        rm -f libgnuintl.h libintl.h charset.alias ref-add.sed ref-del.sed
518
543
        rm -f -r .libs _libs
519
544