Files
cdesktop/cde/programs/dtfile/Makefile.am
Jon Trulson 24171c3194 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.
2019-10-28 18:54:17 -06:00

52 lines
1.6 KiB
Makefile

configdir = ${prefix}/config/C
SUBDIRS = dtcopy
bin_PROGRAMS = dtfile
BUILT_SOURCES = dtfile.config dtfile_error
dist_config_DATA = dtfile.config
dist_bin_SCRIPTS = dtfile_error
dtfile_CPPFLAGS = -I./dtcopy -I(TIRPCINC) -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DUSE_XINERAMA -DCDE_INSTALLATION_TOP=\"${prefix}\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DKORNSHELL=\"$(KSH)\" -I${x_includes}/freetype2
dtfile_LDADD = $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) $(LIBSVC) $(LIBTT) -lXm \
$(XTOOLLIB) ${X_LIBS} -lXinerama dtcopy/sharedFuncs.o \
dtcopy/fsrtns.o
if OPENBSD
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
endif
if LINUX
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
endif
if SOLARIS
dtfile_CFLAGS = -xF
dtfile_LDADD += -lintl -lresolv
endif
dtfile_SOURCES = ChangeDir.c ChangeDirP.c Command.c Common.c \
Desktop.c Directory.c Encaps.c File.c \
FileDialog.c FileManip.c FileMgr.c FileOp.c \
Filter.c FilterP.c Find.c FindP.c \
Help.c HelpCB.c HelpP.c IconWindow.c \
IconicPath.c Main.c Menu.c MkDir.c \
ModAttr.c ModAttrP.c MultiView.c OverWrite.c \
Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
ToolTalk.c Trash.c Utils.c fsDialog.c
dtfile.config: dtfile.config.cpp
$(RM) dtfile.config
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile.config.cpp -o dtfile.config
dtfile_error: dtfile_error.cpp
$(RM) dtfile_error
$(CPP) -P -DXCOMM=# $(AM_CPPFLAGS) dtfile_error.cpp -o dtfile_error