configure/Makefiles: add checks for Xmu, Xext, and Xdmcp

We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
This commit is contained in:
Jon Trulson
2021-12-21 11:50:20 -07:00
parent 8875a12366
commit e10d06f210
35 changed files with 45 additions and 130 deletions

View File

@@ -4,21 +4,6 @@ noinst_LIBRARIES = libMotifApp.a
libMotifApp_a_CXXFLAGS = -I../include/MotifApp -I../include -I../include/utils
# FIXME - some of these aren't set and sould be by configure.ac
#if SOLARIS
#if USE_SPRO_V3
#libMotifApp_a_CXXFLAGS += -noex -xO0 -USPRO_V2
#endif
#if DEBUGTREE
#libMotifApp_a_CXXFLAGS += -xsb
#endif
#
#libMotifApp_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
#endif
libMotifApp_a_SOURCES = Application.C AskFirstCmd.C \
BasicComponent.C BusyPixmap.C \
ButtonInterface.C Cmd.C \
@@ -36,8 +21,3 @@ libMotifApp_a_SOURCES = Application.C AskFirstCmd.C \
UndoCmd.C WarnNoUndoCmd.C \
WorkingDialogManager.C
if SOLARIS
clean-local:
$(RM) -r .sb
$(RM) .make.state*
endif

View File

@@ -7,7 +7,7 @@ dtmail_CXXFLAGS = -I../include -I../include/MotifApp -I../include/utils \
-I$(srcdir)/lib -I../../dthelp -DRELEASE_NOTES \
-DDTMAIL_TOOLTALK -DDTEDITOR
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a -lXm \
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a \
$(DTCLIENTLIBS) $(XTOOLLIB) $(TIRPCLIB)
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \

View File

@@ -6,7 +6,7 @@ libCommon_a_CXXFLAGS = -I../../include -I../../include/utils -I$(srcdir)/lib \
-DDL_NOT_DYNAMIC -DUSE_SOCKSTREAM
if SOLARIS
libCommon_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
libCommon_a_CXXFLAGS += -DMMAP_NORESERVE
endif
libCommon_a_SOURCES = APOPServer.C \

View File

@@ -6,7 +6,7 @@ libRFC_a_CXXFLAGS = -I../Common -I../../include -I../../include/utils \
-DTTLOCK_OFF
if SOLARIS
libRFC_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
libRFC_a_CXXFLAGS += -DMMAP_NORESERVE
endif
libRFC_a_SOURCES = AliasExpand.C MIMEBodyPart.C \