# Generated automatically from Makefile.in.in by configure. # Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. PACKAGE = libgda VERSION = 0.2.96 # These two variables depend on the location of this directory. subdir = po top_builddir = .. SHELL = /bin/sh srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} datadir = ${prefix}/share localedir = $(datadir)/locale gettextsrcdir = $(datadir)/gettext/po INSTALL = /usr/local/bin/ginstall -c INSTALL_DATA = ${INSTALL} -m 644 MKINSTALLDIRS = ./mkinstalldirs mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac` CC = cc GMSGFMT = /usr/local/bin/msgfmt MSGFMT = /usr/local/bin/msgfmt XGETTEXT = /usr/local/bin/xgettext XML_I18N_UPDATE = $(top_builddir)/xml-i18n-update XML_I18N_EXTRACT = $(top_builddir)/xml-i18n-extract MSGMERGE = XML_I18N_EXTRACT=$(XML_I18N_EXTRACT) $(XML_I18N_UPDATE) --dist GENPOT = XML_I18N_EXTRACT=$(XML_I18N_EXTRACT) $(XML_I18N_UPDATE) --pot DEFS = -DHAVE_CONFIG_H CFLAGS = -fno-common CPPFLAGS = INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) POFILES = ca.po da.po de.po el.po es.po fi.po fr.po ga.po gl.po hu.po it.po ja.po nl.po nn.po no.po pl.po pt.po pt_BR.po ru.po sk.po sl.po sv.po uk.po GMOFILES = ca.gmo da.gmo de.gmo el.gmo es.gmo fi.gmo fr.gmo ga.gmo gl.gmo hu.gmo it.gmo ja.gmo nl.gmo nn.gmo no.gmo pl.gmo pt.gmo pt_BR.gmo ru.gmo sk.gmo sl.gmo sv.gmo uk.gmo DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \ $(POFILES) $(GMOFILES) POTFILES = \ ../lib/gda-client/gda-batch.c \ ../lib/gda-client/gda-command.c \ ../lib/gda-client/gda-connection-pool.c \ ../lib/gda-client/gda-connection.c \ ../lib/gda-client/gda-field.c \ ../lib/gda-client/gda-recordset.c \ ../lib/gda-common/gda-config.c \ ../lib/gda-common/gda-corba.c \ ../lib/gda-common/gda-error.c \ ../lib/gda-common/gda-init.c \ ../lib/gda-common/gda-log.c \ ../lib/gda-common/gda-thread.c \ ../lib/gda-common/gda-util.c \ ../lib/gda-common/gda-xml-database.c \ ../lib/gda-common/gda-xml-item.c \ ../lib/gda-server/gda-server-command.c \ ../lib/gda-server/gda-server-connection.c \ ../lib/gda-server/gda-server-error.c \ ../lib/gda-server/gda-server-field.c \ ../lib/gda-server/gda-server-init.c \ ../lib/gda-server/gda-server-recordset.c \ ../lib/gda-server/gda-server.c \ ../providers/gda-default-server/GNOME_GDA_Provider_Default.oaf.in \ ../providers/gda-default-server/gda-default-connection.c \ ../providers/gda-default-server/main-default.c \ ../providers/gda-ldap-server/GNOME_GDA_Provider_LDAP.oaf.in \ ../providers/gda-ldap-server/gda-ldap-command.c \ ../providers/gda-ldap-server/gda-ldap-connection.c \ ../providers/gda-ldap-server/gda-ldap-recordset.c \ ../providers/gda-ldap-server/main-ldap.c \ ../providers/gda-interbase-server/GNOME_GDA_Provider_InterBase.oaf.in \ ../providers/gda-interbase-server/gda-interbase-command.c \ ../providers/gda-interbase-server/gda-interbase-connection.c \ ../providers/gda-interbase-server/gda-interbase-recordset.c \ ../providers/gda-interbase-server/main-interbase.c \ ../providers/gda-mail-server/GNOME_GDA_Provider_Mail.oaf.in \ ../providers/gda-mail-server/gda-mail-connection.c \ ../providers/gda-mail-server/main-mail.c \ ../providers/gda-mdb-server/GNOME_GDA_Provider_MDB.oaf.in \ ../providers/gda-mdb-server/gda-mdb-command.c \ ../providers/gda-mdb-server/gda-mdb-connection.c \ ../providers/gda-mdb-server/gda-mdb-recordset.c \ ../providers/gda-mdb-server/main-mdb.c \ ../providers/gda-mysql-server/GNOME_GDA_Provider_MySQL.oaf.in \ ../providers/gda-mysql-server/gda-mysql-command.c \ ../providers/gda-mysql-server/gda-mysql-connection.c \ ../providers/gda-mysql-server/gda-mysql-recordset.c \ ../providers/gda-mysql-server/main-mysql.c \ ../providers/gda-odbc-server/GNOME_GDA_Provider_ODBC.oaf.in \ ../providers/gda-odbc-server/gda-odbc-command.c \ ../providers/gda-odbc-server/gda-odbc-connection.c \ ../providers/gda-odbc-server/gda-odbc-recordset.c \ ../providers/gda-odbc-server/main-odbc.c \ ../providers/gda-oracle-server/GNOME_GDA_Provider_Oracle.oaf.in \ ../providers/gda-oracle-server/gda-oracle-command.c \ ../providers/gda-oracle-server/gda-oracle-connection.c \ ../providers/gda-oracle-server/gda-oracle-recordset.c \ ../providers/gda-oracle-server/main-oracle.c \ ../providers/gda-postgres-server/GNOME_GDA_Provider_Postgres.oaf.in \ ../providers/gda-postgres-server/gda-postgres-command.c \ ../providers/gda-postgres-server/gda-postgres-connection.c \ ../providers/gda-postgres-server/gda-postgres-recordset.c \ ../providers/gda-postgres-server/main-postgres.c \ ../providers/gda-sybase-server/GNOME_GDA_Provider_Sybase.oaf.in \ ../providers/gda-sybase-server/gda-sybase-command.c \ ../providers/gda-sybase-server/gda-sybase-connection.c \ ../providers/gda-sybase-server/gda-sybase-error.c \ ../providers/gda-sybase-server/gda-sybase-recordset.c \ ../providers/gda-sybase-server/gda-sybase-types.c \ ../providers/gda-sybase-server/main-sybase.c \ ../providers/gda-primebase-server/GNOME_GDA_Provider_Primebase.oaf.in \ ../providers/gda-primebase-server/gda-primebase-command.c \ ../providers/gda-primebase-server/gda-primebase-connection.c \ ../providers/gda-primebase-server/gda-primebase-recordset.c \ ../providers/gda-primebase-server/main-primebase.c \ ../providers/gda-tds-server/GNOME_GDA_Provider_TDS.oaf.in \ ../providers/gda-tds-server/gda-tds-command.c \ ../providers/gda-tds-server/gda-tds-connection.c \ ../providers/gda-tds-server/gda-tds-error.c \ ../providers/gda-tds-server/gda-tds-recordset.c \ ../providers/gda-tds-server/gda-tds-types.c \ ../providers/gda-tds-server/main-tds.c \ ../tools/gda-run.c \ ../tools/templates/main-srv.c.tmpl CATALOGS = ca.mo da.mo de.mo el.mo es.mo fi.mo fr.mo ga.mo gl.mo hu.mo it.mo ja.mo nl.mo nn.mo no.mo pl.mo pt.mo pt_BR.mo ru.mo sk.mo sl.mo sv.mo uk.mo .SUFFIXES: .SUFFIXES: .c .o .po .pox .gmo .mo .c.o: $(COMPILE) $< .po.pox: $(MAKE) $(PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) --statistics -o $$file $< all: all-yes all-yes: $(CATALOGS) all-no: # Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in $(GENPOT) install: install-exec install-data install-exec: install-data: install-data-yes if test "$(PACKAGE)" = "gettext"; then \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi install-data-no: all install-data-yes: all $(mkinstalldirs) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkinstalldirs) $(DESTDIR)$$dir; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ echo "installing $(srcdir)/$$cat as" \ "$(DESTDIR)$$dir/$(PACKAGE).mo"; \ fi; \ done # Define this as empty until I found a useful application. installcheck: uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \ done if test "$(PACKAGE)" = "gettext"; then \ rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi check: all dvi info tags TAGS ID: mostlyclean: rm -f core core.* *.pox $(PACKAGE).po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: $(DISTFILES) dists="$(DISTFILES)"; \ for file in $$dists; do \ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ cp -p $$dir/$$file $(distdir); \ done update-po: Makefile $(MAKE) $(PACKAGE).pot if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \ cd $(srcdir); \ catalogs='$(GMOFILES)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ cp $$lang.po $$lang.old.po; \ echo "$$lang:"; \ if $(MSGMERGE) $$lang ; then \ rm -f $$lang.old.po; \ else \ echo "msgmerge for $$cat failed!"; \ mv $$lang.old.po $$lang.po; \ fi; \ done $(MAKE) update-gmo .po: Makefile $(MAKE) $(PACKAGE).pot; PATH=`pwd`/../src:$$PATH; \ echo; printf "$*: "; \ if $(MSGMERGE) $*; then \ rm -f $*.old.po; \ else \ echo "msgmerge for * failed!"; \ mv $*.old.po $*.po; \ fi; \ msgfmt --statistics $*.po; echo; update-gmo: Makefile $(GMOFILES) @: Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: