Files
mcde/programs/tttypes/Makefile.am
T

45 lines
1.2 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in
# We need to ensure that the jobs here are run in sequence to build up
# the types.xdr file.
.NOTPARALLEL:
SUFFIXES: .ptype .done
# FIXME - dtinfo ones use #include which seems to fail with syntax error...
LOCALDEPFILES = \
dtfile.done \
dticon.done \
dtpad.done \
dtcm.done \
dtmail.done \
dtdbcache.done \
dtterm.done \
dtinfo.done \
dtinfo_start.done
CLEANFILES = *.done types.xdr .tt_lock
tttypesdir = $(CDE_INSTALLATION_TOP)/appconfig/tttypes
if TTTYPES_BUILD
BUILT_SOURCES = types.xdr
dist_tttypes_DATA = $(BUILT_SOURCES)
types.xdr: $(LOCALDEPFILES)
else
# tt_type_comp is a program of the target: the ptype files are installed and
# compiled on the target (pkgsrc/files/dtlogin.sh, before dtlogin starts).
dist_tttypes_DATA = $(PTYPES) dtinfo_start.opnums
endif
PTYPES = dtcm.ptype dtdbcache.ptype dtfile.ptype dticon.ptype dtinfo.ptype \
dtinfo_start.ptype dtmail.ptype dtpad.ptype dtterm.ptype
TT_TYPE_COMP = $(top_builddir)/lib/tt/bin/tt_type_comp/tt_type_comp
.ptype.done:
$(RM) $@
TTPATH=. $(TT_TYPE_COMP) -sd user -m $< && touch $@ ; $(RM) .tt_lock