# Generated automatically from Makefile.in by configure.
# Makefile for subdirectory with miscellaneous stuff in GNU gettext package.
# Copyright (C) 1995 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

PACKAGE = gettext
VERSION = 0.10

SHELL = /bin/sh


srcdir = .
top_srcdir = ..

prefix = $(DJDIR)
exec_prefix = ${prefix}
datadir = $(prefix)/share
transform = s,x,x,
bindir = $(exec_prefix)/bin
lispdir = 
localedir = $(datadir)/locale
subdir = misc

INSTALL = c:/djgpp/bin/ginstall -c
INSTALL_SCRIPT = ${INSTALL} -m 755
INSTALL_DATA = ${INSTALL} -m 644

ELFILES = po-mode.el
ELCFILES = po-mode.elc
DISTFILES = ChangeLog Makefile.in combine-sh elisp-comp gettext.perl \
gettext-sh locale.alias gettextize.in magic.add $(ELFILES)

.SUFFIXES:
.SUFFIXES: .el .elc
.el.elc:
	@echo "WARNING: Warnings can be ignored. :-)"
	$(SHELL) $(srcdir)/elisp-comp $<

all check:  gettextize

install install-src: install-exec install-data

install-exec:
	$(top_srcdir)/mkinstalldirs $(bindir)
	$(INSTALL_SCRIPT) gettextize \
	  $(bindir)/`echo gettextize | sed '$(transform)'`

install-data: all
	if test -n ""; then \
	  $(top_srcdir)/mkinstalldirs $(lispdir); \
	  for file in $(ELCFILES); do \
	    $(INSTALL_DATA) $$file $(lispdir)/$$file; \
	  done; \
	fi
	$(INSTALL_DATA) $(srcdir)/locale.alias $(localedir)/locale.alias

uninstall:
	if test -n ""; then \
	  for file in $(ELCFILES); do \
	    rm -f $(lispdir)/$$file; \
	  done; \
	fi
	rm -f $(bindir)/`echo gettextize | sed '$(transform)'`

tags TAGS id ID:

mostlyclean:
	rm -f core core.* *.elc

clean: mostlyclean

distclean: clean
	rm -f Makefile gettextize

maintainer-clean: distclean
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist dist-gettext: Makefile $(DISTFILES)
	for file in $(DISTFILES); do \
	  ln $(srcdir)/$$file $(distdir) 2> /dev/null \
	    || cp -p $(srcdir)/$$file $(distdir); \
	done

gettextize: gettextize.in ../config.status
	cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status

Makefile: Makefile.in ../config.status
	cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./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:
