dtcm: make it build
[oweals/cde.git] / cde / programs / dtcm / libDtCmP / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2
3 noinst_LIBRARIES = libDtCmP.a
4
5 libDtCmP_a_CFLAGS = $(CSA_INCDIR) -I../../../lib/csa -DRFC_MIME \
6         -DLINE_COUNT -DV2 -DOW_I18N $(TIRPCINC)
7
8 if SOLARIS
9 libDtCmP_a_CFLAGS += -xstrconst -Xc -v
10 endif
11
12 libDtCmP_a_SOURCES = cm_tty.c cmfns.c dtfns.c props.c resource.c        \
13                      timeops.c util.c getdate.y
14
15 # This is strange - ususally you generate a .h and a .c.  But CDE
16 # comes with getdate.h, and you cannot generate it via yacc/lex.  So -
17 # someday this should be redone properly...  see
18 # https://opensource.apple.com/source/shell_cmds/shell_cmds-198/find/getdate.y.auto.html
19 # for what seems like a more recent version...
20 BUILT_SOURCES = getdate.c
21 CLEANFILES = $(BUILT_SOURCES)