comparison src/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 bd7174adf0f2
children 193188e494b2
comparison
equal deleted inserted replaced
3061:fd1acd2f457a 3062:21d92abaac3a
1 ## Makefile for src subdirectory in XEmacs. 1 ## Makefile for src subdirectory in XEmacs.
2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. 2 ## Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
3 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois 3 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
4 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc. 4 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
5 ## Copyright (C) 1998, 1999 J. Kean Johnston. 5 ## Copyright (C) 1998, 1999 J. Kean Johnston.
6 ## Copyright (C) 2001, 2002, 2003 Ben Wing. 6 ## Copyright (C) 2001, 2002, 2003, 2005 Ben Wing.
7 7
8 ## This file is part of XEmacs. 8 ## This file is part of XEmacs.
9 9
10 ## XEmacs is free software; you can redistribute it and/or modify it 10 ## XEmacs is free software; you can redistribute it and/or modify it
11 ## under the terms of the GNU General Public License as published by the 11 ## under the terms of the GNU General Public License as published by the
1003 $(PURECOV_PROG) $(LD) $(temacs_link_args) 1003 $(PURECOV_PROG) $(LD) $(temacs_link_args)
1004 1004
1005 ###################### Clean 1005 ###################### Clean
1006 1006
1007 .PHONY: mostlyclean clean distclean realclean versionclean extraclean 1007 .PHONY: mostlyclean clean distclean realclean versionclean extraclean
1008 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig
1008 mostlyclean: 1009 mostlyclean:
1009 $(RM) *.o *.i *.rtl *.ln core \ 1010 $(RM) *.o *.i *.rtl *.ln core \
1010 temacs puremacs quantmacs covmacs rtcmacs temacs.exe \ 1011 temacs puremacs quantmacs covmacs rtcmacs temacs.exe \
1011 sheap-adjust.h dump-id.c $(BLDSRC)/NEEDTODUMP SATISFIED \ 1012 sheap-adjust.h dump-id.c $(BLDSRC)/NEEDTODUMP SATISFIED \
1012 $(LIB_SRC)/*.po $(LIB_SRC)/*.mo 1013 $(LIB_SRC)/*.po $(LIB_SRC)/*.mo
1018 $(RM) libextcli* $(LISP)/auto-autoloads.el* $(LISP)/custom-load.el* \ 1019 $(RM) libextcli* $(LISP)/auto-autoloads.el* $(LISP)/custom-load.el* \
1019 $(LISP)/mule/auto-autoloads.el* $(LISP)/mule/custom-load.el* \ 1020 $(LISP)/mule/auto-autoloads.el* $(LISP)/mule/custom-load.el* \
1020 $(SRCMODULES)/auto-autoloads.el* $(SRCMODULES)/custom-load.el* 1021 $(SRCMODULES)/auto-autoloads.el* $(SRCMODULES)/custom-load.el*
1021 ## This is used in making a distribution. 1022 ## This is used in making a distribution.
1022 ## Do not use it on development directories! 1023 ## Do not use it on development directories!
1023 distclean: clean 1024 distclean-noconfig: clean
1024 $(RM) config.h paths.h Emacs.ad.h $(LISP)/finder-inf.el* \ 1025 $(RM) config.h paths.h Emacs.ad.h $(LISP)/finder-inf.el* \
1025 GNUmakefile Makefile Makefile.in TAGS $(DUMP_TARGET) $(RAW_EXE) \ 1026 TAGS xemacs.def xemacs.def.in
1026 xemacs.def xemacs.def.in 1027 ## This is used in making a distribution.
1028 ## Do not use it on development directories!
1029 distclean: distclean-noconfig
1030 $(RM) GNUmakefile Makefile Makefile.in
1031 realclean-noconfig: distclean-noconfig
1027 realclean: distclean 1032 realclean: distclean
1033 extraclean-noconfig: realclean-noconfig
1034 $(RM) *~ \#* m/*~ m/\#* s/*~ s/\#*
1028 extraclean: realclean 1035 extraclean: realclean
1029 $(RM) *~ \#* m/*~ m/\#* s/*~ s/\#* 1036 $(RM) *~ \#* m/*~ m/\#* s/*~ s/\#*
1030 1037
1031 ###################### Lock, unlock 1038 ###################### Lock, unlock
1032 1039