comparison lwlib/Makefile.in.in @ 3062:21d92abaac3a

[xemacs-hg @ 2005-11-13 10:39:28 by ben] fix up clean targets to delete .elc's as necessary dynodump/Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. Do some refactoring for cleanliness. Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. *-noconfig targets are like the base targets they're based off of, but don't delete Makefiles and certain other files needed to rebuild the Makefiles as necessary. Refactor things to be more consistent. Top-level `elcclean' is an alias for `realclean-noconfig' and is used by target `beta'. `realclean-noconfig' (and, by extension, `realclean' and `extraclean') remove the .elc files. Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. Do some refactoring for cleanliness. Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. Do some refactoring for cleanliness. Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. Do some refactoring for cleanliness. Makefile.in.in: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. Do some refactoring for cleanliness. Makefile: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. Do some refactoring for cleanliness. common/Makefile.common: Add targets distclean-noconfig, realclean-noconfig, extraclean-noconfig. Do some refactoring for cleanliness. Put in some magic cookies in comments so this file gets read as a make file by XEmacs.
author ben
date Sun, 13 Nov 2005 10:39:41 +0000
parents 04bc9d2f42c7
children 193188e494b2
comparison
equal deleted inserted replaced
3061:fd1acd2f457a 3062:21d92abaac3a
1 ## Makefile for Lucid Widget Library 1 ## Makefile for Lucid Widget Library
2 ## Copyright (C) 1994 Lucid, Inc. 2 ## Copyright (C) 1994 Lucid, Inc.
3 ## Copyright (C) 1995 Tinker Systems and INS Engineering Corp. 3 ## Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
4 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois 4 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
5 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. 5 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
6 ## Copyright (C) 2005 Ben Wing.
6 7
7 ## This file is part of the Lucid Widget Library. 8 ## This file is part of the Lucid Widget Library.
8 9
9 ## The Lucid Widget Library is free software; you can redistribute it and/or 10 ## The Lucid Widget Library is free software; you can redistribute it and/or
10 ## modify it under the terms of the GNU General Public License as published by 11 ## modify it under the terms of the GNU General Public License as published by
80 $(RM) $@ 81 $(RM) $@
81 $(AR) $@ $(objs) 82 $(AR) $@ $(objs)
82 @-test -n "$(RANLIB)" && $(RANLIB) $@ 83 @-test -n "$(RANLIB)" && $(RANLIB) $@
83 84
84 .PHONY: mostlyclean clean distclean realclean extraclean 85 .PHONY: mostlyclean clean distclean realclean extraclean
86 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig
85 mostlyclean: 87 mostlyclean:
86 $(RM) liblw.a liblw_pure_*.a *.o *.i core 88 $(RM) liblw.a liblw_pure_*.a *.o *.i core
87 clean: mostlyclean 89 clean: mostlyclean
88 distclean: clean 90 distclean-noconfig: clean
89 $(RM) GNUmakefile Makefile Makefile.in config.h TAGS 91 $(RM) config.h TAGS
92 ## This is used in making a distribution.
93 ## Do not use it on development directories!
94 distclean: distclean-noconfig
95 $(RM) GNUmakefile Makefile Makefile.in
96 realclean-noconfig: distclean-noconfig
90 realclean: distclean 97 realclean: distclean
91 extraclean: distclean 98 extraclean-noconfig: realclean-noconfig
99 $(RM) *~ \#*
100 extraclean: realclean
92 $(RM) *~ \#* 101 $(RM) *~ \#*
93 102
94 CONFIG_H = ../src/config.h config.h 103 CONFIG_H = ../src/config.h config.h
95 104
96 ## Following correct as of 19980312 105 ## Following correct as of 19980312