summaryrefslogtreecommitdiff
path: root/locale/Makefile
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-03-13 22:09:14 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-03-13 22:09:14 +0000
commit8b116e60045b961964b5689bf0181aef9a479656 (patch)
treea56ec48296c23956a1a00d54f0dfb2449e02d43d /locale/Makefile
parent9aff70cc1736fcdb2854c8ab051dcf7c7a7a3325 (diff)
downloadcups-8b116e60045b961964b5689bf0181aef9a479656.tar.gz
Merge changes from CUPS 1.4svn-r8443.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1296 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'locale/Makefile')
-rw-r--r--locale/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/locale/Makefile b/locale/Makefile
index 68ab1f3ed..25506f86f 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -139,14 +139,15 @@ pot:
#
# checkpo - A simple utility to check PO files for correct translation
-# strings.
+# strings. Dependency on static library is deliberate.
#
# checkpo filename.po [... filenameN.po]
#
-checkpo: checkpo.o ../cups/$(LIBCUPS)
+checkpo: checkpo.o ../cups/libcups.a
echo Linking $<...
- $(CC) $(LDFLAGS) -o checkpo checkpo.o $(LIBS)
+ $(CC) $(LDFLAGS) -o checkpo checkpo.o ../cups/libcups.a \
+ $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
checkall: checkpo
for file in *.po; do \
@@ -161,9 +162,10 @@ checkall: checkpo
# po2strings filename.po filename.strings
#
-po2strings: po2strings.o ../cups/$(LIBCUPS)
+po2strings: po2strings.o ../cups/libcups.a
echo Linking $<...
- $(CC) $(LDFLAGS) -o po2strings po2strings.o $(LIBS)
+ $(CC) $(LDFLAGS) -o po2strings po2strings.o ../cups/libcups.a \
+ $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
#
@@ -185,9 +187,10 @@ strings2po: strings2po.o
# translate outfile language
#
-translate: translate.o ../cups/$(LIBCUPS)
+translate: translate.o ../cups/libcups.a
echo Linking $<...
- $(CC) $(LDFLAGS) -o translate translate.o $(LIBS)
+ $(CC) $(LDFLAGS) -o translate translate.o ../cups/libcups.a \
+ $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
#