programs/tttypes: add automake file
authorChase <nicetrynsa@protonmail.ch>
Wed, 23 Oct 2019 20:40:22 +0000 (15:40 -0500)
committerJon Trulson <jon@radscan.com>
Wed, 23 Oct 2019 21:34:20 +0000 (15:34 -0600)
cde/programs/tttypes/Makefile.am [new file with mode: 0644]

diff --git a/cde/programs/tttypes/Makefile.am b/cde/programs/tttypes/Makefile.am
new file mode 100644 (file)
index 0000000..8d9c400
--- /dev/null
@@ -0,0 +1,26 @@
+MAINTAINERCLEANFILES = Makefile.in
+
+CLEANFILES = *.done types.xdr .tt_lock
+
+.SUFFIXES: .ptype .done
+
+LOCALDEPFILES = \
+        dtfile.done \
+        dticon.done \
+        dtpad.done \
+        dtcm.done \
+        dtmail.done \
+        dtdbcache.done \
+        dtterm.done \
+        dtinfo.done \
+        dtinfo.done
+
+all:: types.xdr
+
+types.xdr: $(LOCALDEPFILES)
+
+TT_TYPE_COMP = $(srcdir)/lib/tt/bin/tt_type_comp/tt_type_comp
+
+.ptype.done:
+       $(RM) $@
+       TTPATH=. $(TT_TYPE_COMP) -sd user -m $< && touch $@ ; $(RM) .tt_lock