1# -*-makefile-*- 2# GNUmakefile.postamble 3# 4# Project specific makefile rules 5# 6# Copyright (C) 1997 Free Software Foundation, Inc. 7# 8# Author: Scott Christley <scottc@net-community.com> 9# 10# This file is part of the GNUstep GUI Library. 11# 12# This library is free software; you can redistribute it and/or 13# modify it under the terms of the GNU Lesser General Public 14# License as published by the Free Software Foundation; either 15# version 2 of the License, or (at your option) any later version. 16# 17# This library is distributed in the hope that it will be useful, 18# but WITHOUT ANY WARRANTY; without even the implied warranty of 19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20# Lesser General Public License for more details. 21# 22# You should have received a copy of the GNU Lesser General Public 23# License along with this library; see the file COPYING.LIB. 24# If not, see <http://www.gnu.org/licenses/> or write to the 25# Free Software Foundation, 51 Franklin Street, Fifth Floor, 26# Boston, MA 02110-1301, USA. 27 28# Uncomment the targets you want. 29# The double colons (::) are important, do not make them single colons 30# otherwise the normal makefile rules will not be performed. 31# 32 33# Things to do before compiling 34# before-all:: 35 36# Things to do after compiling 37# after-all:: 38 39# 40# The following rule is important mainly for packaging, because in that case 41# you install into a fake system tree, and the directory is not there. 42# 43$(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional: 44 $(MKDIRS) $(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional 45 46# Things to do before installing 47before-install:: $(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional 48 $(INSTALL_DATA) gui.make \ 49 $(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional/gui.make 50 51# Things to do after installing 52# after-install:: 53 54# Things to do before uninstalling 55 before-uninstall:: 56 rm -f $(DESTDIR)$(GNUSTEP_MAKEFILES)/Additional/gui.make 57 58# Things to do after uninstalling 59# after-uninstall:: 60 61# Things to do before cleaning 62# before-clean:: 63 64# Things to do after cleaning 65#after-clean:: 66# cd Headers ; cd gnustep ; cd gui ; rm -f *~ 67# cd Headers ; cd gnustep ; \ 68# if [ -d dps ]; then \ 69# cd dps ; rm -f *~; \ 70# fi 71# NOTE: the gnustep/gui directories don't exist anymore. 72 73# Things to do before distcleaning 74# before-distclean:: 75 76# Things to do after distcleaning 77after-distclean:: 78 rm -f config.status config.log config.cache TAGS config.make gui.make 79 80gui.make: gui.make.in Version configure 81 if [ -x config.status ]; then \ 82 ./config.status --recheck && ./config.status; \ 83 else \ 84 ./configure; \ 85 fi 86 87config.make: config.make.in configure 88 if [ -x config.status ]; then \ 89 ./config.status --recheck && ./config.status; \ 90 else \ 91 ./configure; \ 92 fi 93 94# Things to do before checking 95# before-check:: 96 97# Things to do after checking 98# after-check:: 99 100.PHONY: 101 102 103