mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
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:
parent
4b8a65e884
commit
24171c3194
15 changed files with 130 additions and 163 deletions
|
@ -1,7 +1,7 @@
|
||||||
AC_INIT([cde-desktop], [2.3.1], [jon@radscan.com])
|
AC_INIT([cde-desktop], [2.3.1], [jon@radscan.com])
|
||||||
AC_CONFIG_HEADERS([include/autotools_config.h])
|
AC_CONFIG_HEADERS([include/autotools_config.h])
|
||||||
AC_CONFIG_MACRO_DIRS([m4])
|
AC_CONFIG_MACRO_DIRS([m4])
|
||||||
AM_INIT_AUTOMAKE([foreign])
|
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||||
AC_PREFIX_DEFAULT(/usr/dt)
|
AC_PREFIX_DEFAULT(/usr/dt)
|
||||||
|
|
||||||
|
|
||||||
|
@ -314,6 +314,34 @@ lib/DtMrm/Makefile
|
||||||
|
|
||||||
lib/csa/Makefile
|
lib/csa/Makefile
|
||||||
|
|
||||||
|
programs/Makefile
|
||||||
|
programs/dthelp/Makefile
|
||||||
|
programs/dthelp/dthelpgen/Makefile
|
||||||
|
programs/dthelp/dthelpprint/Makefile
|
||||||
|
programs/dthelp/parser/pass1/helptag/Makefile
|
||||||
|
programs/dthelp/parser/pass1/Makefile
|
||||||
|
programs/dthelp/parser/pass1/eltdef/Makefile
|
||||||
|
programs/dthelp/parser/pass1/build/Makefile
|
||||||
|
programs/dthelp/parser/Makefile
|
||||||
|
programs/dthelp/parser/canon1/Makefile
|
||||||
|
programs/dthelp/parser/pass2/Makefile
|
||||||
|
programs/dthelp/dthelpview/Makefile
|
||||||
|
|
||||||
|
programs/dsdm/Makefile
|
||||||
|
|
||||||
|
programs/dtmail/Makefile
|
||||||
|
programs/dtmail/dtmail/Makefile
|
||||||
|
programs/dtmail/MotifApp/Makefile
|
||||||
|
programs/dtmail/dtmailpr/Makefile
|
||||||
|
programs/dtmail/libDtMail/Makefile
|
||||||
|
programs/dtmail/libDtMail/RFC/Makefile
|
||||||
|
programs/dtmail/libDtMail/Common/Makefile
|
||||||
|
|
||||||
|
programs/dtpad/Makefile
|
||||||
|
|
||||||
|
programs/dtfile/Makefile
|
||||||
|
programs/dtfile/dtcopy/Makefile
|
||||||
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
bin_PROGAMS = dsdm
|
bin_PROGRAMS = dsdm
|
||||||
|
|
||||||
dsdm_LDADD = ${X_LIBS}
|
dsdm_LDADD = ${X_LIBS}
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
dsdm_LDADD += -ldl
|
dsdm_LDADD += -ldl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ SUBDIRS = dtcopy
|
||||||
|
|
||||||
bin_PROGRAMS = dtfile
|
bin_PROGRAMS = dtfile
|
||||||
|
|
||||||
|
BUILT_SOURCES = dtfile.config dtfile_error
|
||||||
|
|
||||||
dist_config_DATA = dtfile.config
|
dist_config_DATA = dtfile.config
|
||||||
|
|
||||||
dist_bin_SCRIPTS = dtfile_error
|
dist_bin_SCRIPTS = dtfile_error
|
||||||
|
@ -25,8 +27,8 @@ if LINUX
|
||||||
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
dtfile_CFLAGS += -xF
|
dtfile_CFLAGS = -xF
|
||||||
dtfile_LDADD += -lintl -lresolv
|
dtfile_LDADD += -lintl -lresolv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -40,10 +42,10 @@ dtfile_SOURCES = ChangeDir.c ChangeDirP.c Command.c Common.c \
|
||||||
Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
|
Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
|
||||||
ToolTalk.c Trash.c Utils.c fsDialog.c
|
ToolTalk.c Trash.c Utils.c fsDialog.c
|
||||||
|
|
||||||
CPPSRC = dtfile.config.cpp
|
dtfile.config: dtfile.config.cpp
|
||||||
CPPTARGET = dtfile.config
|
$(RM) dtfile.config
|
||||||
include $(srcdir)/include/cppfile.tmpl
|
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile.config.cpp -o dtfile.config
|
||||||
|
|
||||||
CPPSRC = dtfile_error
|
dtfile_error: dtfile_error.cpp
|
||||||
CPPTARGET = dtfile_error
|
$(RM) dtfile_error
|
||||||
include $(srcdir)/include/cppfile.tmpl
|
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile_error.cpp -o dtfile_error
|
||||||
|
|
|
@ -4,7 +4,7 @@ bin_PROGRAMS = dtfile_copy
|
||||||
|
|
||||||
dtfile_copy_CFLAGS = -DSHAPE
|
dtfile_copy_CFLAGS = -DSHAPE
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
dtfile_copy_CFLAGS += -xF
|
dtfile_copy_CFLAGS += -xF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
bin_PROGRAM = dthelpgen dthelpgen.dtsh
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
bin_PROGRAMS = dthelpgen
|
||||||
|
|
||||||
|
bin_SCRIPTS = dthelpgen.dtsh
|
||||||
|
|
||||||
dthelpgen_CPPFLAGS = -I.. -DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
dthelpgen_CPPFLAGS = -I.. -DCDE_INSTALLATION_TOP=\"${prefix}\" \
|
||||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
||||||
|
|
|
@ -5,7 +5,7 @@ dthelpprint_CPPFLAGS = -I.. -DCDE_CONFIGURATION_TOP='"${prefix}"' \
|
||||||
|
|
||||||
dthelpprint_LDADD = $(LIBSVC) $(LIBTT) $(LIBHELP) $(XTOOLLIB) ${X_LIBS}
|
dthelpprint_LDADD = $(LIBSVC) $(LIBTT) $(LIBHELP) $(XTOOLLIB) ${X_LIBS}
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
dthelpprint_LDADD += -lw -ldl -lgen -lm
|
dthelpprint_LDADD += -lw -ldl -lgen -lm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -20,10 +20,10 @@ build_CFLAGS = -I$(HELPUTILSRC)
|
||||||
build_LDADD = -l$(HELPUTILLIB)
|
build_LDADD = -l$(HELPUTILLIB)
|
||||||
|
|
||||||
if HPUX
|
if HPUX
|
||||||
build_LDADD += -Wl,-a archive
|
build_LDFLAGS = -Wl,-a archive
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
.NO_PARALLEL:
|
.NO_PARALLEL:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -20,10 +20,10 @@ HELPTSSFILE = $(HELPTAGSRC)/htag.tss
|
||||||
eltdef_LDADD = -l$(HELPUTILLIB)
|
eltdef_LDADD = -l$(HELPUTILLIB)
|
||||||
|
|
||||||
if HPUX
|
if HPUX
|
||||||
eltdef += -Wl,-a archive
|
eltdef_LDFLAGS = -Wl,-a archive
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
.NO_PARALLEL:
|
.NO_PARALLEL:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,6 @@ ARCCMD = arc u
|
||||||
UNARCCMD = arc x
|
UNARCCMD = arc x
|
||||||
ARCDELCMD = arc d
|
ARCDELCMD = arc d
|
||||||
|
|
||||||
.SUFFIXES : .e .arc .c .h
|
|
||||||
|
|
||||||
HELPTAG = ..
|
HELPTAG = ..
|
||||||
HELPTAGSRC = $(HELPTAG)/helptag
|
HELPTAGSRC = $(HELPTAG)/helptag
|
||||||
HELPPARSERSRC = $(HELPTAG)/parser
|
HELPPARSERSRC = $(HELPTAG)/parser
|
||||||
|
@ -21,12 +19,12 @@ HELPTSSFILE = $(HELPTAGSRC)/htag.tss
|
||||||
|
|
||||||
XLATESRC = $(DTHELPSRC)
|
XLATESRC = $(DTHELPSRC)
|
||||||
XLATEHDRS = $(XLATESRC)/XlationSvc.h $(XLATESRC)/LocaleXlate.h
|
XLATEHDRS = $(XLATESRC)/XlationSvc.h $(XLATESRC)/LocaleXlate.h
|
||||||
XLATESRCS = ${srcdir}/lib/DtSvc/DtUtil2/XlationSvc.c \
|
XLATESRCS = ${top_srcdir}/lib/DtSvc/DtUtil2/XlationSvc.c \
|
||||||
${srcdir}/lib/DtSvc/DtUtil2/LocaleXlate.c
|
${top_srcdir}/lib/DtSvc/DtUtil2/LocaleXlate.c
|
||||||
|
|
||||||
ELTHDRS = $(HELPUTILSRC)/entdef.h $(HELPUTILSRC)/entext.h
|
ELTHDRS = $(HELPUTILSRC)/entdef.h $(HELPUTILSRC)/entext.h
|
||||||
|
|
||||||
XCOMM PARSEHDRS are header files used by many parser routines
|
# PARSEHDRS are header files used by many parser routines
|
||||||
PARSEHDRS = $(HELPUTILSRC)/basic.h $(HELPUTILSRC)/trie.h \
|
PARSEHDRS = $(HELPUTILSRC)/basic.h $(HELPUTILSRC)/trie.h \
|
||||||
$(HELPUTILSRC)/common.h $(HELPUTILSRC)/dtddef.h \
|
$(HELPUTILSRC)/common.h $(HELPUTILSRC)/dtddef.h \
|
||||||
$(HELPUTILSRC)/dtdext.h $(HELPUTILSRC)/sparse.h \
|
$(HELPUTILSRC)/dtdext.h $(HELPUTILSRC)/sparse.h \
|
||||||
|
@ -45,17 +43,17 @@ dthelp_htag1_CFLAGS = -I$(HELPUTILSRC) -I$(HELPPARSERSRC) -I$(HELPELTDEFSRC) \
|
||||||
dthelp_htag1_LDADD = $(HELPUTILLIB)
|
dthelp_htag1_LDADD = $(HELPUTILLIB)
|
||||||
|
|
||||||
if HPUX
|
if HPUX
|
||||||
dthelp_htag1_LDADD += -Wl,-a archive
|
dthelp_htag1_LDFLAGS = -Wl,-a archive
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
dthelp_htag1_LDADD += -lm -ldl -lgen
|
dthelp_htag1_LDADD += -lm -ldl -lgen
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dthelp_htag1_LDADD += custom.c default.c help.c make.c option.c out.c \
|
dthelp_htag1_SOURCES = custom.c default.c help.c make.c option.c out.c \
|
||||||
special.c xref.c $(XLATESRCS)
|
special.c xref.c $(XLATESRCS)
|
||||||
|
|
||||||
dthelp_htag1: $(HELPPARSERSRC)/parser
|
dthelp_htag1$(EXEEXT): $(HELPPARSERSRC)/parser
|
||||||
$(RM) dthelp_htag1
|
$(RM) dthelp_htag1
|
||||||
$(CP) $(HELPPARSERSRC)/parser dthelp_htag1
|
$(CP) $(HELPPARSERSRC)/parser dthelp_htag1
|
||||||
|
|
||||||
|
@ -67,8 +65,3 @@ arcappl archptag :
|
||||||
unarcappl unarchptag :
|
unarcappl unarchptag :
|
||||||
$(UNARCCMD) hptag.arc
|
$(UNARCCMD) hptag.arc
|
||||||
|
|
||||||
tags ::
|
|
||||||
etags -t *.c *.h *.if
|
|
||||||
|
|
||||||
etags ::
|
|
||||||
etags -t *.c *.h *.if
|
|
||||||
|
|
|
@ -4,35 +4,21 @@ noinst_LIBRARIES = libMotifApp.a
|
||||||
|
|
||||||
libMotifApp_a_CXXFLAGS = -I../include/MotifApp -I../include -I../include/utils \
|
libMotifApp_a_CXXFLAGS = -I../include/MotifApp -I../include -I../include/utils \
|
||||||
$(TIRPCINC)
|
$(TIRPCINC)
|
||||||
if SUN
|
|
||||||
|
|
||||||
if USE_SPRO_V3
|
# FIXME - some of these aren't set and sould be by configure.ac
|
||||||
libMotifApp_a_CXXFLAGS += -noex -xO0 -USPRO_V2
|
#if SOLARIS
|
||||||
if DEBUGTREE
|
|
||||||
libMotifApp_a_CXXFLAGS += -xsb
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
libMotifApp_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
#if USE_SPRO_V3
|
||||||
|
#libMotifApp_a_CXXFLAGS += -noex -xO0 -USPRO_V2
|
||||||
|
#endif
|
||||||
|
|
||||||
if I386
|
#if DEBUGTREE
|
||||||
libMotifApp_a_CXXFLAGS += -DBIG_ENDIAN
|
#libMotifApp_a_CXXFLAGS += -xsb
|
||||||
endif
|
#endif
|
||||||
|
#
|
||||||
|
#libMotifApp_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||||
|
|
||||||
endif
|
#endif
|
||||||
|
|
||||||
if HPUX
|
|
||||||
libMotifApp_a_CXXFLAGS += -DUSE_SOCKSTREAM -DBIG_ENDIAN -DDO_ANONYMOUS_MAP \
|
|
||||||
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS +p \
|
|
||||||
-DMAILGROUP_REQUIRED -DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
|
||||||
endif
|
|
||||||
|
|
||||||
if AIX
|
|
||||||
libMotifApp_a_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H -DBIG_ENDIAN \
|
|
||||||
-DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
|
||||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
|
||||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
|
||||||
endif
|
|
||||||
|
|
||||||
libMotifApp_a_SOURCES = Application.C AskFirstCmd.C \
|
libMotifApp_a_SOURCES = Application.C AskFirstCmd.C \
|
||||||
BasicComponent.C BusyPixmap.C \
|
BasicComponent.C BusyPixmap.C \
|
||||||
|
@ -51,8 +37,8 @@ libMotifApp_a_SOURCES = Application.C AskFirstCmd.C \
|
||||||
UndoCmd.C WarnNoUndoCmd.C \
|
UndoCmd.C WarnNoUndoCmd.C \
|
||||||
WorkingDialogManager.C
|
WorkingDialogManager.C
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
clean::
|
clean-local:
|
||||||
$(RM) -r .sb
|
$(RM) -r .sb
|
||||||
$(RM) .make.state*
|
$(RM) .make.state*
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -9,31 +9,31 @@ dtmail_CXXFLAGS = -I../include -I../include/MotifApp -I../include/utils \
|
||||||
|
|
||||||
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a
|
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a
|
||||||
|
|
||||||
if SUN
|
# FIXME solaris....
|
||||||
dtmail_LDADD += -lw
|
#if SOLARIS
|
||||||
if SUNPRODIR
|
#dtmail_LDFLAGS = -lw
|
||||||
SUNPRO_DIR = SUNPRODIR
|
#if SUNPRODIR
|
||||||
else
|
#SUNPRO_DIR = SUNPRODIR
|
||||||
SUNPRO_DIR = /opt/SUNWspro
|
#else
|
||||||
endif
|
#SUNPRO_DIR = /opt/SUNWspro
|
||||||
C++LIBPATH = -L$(SUNPRO_DIR)/lib
|
#endif
|
||||||
|
#C++LIBPATH = -L$(SUNPRO_DIR)/lib
|
||||||
if USE_SPRO_V3
|
#
|
||||||
SPRO_V3_OPTIONS = -noex -USPRO_V2
|
#if USE_SPRO_V3
|
||||||
if DEBUGTREE
|
#SPRO_V3_OPTIONS = -noex -USPRO_V2
|
||||||
SPRO_V3_OPTIONS += -xsb
|
#if DEBUGTREE
|
||||||
endif
|
#3SPRO_V3_OPTIONS += -xsb
|
||||||
else
|
#endif
|
||||||
EXTRA_CCOPTIONS += -DSPRO_V2
|
#else
|
||||||
endif
|
#EXTRA_CCOPTIONS += -DSPRO_V2
|
||||||
|
#endif
|
||||||
EXTRA_C++OPTIONS = -xF +w $(SPRO_V3_OPTIONS)
|
#
|
||||||
EXTRA_CCOPTIONS = -xF -xstrconst -Xa -v
|
#EXTRA_C++OPTIONS = -xF +w $(SPRO_V3_OPTIONS)
|
||||||
if USE_EDITRES
|
#EXTRA_CCOPTIONS = -xF -xstrconst -Xa -v
|
||||||
EXTRA_LIBRARIES = $(XMULIB) ExtraLibraries
|
#if USE_EDITRES
|
||||||
endif
|
#EXTRA_LIBRARIES = $(XMULIB) ExtraLibraries
|
||||||
endif
|
#endif
|
||||||
|
#endif SOLARIS
|
||||||
|
|
||||||
|
|
||||||
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
|
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
|
||||||
|
|
|
@ -6,46 +6,34 @@ dtmailpr_CXXFLAGS = -I../include -I../../dtcompat -I../../../. \
|
||||||
-I$(srcdir)/lib $(TIRPCINC)
|
-I$(srcdir)/lib $(TIRPCINC)
|
||||||
|
|
||||||
dtmailpr_LDADD = ../libDtMail/libDtMail.a $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) \
|
dtmailpr_LDADD = ../libDtMail/libDtMail.a $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) \
|
||||||
$(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS} -lm
|
$(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS}
|
||||||
|
|
||||||
if FREEBSD
|
if FREEBSD
|
||||||
dtmailpr_LDADD += -liconv
|
dtmailpr_LDADD += -liconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if AIX
|
# FIXME - solaris
|
||||||
dtmailpr_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H \
|
#if SOLARIS
|
||||||
-DBIG_ENDIAN -DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
# if SUNPRODIR
|
||||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
# SUNPRO_DIR = /opt/SUNWspro
|
||||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
# else
|
||||||
|
# SUNPRO_DIR = SUNPRODIR
|
||||||
dtmailpr_LDADD += -ldl -liconv -lgen
|
#endif
|
||||||
endif
|
#if I386
|
||||||
|
# JET -- i386 is NOT big endian...
|
||||||
if HPUX
|
#dtmailpr_CXXFLAGS += -DBIG_ENDIAN
|
||||||
dtmailpr_CXXFLAGS += -DBIG_ENDIAN -DDO_ANONYMOUS_MAP -DNEED_MMAP_WRAPPER \
|
#endif
|
||||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
#if USE_SPRO_V3
|
||||||
-DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
#dtmailpr_CXXFLAGS += -noex -USPRO_V2
|
||||||
endif
|
#if DEBUGTREE
|
||||||
|
#dtmailpr_CXXFLAGS += -xsb
|
||||||
if SUN
|
#endif
|
||||||
if SUNPRODIR
|
#endif
|
||||||
SUNPRO_DIR = /opt/SUNWspro
|
#
|
||||||
else
|
#dtmailpr_CXXFLAGS += -L$(SUNPRO_DIR)/lib -xstrconst -Xc -v -DMMAP_NORESERVE \
|
||||||
SUNPRO_DIR = SUNPRODIR
|
# -DSPRO_V2 +p +w
|
||||||
endif
|
#dtmailpr_LDADD += -Bstatic -lC -Bdynamic -lc -Bstatic -ldl -lgen -lm -lw \
|
||||||
if I386
|
# -lintl -lnsl
|
||||||
dtmailpr_CXXFLAGS += -DBIG_ENDIAN
|
#endif
|
||||||
endif
|
|
||||||
if USE_SPRO_V3
|
|
||||||
dtmailpr_CXXFLAGS += -noex -USPRO_V2
|
|
||||||
if DEBUGTREE
|
|
||||||
dtmailpr_CXXFLAGS += -xsb
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
dtmailpr_CXXFLAGS += -L$(SUNPRO_DIR)/lib -xstrconst -Xc -v -DMMAP_NORESERVE \
|
|
||||||
-DSPRO_V2 +p +w
|
|
||||||
dtmailpr_LDADD += -Bstatic -lC -Bdynamic -lc -Bstatic -ldl -lgen -lm -lw \
|
|
||||||
-lintl -lnsl
|
|
||||||
endif
|
|
||||||
|
|
||||||
dtmailpr_SOURCES = main.C message.C mailbox.C utils.C
|
dtmailpr_SOURCES = main.C message.C mailbox.C utils.C
|
||||||
|
|
|
@ -5,30 +5,12 @@ noinst_LIBRARIES = libCommon.a
|
||||||
libCommon_a_CXXFLAGS = -I../../include -I../../include/utils -I$(srcdir)/lib \
|
libCommon_a_CXXFLAGS = -I../../include -I../../include/utils -I$(srcdir)/lib \
|
||||||
$(TIRPCINC) -DDL_NOT_DYNAMIC
|
$(TIRPCINC) -DDL_NOT_DYNAMIC
|
||||||
|
|
||||||
if COMMENT
|
if SOLARIS
|
||||||
These are here in case we want to build as a shared library
|
|
||||||
DYNLIB_SRCS = DlDynamicLib.C
|
|
||||||
DYNLIB_DEFINES = -DDL_DYNAMIC_LIBS
|
|
||||||
endif
|
|
||||||
|
|
||||||
if SUN
|
|
||||||
libCommon_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
libCommon_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||||
if I386
|
# FIXME - i386 is NOT big endian...
|
||||||
libCommon_a_CXXFLAGS += -DBIG_ENDIAN
|
#if I386
|
||||||
endif
|
#libCommon_a_CXXFLAGS += -DBIG_ENDIAN
|
||||||
endif
|
#endif
|
||||||
|
|
||||||
if HPUX
|
|
||||||
libCommon_a_CXXFLAGS += -DUSE_SOCKSTREAM -DBIG_ENDIAN -DDO_ANONYMOUS_MAP \
|
|
||||||
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS \
|
|
||||||
-DMAILGROUP_REQUIRED -DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
|
||||||
endif
|
|
||||||
|
|
||||||
if AIX
|
|
||||||
libCommon_a_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H -DBIG_ENDIAN \
|
|
||||||
-DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
|
||||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
|
||||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libCommon_a_SOURCES = APOPServer.C \
|
libCommon_a_SOURCES = APOPServer.C \
|
||||||
|
|
|
@ -5,27 +5,11 @@ noinst_LIBRARIES = libRFC.a
|
||||||
libRFC_a_CXXFLAGS = -I../Common -I../../include -I../../include/utils \
|
libRFC_a_CXXFLAGS = -I../Common -I../../include -I../../include/utils \
|
||||||
-I$(srcdir)/lib $(TIRPCINC) -DTTLOCK_OFF
|
-I$(srcdir)/lib $(TIRPCINC) -DTTLOCK_OFF
|
||||||
|
|
||||||
if HPUX
|
if SOLARIS
|
||||||
libRFC_a_CXXFLAGS += -DUSE_SOCKSTREAM -DBIG_ENDIAN -DDO_ANONYMOUS_MAP \
|
|
||||||
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS \
|
|
||||||
-DMAILGROUP_REQUIRED -DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
|
||||||
endif
|
|
||||||
|
|
||||||
if AIX
|
|
||||||
libRFC_a_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H -DBIG_ENDIAN \
|
|
||||||
-DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
|
||||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
|
||||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
|
||||||
endif
|
|
||||||
|
|
||||||
if SUN
|
|
||||||
libRFC_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
libRFC_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||||
if I386
|
|
||||||
libRFC_a_CXXFLAGS += -DBIG_ENDIAN
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libRFC_a_SOURCES += AliasExpand.C MIMEBodyPart.C \
|
libRFC_a_SOURCES = AliasExpand.C MIMEBodyPart.C \
|
||||||
MIMEPartial.C RFCBodyPart.C \
|
MIMEPartial.C RFCBodyPart.C \
|
||||||
RFCEnvelope.C RFCFormat.C \
|
RFCEnvelope.C RFCFormat.C \
|
||||||
RFCMIME.C RFCMailBox.C \
|
RFCMIME.C RFCMailBox.C \
|
||||||
|
|
|
@ -7,9 +7,9 @@ dtpad_CFLAGS = -DDT_LITE -DWORDWRAP -UNLS16 $(TIRPCINC)
|
||||||
dtpad_LDADD = $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) $(LIBSVC) $(LIBTT) -lXm \
|
dtpad_LDADD = $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) $(LIBSVC) $(LIBTT) -lXm \
|
||||||
$(XTOOLLIB) ${X_LIBS}
|
$(XTOOLLIB) ${X_LIBS}
|
||||||
|
|
||||||
if SUN
|
if SOLARIS
|
||||||
dtpad_CFLAGS += -xF
|
dtpad_CFLAGS += -xF
|
||||||
dtpad_LDADD += -lintl -lresolv
|
dtpad_LDFLAGS = -lintl -lresolv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dtpad_SOURCES = dtpad.c editCB.c fileCB.c \
|
dtpad_SOURCES = dtpad.c editCB.c fileCB.c \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue