mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
programs/dtcm: add automake files
This commit is contained in:
parent
031411fc36
commit
ca20cfe55b
4 changed files with 132 additions and 0 deletions
3
cde/programs/dtcm/Makefile.am
Normal file
3
cde/programs/dtcm/Makefile.am
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
SUBDIRS = libDtCmpP dtcm server
|
54
cde/programs/dtcm/dtcm/Makefile.am
Normal file
54
cde/programs/dtcm/dtcm/Makefile.am
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
bin_PROGRAMS = dtcm dtcm_delete dtcm_insert dtcm_lookup dtcm_editor
|
||||||
|
|
||||||
|
AM_CFLAGS = -I../../../lib/csa -I../libDtCmP -I../../dthelp $(TIRPCINC)
|
||||||
|
|
||||||
|
AM_LDADD = ../libDtCmP/libDtCmP.a $(LIBCSA) $(LIBPRINT) $(LIBHELP) \
|
||||||
|
$(LIBWIDGET) $(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS}
|
||||||
|
|
||||||
|
if SUN
|
||||||
|
AM_CFLAGS += -xstrconst -Xc -v
|
||||||
|
endif
|
||||||
|
|
||||||
|
if HPUX
|
||||||
|
AM_LDADD += -lrpcsvc -lV3
|
||||||
|
endif
|
||||||
|
|
||||||
|
if AIX
|
||||||
|
AM_LDADD += -lrpcsvc -lPW -ldiag
|
||||||
|
endif
|
||||||
|
|
||||||
|
if FREEBSD
|
||||||
|
AM_LDADD += -lcompat
|
||||||
|
endif
|
||||||
|
|
||||||
|
if NETBSD
|
||||||
|
AM_LDADD += -lcompat
|
||||||
|
endif
|
||||||
|
|
||||||
|
dtcm_SOURCES = MonthPanel.c RFCMIME.c about.c \
|
||||||
|
alarm.c blist.c browser.c \
|
||||||
|
calendarA.c cm_i18n.c cmtt.c \
|
||||||
|
datefield.c dayglance.c deskset.c \
|
||||||
|
dnd.c dssw.c editor.c \
|
||||||
|
find.c fns.c font.c \
|
||||||
|
format.c goto.c graphics.c \
|
||||||
|
group_editor.c help.c i18nxlate.c \
|
||||||
|
icon.c md5.c misc.c \
|
||||||
|
monthglance.c namesvc.c print.c \
|
||||||
|
props.c props_pu.c reminders.c \
|
||||||
|
rfp.c select.c session.c \
|
||||||
|
submit.c tempbr.c timezone.c \
|
||||||
|
todo.c weekglance.c x_graphics.c \
|
||||||
|
yearglance.c
|
||||||
|
|
||||||
|
dtcm_delete_SOURCES = cm_delete.c
|
||||||
|
|
||||||
|
dtcm_insert_SOURCES = cm_insert.c
|
||||||
|
|
||||||
|
dtcm_lookup_SOURCES = cm_lookup.c
|
||||||
|
|
||||||
|
dtcm_editor_SOURCES = datefield.c deskset.c dssw.c \
|
||||||
|
dtcm_editor.c help.c misc.c \
|
||||||
|
reminders.c rfp.c
|
22
cde/programs/dtcm/libDtCmP/Makefile.am
Normal file
22
cde/programs/dtcm/libDtCmP/Makefile.am
Normal 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
|
53
cde/programs/dtcm/server/Makefile.am
Normal file
53
cde/programs/dtcm/server/Makefile.am
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
CLEANFILES = parser.c
|
||||||
|
|
||||||
|
bin_PROGRAMS = rpc.cmsd
|
||||||
|
|
||||||
|
rpc.cmsd_CFLAGS = -I$(CSASRC) -I$(HELPSRC) $(TIRPCINC)
|
||||||
|
|
||||||
|
rpc.cmsd_LDADD = $(LIBCSA) $(LIBSVC) $(LIBTT) $(LIBWIDGET) $(XTOOLLIB) ${X_LIBS}
|
||||||
|
|
||||||
|
if SUN
|
||||||
|
rpc.cmsd_CFLAGS += -xstrconst -Xc -v
|
||||||
|
rpc.cmsd_LDADD += -lsocket -lnsl -lintl -lm -ldl
|
||||||
|
endif
|
||||||
|
|
||||||
|
if AIX
|
||||||
|
rpc.cmsd_LDADD += -lrpcsvc -lPW -ldiag -lc
|
||||||
|
endif
|
||||||
|
|
||||||
|
if HPUX
|
||||||
|
rpc.cmsd_CFLAGS += -DHPUX -DS9000
|
||||||
|
rpc.cmsd_LDADD += -lrpcsvc -lV3 -lc -lPW
|
||||||
|
endif
|
||||||
|
|
||||||
|
rpc_cmsd_SOURCES = parser.c access.c callback.c \
|
||||||
|
cmscalendar.c cmsconvert.c cmsentry.c \
|
||||||
|
cmsmatch.c delete.c garbage.c \
|
||||||
|
insert.c lexit.c list.c \
|
||||||
|
log.c lookup.c reclotick.c \
|
||||||
|
recount.c relasttick.c reminder.c \
|
||||||
|
renexttick.c repeat.c reprevtick.c \
|
||||||
|
rerule.c reutil.c tree.c \
|
||||||
|
utility.c v4ops.c v5ops.c \
|
||||||
|
cmsfunc.c programtable.c rtable2.c \
|
||||||
|
rtable3.c rtable4.c svcmain.c \
|
||||||
|
update.c
|
||||||
|
|
||||||
|
all:: rpc.cmsd
|
||||||
|
|
||||||
|
.SUFFIXES: .y
|
||||||
|
|
||||||
|
.y.c:
|
||||||
|
$(YACC) -d $(YFLAGS) $<
|
||||||
|
$(SED) -e "s/yy/yyy/g" -e "/# line/d" y.tab.c > $*.c
|
||||||
|
$(SED) s/yy/yyy/g y.tab.h > $*.h
|
||||||
|
$(RM) y.tab.c y.tab.h
|
||||||
|
|
||||||
|
parser.o: parser.c
|
||||||
|
|
||||||
|
includes:: parser.c
|
||||||
|
|
||||||
|
clean::
|
||||||
|
echo -n > parser.h
|
Loading…
Add table
Add a link
Reference in a new issue