aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-05 10:30:24 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-05 10:30:24 +0300
commit05826b51ec41ae091756087bc734931c071e9221 (patch)
tree0be59e97d7c4ec065f75199736e5e80b832d9b3c /Makefile.am
parent68c1ec34aaf54aa04429c14e45d7664c4de335ee (diff)
downloadvideoteco-fork-05826b51ec41ae091756087bc734931c071e9221.tar.gz
reconstructed Autotools build system (closes #1)
The resulting config.h.in is similar to the one from the CVS repo. However, I removed checks that apparently weren't referenced in the code base. Also, I fixed the terminfo check. Previously, it was actually building against termcap on my system. Terminfo should always be preferred. Currently, it does not check against ncurses itself. If it turns out there are systems with an ncurses pkg-config file, but without tinfo, we might have to check for ncurses as well. It adds both -Wall and -Wsign-compare, which turned out to be useful to debug the DOS version.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..5577e66
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,26 @@
+# NOTE: There are currently only a few language features like bitfields,
+# which require C99.
+AM_CFLAGS = -std=c99 -Wall -Wsign-compare
+
+# OpenWatcom build system (for MS-DOS port)
+EXTRA_DIST = Makefile.wcc
+
+EXTRA_DIST += README.md README.OLD
+
+bin_PROGRAMS = teco
+teco_SOURCES = tecbuf.c teccmd.c tecdebug.c tecdisp.c tecexec.c \
+ tecmem.c teco.c teco.h tecparse.c tecparse.h \
+ tecstate.c tecterm.c tecundo.c tecvms.h
+
+#
+# Doxygen processing (do not install or distribute)
+#
+devdoc : doc/html/
+
+.PHONY: doc/html/
+doc/html/ : doc/Doxyfile
+ -rm -rf doc/html/
+ @DOXYGEN@ doc/Doxyfile
+
+clean-local:
+ -rm -rf doc/html/