configure: add programs/ dthelp, dsdm, dtmail, dtpad, and dtfile

At this stage, these certainly won't actually build yet.

Just fix up the relevent Makefile.am files so that autogen does not
emit errors and warnings for them.

Removed AIX/HPUX support in Makefile.am files.  No point in
propogating that stuff when we've already removed much of that
unmaintained code from the codebase.

Commented out all of the Sun Pro stuff.  Someone whos using that will
need to go through and fix it.  This is mostly in dtmail and dthelp.

In fact, someone who does Solaris in general will need to go through
this stuff.

Next up, we'll replace any remaining 'if SUN' conditionals with 'if
SOLARIS' which is a more appropriate name and was already defined in
configure.ac.

Then we'll see about getting these new directories building.
This commit is contained in:
Jon Trulson
2019-10-28 18:39:21 -06:00
parent 4b8a65e884
commit 24171c3194
15 changed files with 130 additions and 163 deletions

View File

@@ -4,6 +4,8 @@ SUBDIRS = dtcopy
bin_PROGRAMS = dtfile
BUILT_SOURCES = dtfile.config dtfile_error
dist_config_DATA = dtfile.config
dist_bin_SCRIPTS = dtfile_error
@@ -25,8 +27,8 @@ if LINUX
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
endif
if SUN
dtfile_CFLAGS += -xF
if SOLARIS
dtfile_CFLAGS = -xF
dtfile_LDADD += -lintl -lresolv
endif
@@ -40,10 +42,10 @@ dtfile_SOURCES = ChangeDir.c ChangeDirP.c Command.c Common.c \
Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
ToolTalk.c Trash.c Utils.c fsDialog.c
CPPSRC = dtfile.config.cpp
CPPTARGET = dtfile.config
include $(srcdir)/include/cppfile.tmpl
dtfile.config: dtfile.config.cpp
$(RM) dtfile.config
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile.config.cpp -o dtfile.config
CPPSRC = dtfile_error
CPPTARGET = dtfile_error
include $(srcdir)/include/cppfile.tmpl
dtfile_error: dtfile_error.cpp
$(RM) dtfile_error
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile_error.cpp -o dtfile_error

View File

@@ -4,7 +4,7 @@ bin_PROGRAMS = dtfile_copy
dtfile_copy_CFLAGS = -DSHAPE
if SUN
if SOLARIS
dtfile_copy_CFLAGS += -xF
endif