summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/mtx-src/Makefile.orig
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-17 07:20:42 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-17 07:20:42 +0000
commit643f37f986567ca5af6baab87421f8ef22b23403 (patch)
treee6784bed247736f1867b6c3a7b3e670de30b7bc0 /Build/source/utils/m-tx/mtx-src/Makefile.orig
parent76de76558a202700f48fa5aadef763a2be07a730 (diff)
Import m-tx 0.61
git-svn-id: svn://tug.org/texlive/trunk@39128 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/m-tx/mtx-src/Makefile.orig')
-rw-r--r--Build/source/utils/m-tx/mtx-src/Makefile.orig47
1 files changed, 47 insertions, 0 deletions
diff --git a/Build/source/utils/m-tx/mtx-src/Makefile.orig b/Build/source/utils/m-tx/mtx-src/Makefile.orig
new file mode 100644
index 00000000000..d3d96e4877b
--- /dev/null
+++ b/Build/source/utils/m-tx/mtx-src/Makefile.orig
@@ -0,0 +1,47 @@
+pasfiles = globals.pas mtx.pas preamble.pas lyrics.pas analyze.pas mtxline.pas\
+ status.pas uptext.pas prepmx.pas files.pas notes.pas multfile.pas \
+ strings.pas utility.pas control.pas
+sfiles = mtx.tex mtxdoc.tex mtxdoc.pdf Makefile Corrections Bugs MAINTENANCE
+
+cfiles = globals.c mtx.c preamble.c lyrics.c analyze.c mtxline.c\
+ status.c uptext.c prepmx.c files.c notes.c multfile.c utility.c control.c
+native = cfuncs.c cfuncs.h
+hfiles = globals.h mtx.h preamble.h lyrics.h analyze.h mtxline.h \
+ status.h uptext.h files.h notes.h multfile.h utility.h control.h
+ofiles = globals.o mtx.o preamble.o lyrics.o analyze.o mtxline.o \
+ status.o uptext.o cfuncs.o files.o notes.o prepmx.o multfile.o utility.o \
+ control.o
+
+
+SYSTEM=LINUX
+
+prepmx: $(pasfiles)
+ fpc -g -B -vn -So prepmx -T$(SYSTEM)
+
+prepmxc: $(cfiles) $(ofiles)
+ gcc $(ofiles) -o prepmx
+
+multfile.c: multfile.pas
+ p2c -a -LTurbo multfile.pas -o temp.c
+ sed -e "s/Malloc/malloc/" < temp.c > multfile.c
+ rm temp.c
+
+
+%.c: %.pas
+ p2c -a -LTurbo $*.pas
+
+
+commit: $(pasfiles) $(sfiles)
+ git add $(pasfiles) $(sfiles)
+ echo Now type: git commit -m \"DESCRIPTION OF_CHANGES\"
+
+clean:
+ - rm *.o *~ *~ core *.pmx *.pml *.log *.dvi
+
+bare: clean
+ - rm prepmx *.ppu
+
+Pzip:
+ zip -ju mtxP`./version` version $(pasfiles) $(sfiles) README.*
+
+