1
0

Source code upload

This commit is contained in:
calmsacibis995
2022-09-29 17:59:04 +03:00
parent 72fa9da3d7
commit 8fc8fa8089
33399 changed files with 11964078 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
#
# $Revision: 1.4 $
#
# Commonrules for building multiple versions of commands with different flags.
#
# Rules of use described in `cmdcommondefs'.
#
#
# Common targets. The basic idea is that a make in the current (base)
# directory will descend into subdirectories if necessary; in the leaf
# (alternate version) directories it will not.
#
rmtargets!$(COMMONPREF)$$@
clobber!$(COMMONPREF)$$@
clean!$(COMMONPREF)$$@
$(ALTVERSIONS_MAKERULE)
install!$(VERSION)install
$(ALTVERSIONS_MAKERULE)
cmdbase!$(COMMANDS)
.ORDER: cmdbase $(ALTVERSIONS)
include $(COMMONRULES)
#
# Create the alternate version directory with tlink, descend into there
# and make.
#
$(ALTVERSIONS)!
$(TLINK) -r $(TLINKXARGS) . $(.TARGET)
rm -f $(.TARGET)/versiondefs
ln -sf ../$(.TARGET)versiondefs $(.TARGET)/versiondefs;
cd $(.TARGET); $(MAKE)
.MAKE:$(ALTVERSIONS)