-bin_PROGRAMS = dtcalc
+MAINTAINERCLEANFILES = Makefile.in
-dtcalc_CPPFLAGS = -DCDE_INSTALLATION_TOP=${prefix}
+bin_PROGRAMS = dtcalc
-dtcalc_LDADD = ${X_LIBS} -lm $(TTLIB) $(LIBSVC) $(LIBHELP)
+dtcalc_CPPFLAGS = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
-if AIX
-dtcalc_LDADD += -lmsaa -liconv
-endif
+dtcalc_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
if SOLARIS
dtcalc_LDADD += -lintl -ldl
endif
-dtcalc_SOURCES = calctool.c ds_common.c ds_popup.c \
- ds_widget.c ds_xlib.c functions.c \
- help.c motif.c mp.c \
- text.c
+dtcalc_SOURCES = calctool.c ds_common.c ds_popup.c ds_widget.c \
+ ds_xlib.c functions.c help.c motif.c mp.c text.c \
+ calctool.h ds_popup.h ds_xlib.h patchlevel.h \
+ ds_common.h ds_widget.h motif.h