- configure.ac: the C dialect (-std=gnu11 and five GCC 14 downgrades) is configure's own, also handed to dtksh's ksh93 build (MCDE_DIALECT_CFLAGS). - The pkgsrc placeholders folded in from wm/cde (@PREFIX@, @VARBASE@, @PKG_SYSCONFDIR@) are configure options now: --with-logfiles-dir, --with-config-dir, --with-local-bindir; and --with-pamdir (dtlogin, dtsession) and --with-calendar-dir (dtcm, rpc.cmsd) replace paths that were fixed. Defaults unchanged; the recipe passes its paths. - dtfile: programs/dtfile/Navigation.c -- Back/Forward with a history per window, views Icons/Small/List, places in a sidebar, free space in the status line (statvfs). Screenshot: build/mcde-shots/dtfile-7.png. - make mcde-linux (tools/mcde-linux.sh): the development build on this host, every system path under build/mcde-root. tools/mcde-shot.sh: run a program on a private Xvfb with ttsession and dtwm, empty environment and its own HOME, take a screenshot. tools/ext-sync.sh: ext recipes into pkgsrc/<cat>/<name>. Measured: build/logs/mcde-linux-install3-2026-11-09.log (mcde-linux exit=0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
1.7 KiB
Makefile
61 lines
1.7 KiB
Makefile
configdir = $(CDE_INSTALLATION_TOP)/config/C
|
|
|
|
SUBDIRS = dtcopy
|
|
|
|
bin_PROGRAMS = dtfile
|
|
|
|
BUILT_SOURCES = dtfile.config dtfile_error
|
|
CLEANFILES = dtfile.config dtfile_error
|
|
|
|
dist_config_DATA = dtfile.config
|
|
|
|
dist_bin_SCRIPTS = dtfile_error dterror.ds
|
|
|
|
dtfile_CPPFLAGS = -I./dtcopy -DSHAPE -D_ILS_MACROS -DSUN_PERF \
|
|
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
|
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
|
|
|
dtfile_LDADD = dtcopy/sharedFuncs.o \
|
|
dtcopy/fsrtns.o \
|
|
$(DTCLIENTLIBS) $(TIRPCLIB) $(XTOOLLIB)
|
|
|
|
if OPENBSD
|
|
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
|
endif
|
|
|
|
if LINUX
|
|
dtfile_CPPFLAGS += -DFILE_MAP_OPTIMIZE
|
|
endif
|
|
|
|
if SOLARIS
|
|
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 \
|
|
Navigation.c
|
|
|
|
# Mind the quoting here...
|
|
SCRIPTFLAGS = -DSHAPE -D_ILS_MACROS -DSUN_PERF \
|
|
-DCDE_INSTALLATION_TOP="$(CDE_INSTALLATION_TOP)" \
|
|
-DCDE_CONFIGURATION_TOP="$(CDE_CONFIGURATION_TOP)"
|
|
|
|
dtfile.config: dtfile.config.cpp
|
|
$(RM) $@
|
|
$(GENCPP) -P -DXCOMM=# $(SCRIPTFLAGS) $< > $@
|
|
|
|
dtfile_error: dtfile_error.cpp
|
|
$(RM) $@
|
|
$(GENCPP) -P -DXCOMM=# $(SCRIPTFLAGS) $< > $@
|
|
|
|
dterror.ds: dterror.src
|
|
$(RM) $@
|
|
$(GENCPP) -P -DXCOMM=# $(SCRIPTFLAGS) $< > $@
|