Files
cdesktop/cde/programs/dtfile/Imakefile
Lev Kujawski 3685f61cfa Purge unused Freetype dependency from CDE
config/cf/{DragonFly,OpenBSD,darwin}.cf: Remove Freetype imake settings
config/cf/darwinLib.tmpl: Do not link against Freetype
debian/control: Remove Freetype and Xft dependencies
*/Imakefile: Purge Freetype includes

lib/DtWidget/ComboBoxP.h
lib/DtWidget/SpinBoxP.h
programs/dtfile/ChangeDirP.c
programs/dtlogin/vgcallback.c
    Undefine USE_XFT so Motif 2.3 doesn't pull in Freetype

CDE included Freetype and Xft solely to satisfy builds of Motif with
Xft support enabled. However, as CDE only supports bitmap fonts, this
dependency was entirely superfluous and unnecessarily broke backwards
compatibility with older systems.
2021-02-07 18:46:25 -07:00

78 lines
2.6 KiB
Plaintext

XCOMM $XConsortium: Imakefile /main/10 1996/10/28 12:05:34 cde-hp $
#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
SUBDIRS = dtcopy
MakeSubdirs($(SUBDIRS))
ForceSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#if CDE_USEXINERAMA
XINOPT = -DUSE_XINERAMA
XINLIB = -lDtXinerama -lXinerama
#endif
DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DKORNSHELL=\"$(KORNSHELL)\" $(XINOPT)
INCLUDES = -I./dtcopy $(TIRPCINC)
DEPLIBS = DepDtClientLibs
LOCAL_LIBRARIES = DtClientLibs $(XINLIB)
SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
#ifdef AlphaArchitecture
EXTRA_DEFINES = -D_TOOLTALK
#endif
#ifdef OpenBSDArchitecture
EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
#endif
#if defined (SunArchitecture)
EXTRA_CCOPTIONS = -xF
#endif
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
#endif
SRCS = 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
DTCOPY_OBJS = dtcopy/sharedFuncs.o dtcopy/fsrtns.o
OBJS = ChangeDir.o ChangeDirP.o Command.o Common.o \
Desktop.o Directory.o Encaps.o File.o \
FileDialog.o FileManip.o FileMgr.o FileOp.o \
Filter.o FilterP.o Find.o FindP.o \
Help.o HelpCB.o HelpP.o IconWindow.o \
IconicPath.o Main.o Menu.o MkDir.o \
ModAttr.o ModAttrP.o MultiView.o OverWrite.o \
Prefs.o PrefsP.o SharedMsgs.o SharedProcs.o \
ToolTalk.o Trash.o Utils.o fsDialog.o \
$(DTCOPY_OBJS)
ComplexProgramTarget(dtfile)
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP)
CPP_TARGETS = dtfile.config dtfile_error
AllTarget($(CPP_TARGETS))
CppSourceFile(dtfile.config,dtfile.config.cpp,$(LOCAL_CPP_DEFINES),)
MakeScriptFromCpp(dtfile_error,$(LOCAL_CPP_DEFINES))