programs/dtcm: add automake files

This commit is contained in:
Chase
2019-10-22 21:55:04 -05:00
committed by Jon Trulson
parent 031411fc36
commit ca20cfe55b
4 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
MAINTAINERCLEANFILES = Makefile.in
CLEANFILES = y.tab.c getdate.c
noinst_LIBRARIES = libDtCmP.a
libDtCmP_a_CFLAGS = -I../../../lib/csa -DRFC_MIME -DLINE_COUNT -DV2 -DOW_I18N \
$(TIRPCINC)
if SUN
libDtCmP_a_CFLAGS += -xstrconst -Xc -v
endif
libDtCmP_a_SOURCES = cm_tty.c cmfns.c dtfns.c \
getdate.c props.c resource.c \
timeops.c util.c
all:: getdate.c
getdate.c: getdate.y
$(YACC) getdate.y
$(MV) y.tab.c getdate.c