Blame Makefile.in

Packit b27855
# Makefile for gperf
Packit b27855
Packit b27855
# Copyright (C) 1989, 1992, 1993, 1998, 2002, 2012, 2016 Free Software Foundation, Inc.
Packit b27855
# Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
Packit b27855
# and Bruno Haible <bruno@clisp.org>.
Packit b27855
#
Packit b27855
# This file is part of GNU GPERF.
Packit b27855
#
Packit b27855
# This program is free software: you can redistribute it and/or modify
Packit b27855
# it under the terms of the GNU General Public License as published by
Packit b27855
# the Free Software Foundation; either version 3 of the License, or
Packit b27855
# (at your option) any later version.
Packit b27855
#
Packit b27855
# This program is distributed in the hope that it will be useful,
Packit b27855
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit b27855
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit b27855
# GNU General Public License for more details.
Packit b27855
#
Packit b27855
# You should have received a copy of the GNU General Public License
Packit b27855
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit b27855
Packit b27855
#### Start of system configuration section. ####
Packit b27855
Packit b27855
# Programs used by "make":
Packit b27855
RM = rm -f
Packit b27855
@SET_MAKE@
Packit b27855
Packit b27855
#### End of system configuration section. ####
Packit b27855
Packit b27855
SHELL = /bin/sh
Packit b27855
Packit b27855
all : force
Packit b27855
	cd @subdir@; $(MAKE) all
Packit b27855
Packit b27855
install : force
Packit b27855
	cd @subdir@; $(MAKE) install
Packit b27855
Packit b27855
installdirs : force
Packit b27855
	cd @subdir@; $(MAKE) installdirs
Packit b27855
Packit b27855
uninstall : force
Packit b27855
	cd @subdir@; $(MAKE) uninstall
Packit b27855
Packit b27855
check : force
Packit b27855
	cd @subdir@; $(MAKE) check
Packit b27855
Packit b27855
mostlyclean : force
Packit b27855
	cd @subdir@; $(MAKE) mostlyclean
Packit b27855
Packit b27855
clean : force
Packit b27855
	cd @subdir@; $(MAKE) clean
Packit b27855
Packit b27855
distclean : force
Packit b27855
	cd @subdir@; if test -f Makefile; then $(MAKE) distclean; fi
Packit b27855
	$(RM) config.status config.log config.cache Makefile
Packit b27855
Packit b27855
maintainer-clean : force
Packit b27855
	cd @subdir@; if test -f Makefile; then $(MAKE) maintainer-clean; fi
Packit b27855
	$(RM) config.status config.log config.cache Makefile
Packit b27855
Packit b27855
# List of source files.
Packit b27855
SOURCE_FILES = \
Packit b27855
  README README.windows README.vms NEWS AUTHORS \
Packit b27855
  configure.ac aclocal.m4 Makefile.in Makefile.vms \
Packit b27855
  Makefile.devel ChangeLog
Packit b27855
# List of distributed files imported from other packages.
Packit b27855
IMPORTED_FILES = \
Packit b27855
  COPYING INSTALL \
Packit b27855
  build-aux/install-sh build-aux/mkinstalldirs \
Packit b27855
  build-aux/compile build-aux/ar-lib
Packit b27855
# List of distributed files generated by autotools or Makefile.devel.
Packit b27855
GENERATED_FILES = configure
Packit b27855
# List of distributed files generated by "make".
Packit b27855
DISTRIBUTED_BUILT_FILES =
Packit b27855
# List of distributed files.
Packit b27855
DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
Packit b27855
Packit b27855
distdir : $(DISTFILES)
Packit b27855
	for file in $(DISTFILES); do \
Packit b27855
	  if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
Packit b27855
	  destdir=`echo '$(distdir)'/$$file | sed -e 's|//*[^/]*$$||'`; \
Packit b27855
	  test -d "$$destdir" || mkdir "$$destdir"; \
Packit b27855
	  cp -p $$dir/$$file '$(distdir)'/$$file || exit 1; \
Packit b27855
	done
Packit b27855
	subdir=@subdir@; test -d '$(distdir)'/$$subdir || mkdir '$(distdir)'/$$subdir; cd $$subdir; $(MAKE) distdir distdir='$(distdir)'/$$subdir
Packit b27855
Packit b27855
# Creating a distribution tarball.
Packit b27855
PACKAGE = gperf
Packit b27855
VERSION = `sed -n -e 's/.*version_string = "\(.*\)".*/\1/p' < src/version.cc`
Packit b27855
TAR = tar
Packit b27855
GZIP = gzip
Packit b27855
Packit b27855
dist : force
Packit b27855
	tmpdistdir=$(PACKAGE)-$(VERSION); \
Packit b27855
	abstmpdistdir=`pwd`/$$tmpdistdir; \
Packit b27855
	rm -rf $$tmpdistdir $$tmpdistdir.tar $$tmpdistdir.tar.gz \
Packit b27855
	  && mkdir $$tmpdistdir \
Packit b27855
	  && $(MAKE) distdir distdir="$$abstmpdistdir" \
Packit b27855
	  && $(TAR) chof $$tmpdistdir.tar --owner=root --group=root $$tmpdistdir \
Packit b27855
	  && $(GZIP) -9 $$tmpdistdir.tar \
Packit b27855
	  && rm -rf $$tmpdistdir
Packit b27855
Packit b27855
force :
Packit b27855