--- a/Make.proto Wed Nov 01 12:12:10 1995 +0100
+++ b/Make.proto Wed Nov 01 14:54:54 1995 +0100
@@ -184,38 +184,42 @@
source:
@-$(MAKE) sourceLink
+sourcelink:: sourceLink
+
#
# make a new include subdirectory and link to abbreviation file
newInclude:
-rm -rf include
@-$(MAKE) includeLink
+includelink:: includeLink
+
includeLink:
@-rm -f ttt*.H
- @-if [ ! -d include ]; then \
- mkdir include; \
+ @-if [ ! -d include ]; then \
+ mkdir include; \
fi
- @-if [ ! -r include/abbrev.stc ]; then \
- if [ -f $(INCLUDE)/abbrev.stc ]; then \
- echo "linking abbrev.stc ..."; \
- (cd include; $(LNS) ../$(INCLUDE)/abbrev.stc .); \
- else \
- echo "oops - no $(INCLUDE)/abbrev.stc"; \
- fi \
+ @-if [ ! -r include/abbrev.stc ]; then \
+ if [ -f $(INCLUDE)/abbrev.stc ]; then \
+ echo "linking abbrev.stc ..."; \
+ (cd include; $(LNS) ../$(INCLUDE)/abbrev.stc .); \
+ else \
+ echo "oops - no $(INCLUDE)/abbrev.stc"; \
+ fi \
fi
- @-if [ ! -r include/liblist.stc ]; then \
- if [ -f $(INCLUDE)/liblist.stc ]; then \
- echo "linking liblist.stc ..."; \
- (cd include; $(LNS) ../$(INCLUDE)/liblist.stc .); \
- else \
- echo "oops - no $(INCLUDE)/liblist.stc"; \
- fi \
+ @-if [ ! -r include/liblist.stc ]; then \
+ if [ -f $(INCLUDE)/liblist.stc ]; then \
+ echo "linking liblist.stc ..."; \
+ (cd include; $(LNS) ../$(INCLUDE)/liblist.stc .); \
+ else \
+ echo "oops - no $(INCLUDE)/liblist.stc"; \
+ fi \
fi
- @-if [ ! -r include/symbols.stc ]; then \
- if [ -f $(INCLUDE)/symbols.stc ]; then \
- echo "linking symbols.stc ..."; \
+ @-if [ ! -r include/symbols.stc ]; then \
+ if [ -f $(INCLUDE)/symbols.stc ]; then \
+ echo "linking symbols.stc ..."; \
(cd include; $(LNS) ../$(INCLUDE)/symbols.stc .); \
- fi \
+ fi \
fi
@-rm -f include/RCS include/CVS
@@ -238,6 +242,8 @@
binary:
@-$(MAKE) binaryLink
+binarylink:: binaryLink
+
#
# make a new bitmaps subdirectory
# (simply collect the contents of all bitmap directories)
@@ -251,6 +257,8 @@
bitmaps:
@-$(MAKE) bitmapLink
+bitmaplink:: bitmapLink
+
#
# clean out intermediate chunk
#
@@ -298,54 +306,56 @@
-mkdir resources
@$(MAKE) resourceLink
+resourcelink: resourceLink
+
resourceLink:
@-if [ "`echo $(LIBBASICDIR)/resources/*`" != '$(LIBBASICDIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBBASICDIR) ..."; \
+ echo "linking resource files from $(LIBBASICDIR) ..."; \
(cd resources; $(LNS) ../$(LIBBASICDIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(LIBVIEWDIR)/resources/*`" != '$(LIBVIEWDIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBVIEWDIR) ..."; \
+ echo "linking resource files from $(LIBVIEWDIR) ..."; \
(cd resources; $(LNS) ../$(LIBVIEWDIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(LIBVIEW2DIR)/resources/*`" != '$(LIBVIEW2DIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBVIEW2DIR) ..."; \
+ echo "linking resource files from $(LIBVIEW2DIR) ..."; \
(cd resources; $(LNS) ../$(LIBVIEW2DIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(LIBWIDGDIR)/resources/*`" != '$(LIBWIDGDIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBWIDGDIR) ..."; \
+ echo "linking resource files from $(LIBWIDGDIR) ..."; \
(cd resources; $(LNS) ../$(LIBWIDGDIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(LIBWIDG2DIR)/resources/*`" != '$(LIBWIDG2DIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBWIDG2DIR) ..."; \
+ echo "linking resource files from $(LIBWIDG2DIR) ..."; \
(cd resources; $(LNS) ../$(LIBWIDG2DIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(LIBWIDG3DIR)/resources/*`" != '$(LIBWIDG3DIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBWIDG3DIR) ..."; \
+ echo "linking resource files from $(LIBWIDG3DIR) ..."; \
(cd resources; $(LNS) ../$(LIBWIDG3DIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(LIBTOOLDIR)/resources/*`" != '$(LIBTOOLDIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBTOOLDIR) ..."; \
+ echo "linking resource files from $(LIBTOOLDIR) ..."; \
(cd resources; $(LNS) ../$(LIBTOOLDIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(LIBTABLEDIR)/resources/*`" != '$(LIBTABLEDIR)/resources/*' ]; then \
- echo "linking resource files from $(LIBTABLEDIR) ..."; \
+ echo "linking resource files from $(LIBTABLEDIR) ..."; \
(cd resources; $(LNS) ../$(LIBTABLEDIR)/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(TOP)/fileIn/resources/*`" != '$(TOP)/fileIn/resources/*' ]; then \
- echo "linking resource files from $(TOP)/fileIn ..."; \
+ echo "linking resource files from $(TOP)/fileIn ..."; \
(cd resources; $(LNS) ../$(TOP)/fileIn/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi
@-if [ "`echo $(CLIENTDIR)/*/resources/*`" != '$(CLIENTDIR)/*/resources/*' ]; then \
- echo "linking resource files from $(CLIENTDIR) ..."; \
+ echo "linking resource files from $(CLIENTDIR) ..."; \
(cd resources; $(LNS) ../$(CLIENTDIR)/*/resources/* .); \
rm -f resources/RCS resources/CVS; \
fi