Skip to content
Snippets Groups Projects
Commit d680138d authored by Linus Tolke's avatar Linus Tolke
Browse files

Lagt till distclean.

parent a2b376d3
No related branches found
No related tags found
No related merge requests found
...@@ -14,4 +14,7 @@ binaries:; ...@@ -14,4 +14,7 @@ binaries:;
clean: clean:
$(RM) $(GENERIC-CLEAN) $(RM) $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
depend:; depend:;
# $Id: balance-defs.make,v 1.3 1991/09/08 21:09:06 ceder Exp $ # $Id: balance-defs.make,v 1.4 1991/09/13 21:45:23 linus Exp $
# This file is included by all Makefiles in the LysKOM hierarchy. # This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used. # It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included. # TOPDIR and SCRIPTDIR must be set before this file is included.
...@@ -39,8 +39,9 @@ LYSKOMUSRBIN = /usr/local/bin ...@@ -39,8 +39,9 @@ LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a dependencies core TAGS temp-Makefile \ GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
temp-?-Makefile Topdir.make
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS = EXPORTS =
......
# $Id: sun4os4-defs.make,v 1.4 1991/09/13 20:22:19 ceder Exp $ # $Id: sun4os4-defs.make,v 1.5 1991/09/13 21:45:19 linus Exp $
# This file is included by all Makefiles in the LysKOM hierarchy. # This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used. # It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included. # TOPDIR and SCRIPTDIR must be set before this file is included.
...@@ -40,8 +40,9 @@ LYSKOMUSRBIN = /usr/local/bin ...@@ -40,8 +40,9 @@ LYSKOMUSRBIN = /usr/local/bin
GENERIC-CLEAN = *~ *.o lib*.a dependencies core TAGS temp-Makefile \ GENERIC-CLEAN = *~ *.o lib*.a core temp-Makefile temp-?-Makefile
temp-?-Makefile Topdir.make
GENERIC-DIST-CLEAN = TAGS Topdir.make dependencies
EXPORTS = EXPORTS =
......
...@@ -17,6 +17,14 @@ clean: ...@@ -17,6 +17,14 @@ clean:
(cd man$$i; $(RM) *~ core) } \ (cd man$$i; $(RM) *~ core) } \
done done
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
-for i in $(MANEXTS); \
do \
[ -d man$$i ] && { echo making clean in directory man$$i; \
(cd man$$i; $(RM) *.ps *.cat *.man *.txt) } \
done
install: install:
for i in $(MANEXTS); \ for i in $(MANEXTS); \
do \ do \
......
...@@ -13,3 +13,6 @@ binaries:; ...@@ -13,3 +13,6 @@ binaries:;
clean: clean:
$(RM) $(GENERIC-CLEAN) $(RM) $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
...@@ -6,3 +6,11 @@ clean: ...@@ -6,3 +6,11 @@ clean:
[ -d $$i ] && { echo making clean in directory $$i; \ [ -d $$i ] && { echo making clean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) clean) } \ (cd $$i; $(MAKE) $(EXPORTS) clean) } \
done done
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
-for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making distclean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) distclean) } \
done
...@@ -35,4 +35,12 @@ clean: ...@@ -35,4 +35,12 @@ clean:
(cd $$i; $(MAKE) $(EXPORTS) clean); } \ (cd $$i; $(MAKE) $(EXPORTS) clean); } \
done done
depend:; distclean: clean
\ No newline at end of file $(RM) $(GENERIC-DIST-CLEAN)
for i in $(SUBDIRS); \
do \
[ -d $$i ] && { echo making distclean in directory $$i; \
(cd $$i; $(MAKE) $(EXPORTS) distclean); } \
done
depend:;
...@@ -25,6 +25,9 @@ binaries:; ...@@ -25,6 +25,9 @@ binaries:;
clean: clean:
$(RM) ${LIBOBJS} $(GENERIC-CLEAN) $(RM) ${LIBOBJS} $(GENERIC-CLEAN)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
# Recreate the Makefile # Recreate the Makefile
include $(SCRIPTDIR)/Single-depend.make include $(SCRIPTDIR)/Single-depend.make
......
...@@ -43,6 +43,9 @@ liblyskom-client.a: client-dir ...@@ -43,6 +43,9 @@ liblyskom-client.a: client-dir
clean: clean:
$(RM) $(GENERIC-CLEAN) $(LIBRARIES) $(RM) $(GENERIC-CLEAN) $(LIBRARIES)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
$(RM) -r client-dir server-dir $(RM) -r client-dir server-dir
libraries: includes all libraries: includes all
......
...@@ -33,6 +33,9 @@ testnumlist: testnumlist.o numlist.o ...@@ -33,6 +33,9 @@ testnumlist: testnumlist.o numlist.o
clean: clean:
$(RM) ${OBJECTS} $(GENERIC-CLEAN) Distfile testnumlist $(RM) ${OBJECTS} $(GENERIC-CLEAN) Distfile testnumlist
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN)
# Recreate the Makefile # Recreate the Makefile
include $(SCRIPTDIR)/Single-depend.make include $(SCRIPTDIR)/Single-depend.make
......
# $Id: Makefile,v 0.12 1991/09/08 21:08:47 ceder Exp $ # $Id: Makefile,v 0.13 1991/09/13 21:45:06 linus Exp $
include Topdir.make include Topdir.make
SCRIPTDIR = $(TOPDIR)/scripts SCRIPTDIR = $(TOPDIR)/scripts
...@@ -114,7 +114,10 @@ install: $(PROGRAMS) ...@@ -114,7 +114,10 @@ install: $(PROGRAMS)
# Don't strip ramkomd - we want debugging info! # Don't strip ramkomd - we want debugging info!
clean: clean:
$(RM) $(GENERIC-CLEAN) $(PROGRAMS) $(SPECIALS) $(RM) $(GENERIC-CLEAN) $(PROGRAMS)
distclean: clean
$(RM) $(GENERIC-DIST-CLEAN) $(SPECIALS)
specials: $(SPECIALS) specials: $(SPECIALS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment