]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - locale/Makefile
Full sweep of all Clang warnings, plus some bug fixes for incorrect memcpy usage.
[thirdparty/cups.git] / locale / Makefile
index 9b53d56ff1446dee6afb7f2b3556b98938b7e3c7..4b0cc81b4c40ee597bf9d3704fa6b5b95fd2ee90 100644 (file)
@@ -1,23 +1,23 @@
 #
-# "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
+# "$Id$"
 #
-#   Locale file makefile for CUPS.
+# Locale file makefile for CUPS.
 #
-#   Copyright 2007-2011 by Apple Inc.
-#   Copyright 1993-2007 by Easy Software Products.
+# Copyright 2007-2014 by Apple Inc.
+# Copyright 1993-2007 by Easy Software Products.
 #
-#   These coded instructions, statements, and computer programs are the
-#   property of Apple Inc. and are protected by Federal copyright
-#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
-#   which should have been included with this file.  If this file is
-#   file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law.  Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file.  If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
 #
 
 include ../Makedefs
 
 
-OBJS   =       checkpo.o po2strings.o strings2po.o translate.o
-TARGETS        =       checkpo po2strings strings2po translate
+OBJS   =       checkpo.o po2strings.o strings2po.o
+TARGETS        =       checkpo po2strings strings2po
 
 
 #
@@ -54,7 +54,7 @@ clean:
 #
 
 depend:
-       makedepend -Y -I.. -fDependencies $(OBJS:.o=.c) >/dev/null 2>&1
+       $(CC) -MM $(ALL_CFLAGS) $(OBJS:.o=.c) >Dependencies
 
 
 #
@@ -133,7 +133,7 @@ pot:        checkpo po2strings
        cd ..; xgettext -o locale/cups.pot -cTRANSLATORS -s \
                --keyword=_ --no-wrap \
                --copyright-holder="Apple Inc." \
-               --package-name="CUPS" --package-version="1.5" \
+               --package-name="CUPS" --package-version="1.6" \
                --msgid-bugs-address="http://www.cups.org/str.php" \
                */*.c */*.cxx
        (cat cups.header; tail +6 cups.pot; cat cups.footer) > cups.pot.N
@@ -141,6 +141,9 @@ pot:        checkpo po2strings
        echo Checking cups.pot...
        ./checkpo cups.pot
        for loc in *.po ; do \
+               if test $$loc = '*.po'; then \
+                       break; \
+               fi; \
                echo Merging changes into $$loc... ; \
                msgmerge -o $$loc -s -N --no-location $$loc cups.pot ; \
        done
@@ -169,7 +172,7 @@ checkall:   checkpo
 
 #
 # po2strings - A simple utility which uses iconv to convert GNU gettext
-#              message catalogs to Mac OS X .strings files.
+#              message catalogs to OS X .strings files.
 #
 # po2strings filename.po filename.strings
 #
@@ -182,8 +185,8 @@ po2strings: po2strings.o ../cups/$(LIBCUPSSTATIC)
 
 
 #
-# strings2po - A simple utility which uses iconv to convert Mac OS X
-#              .strings files to GNU gettext message catalogs.
+# strings2po - A simple utility which uses iconv to convert OS X .strings files
+#              to GNU gettext message catalogs.
 #
 # strings2po filename.strings filename.po
 #
@@ -193,20 +196,6 @@ strings2po:        strings2po.o
        $(CC) $(ARCHFLAGS) $(LDFLAGS) -o strings2po strings2po.o
 
 
-#
-# translate - A simple utility which uses Google to translate the cups.pot
-#             file to one of several languages.
-#
-# translate outfile language
-#
-
-translate:     translate.o ../cups/$(LIBCUPSSTATIC)
-       echo Linking $<...
-       $(CC) $(ARCHFLAGS) $(LDFLAGS) -o translate translate.o \
-               ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
-               $(COMMONLIBS) $(LIBZ)
-
-
 #
 # Dependencies...
 #
@@ -215,5 +204,5 @@ include Dependencies
 
 
 #
-# End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
+# End of "$Id$".
 #