New installation mechanism

This commit is contained in:
ceriel 1991-08-26 12:50:21 +00:00
parent 8fcbfada69
commit 78104e7d8a
2 changed files with 28 additions and 1 deletions

View file

@ -6,7 +6,6 @@ Conversion.def
EM.def EM.def
PascalIO.def PascalIO.def
InOut.def InOut.def
Makefile
Mathlib.def Mathlib.def
MathLib0.def MathLib0.def
Processes.def Processes.def
@ -27,3 +26,4 @@ ArraySort.def
StripUnix.def StripUnix.def
Termcap.def Termcap.def
XXTermcap.def XXTermcap.def
proto.make

27
lang/m2/libm2/proto.make Normal file
View file

@ -0,0 +1,27 @@
# $Header$
#PARAMS do not remove this line!
DEFDIR = $(TARGET_HOME)/lib/m2
SRCDIR = $(SRC_HOME)/lang/m2/libm2
SOURCES = ASCII.def EM.def MathLib0.def Processes.def \
RealInOut.def Storage.def Arguments.def Conversion.def \
random.def Semaphores.def Unix.def RealConver.def \
Strings.def InOut.def Terminal.def \
Mathlib.def PascalIO.def Traps.def CSP.def \
Epilogue.def Streams.def ArraySort.def StripUnix.def \
Termcap.def XXTermcap.def
all:
clean:
cmp:
pr:
@pr Makefile $(SOURCES)
opr:
make pr | opr
install:
-mkdir $(DEFDIR)
for i in $(SOURCES) ; do cp $$i $(DEFDIR)/$$i ; done