1# Makefile for gperf 2 3# Copyright (C) 1989, 1992, 1993, 1998, 2002 Free Software Foundation, Inc. 4# Written by Douglas C. Schmidt <schmidt@ics.uci.edu> 5# and Bruno Haible <bruno@clisp.org>. 6# 7# This file is part of GNU GPERF. 8# 9# This program is free software: you can redistribute it and/or modify 10# it under the terms of the GNU General Public License as published by 11# the Free Software Foundation; either version 3 of the License, or 12# (at your option) any later version. 13# 14# This program is distributed in the hope that it will be useful, 15# but WITHOUT ANY WARRANTY; without even the implied warranty of 16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17# GNU General Public License for more details. 18# 19# You should have received a copy of the GNU General Public License 20# along with this program. If not, see <http://www.gnu.org/licenses/>. 21 22#### Start of system configuration section. #### 23 24# Programs used by "make": 25RM = rm -f 26 27 28#### End of system configuration section. #### 29 30SHELL = /bin/sh 31 32all : force 33 cd lib; $(MAKE) all 34 cd src; $(MAKE) all 35 cd tests; $(MAKE) all 36 cd doc; $(MAKE) all 37 38install : force 39 cd lib; $(MAKE) install 40 cd src; $(MAKE) install 41 cd tests; $(MAKE) install 42 cd doc; $(MAKE) install 43 44installdirs : force 45 cd lib; $(MAKE) installdirs 46 cd src; $(MAKE) installdirs 47 cd tests; $(MAKE) installdirs 48 cd doc; $(MAKE) installdirs 49 50uninstall : force 51 cd lib; $(MAKE) uninstall 52 cd src; $(MAKE) uninstall 53 cd tests; $(MAKE) uninstall 54 cd doc; $(MAKE) uninstall 55 56check : force 57 cd lib; $(MAKE) check 58 cd src; $(MAKE) check 59 cd tests; $(MAKE) check 60 cd doc; $(MAKE) check 61 62mostlyclean : force 63 cd lib; $(MAKE) mostlyclean 64 cd src; $(MAKE) mostlyclean 65 cd tests; $(MAKE) mostlyclean 66 cd doc; $(MAKE) mostlyclean 67 68clean : force 69 cd lib; $(MAKE) clean 70 cd src; $(MAKE) clean 71 cd tests; $(MAKE) clean 72 cd doc; $(MAKE) clean 73 74distclean : force 75 cd lib; if test -f Makefile; then $(MAKE) distclean; fi 76 cd src; if test -f Makefile; then $(MAKE) distclean; fi 77 cd tests; if test -f Makefile; then $(MAKE) distclean; fi 78 cd doc; if test -f Makefile; then $(MAKE) distclean; fi 79 $(RM) config.status config.log config.cache Makefile 80 81maintainer-clean : force 82 cd lib; if test -f Makefile; then $(MAKE) maintainer-clean; fi 83 cd src; if test -f Makefile; then $(MAKE) maintainer-clean; fi 84 cd tests; if test -f Makefile; then $(MAKE) maintainer-clean; fi 85 cd doc; if test -f Makefile; then $(MAKE) maintainer-clean; fi 86 $(RM) config.status config.log config.cache Makefile 87 88force : 89 90