Mail Archives: cygwin/2007/06/13/07:44:33
Hi.
I'm trying to compile xplore under cygwin.
The link-edit phase seems not to work. It looks like I'm missing some libs.
Can you please help?
Thanks.
Here is part of the error message (the Makefile comes after):
$ make
making all in ./xg...
make[1]: Entering directory `/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xg'
making all in ./regexp...
make[1]: Entering directory `/cygdrive/d/XHOME/port/xplore/xplore-1.2a/regexp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/XHOME/port/xplore/xplore-1.2a/regexp'
making all in ./scripts...
make[1]: Entering directory `/cygdrive/d/XHOME/port/xplore/xplore-1.2a/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/XHOME/port/xplore/xplore-1.2a/scripts'
gcc xplore.o -o xplore
xplore.o: In function `Wait':
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:32: undefined reference to `_app_shell'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:32: undefined reference to `_XtWindow'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:32: undefined reference to `_wait_cursor'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:32: undefined reference to `_display'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:32: undefined reference to `_XDefineCursor'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:33: undefined reference to `_app_shell'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:33: undefined reference to `_XmUpdateDisplay'
xplore.o: In function `WaitMsg':
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:41: undefined reference to `_StatusMessage'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:45: undefined reference to `_app_shell'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:45: undefined reference to `_XmUpdateDisplay'
xplore.o: In function `Done':
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:62: undefined reference to `_app_shell'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:62: undefined reference to `_XtWindow'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:62: undefined reference to `_display'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:62: undefined reference to `_XUndefineCursor'
/cygdrive/d/XHOME/port/xplore/xplore-1.2a/xplore.c:65: undefined reference to `_RestoreStatusLine'
etc.
Here is the Makefile:
# Makefile generated by imake - do not edit!
# $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
# ----------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XdotOrg: xc/config/cf/Imake.tmpl,v 1.9 2005/01/24 06:37:31 daniels Exp $
#
#
#
#
# $XFree86: xc/config/cf/Imake.tmpl,v 3.155 2003/12/24 18:58:41 dickey Exp $
# ----------------------------------------------------------------------
all::
.SUFFIXES: .i
# $XdotOrg: xc/config/cf/Imake.cf,v 1.7 2005/03/02 11:20:29 gisburn Exp $
# $Xorg: Imake.cf,v 1.4 2000/08/17 19:41:45 cpqbld Exp $
# $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
# -----------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
# $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $
# ----------------------------------------------------------------------
# platform-specific configuration parameters - edit cygwin.cf to change
# ----------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
# site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29 dawes Exp $
# ---------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
# rules: $XdotOrg: xc/config/cf/Imake.rules,v 1.8 2005/02/01 22:27:00 ajax Exp $
#
#
#
#
# rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $
.PHONY: all interfaces install install.man install.lib install.sdk depend includes cleandir
_NULLCMD_ = @ echo -n
X_BYTE_ORDER = X_LITTLE_ENDIAN
GLIDE2INCDIR =
GLIDE3INCDIR =
GLIDE3LIBNAME =
TKLIBNAME = tk80
TKLIBDIR =
TCLLIBNAME = tcl80
TCLIBDIR =
PATHSEP = /
SHELL = /bin/sh -e
TOP = .
CURRENT_DIR = .
IMAKE = imake
DEPEND = makedepend
MKDIRHIER = mkdir -p
REVPATH = revpath
EXPORTLISTGEN =
RMAN = rman
RMANBASENAME = rman.exe
RMANOPTIONS = -f HTML
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)/imake
DEPENDSRC = $(CONFIGSRC)/makedepend
INCROOT = /usr/X11R6/include
USRLIBDIR = /usr/X11R6/lib
VARDIR = /var
VARLIBDIR = $(VARDIR)/lib
SYSTEMUSRLIBDIR = /usr/lib
SYSTEMUSRINCDIR = /usr/include
SHLIBDIR = /usr/X11R6/lib
LINTLIBDIR = $(USRLIBDIR)/lint
MANPATH = /usr/X11R6/man
MANSOURCEPATH = $(MANPATH)/man
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)
MISCMANDIR = $(MANSOURCEPATH)$(MISCMANSUFFIX)
DRIVERMANDIR = $(MANSOURCEPATH)$(DRIVERMANSUFFIX)
LOGDIRECTORY = $(VARDIR)/log
AR = ar clq
# Nice try but useless: make will inherit BOOTSTRAPCFLAGS
# from top Makefile
BOOTSTRAPCFLAGS =
CC = gcc
AS = as
.SUFFIXES: .cc
CXX = g++
CXXFILT = c++filt
CXXLIB = -lstdc++
CXXDEBUGFLAGS = -ggdb3 -O2 -fno-strength-reduce
CXXDEPENDINCLUDES =
CXXEXTRA_DEFINES =
CXXEXTRA_INCLUDES =
CXXSTD_DEFINES = -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFD_SETSIZE=256 -DXResExtension $(CXXPROJECT_DEFINES)
CXXOPTIONS =
CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)
CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES) $(CXXEXTRA_DEFINES)
CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
COMPRESS = compress
GZIPCMD = gzip
CPP = cpp $(STD_CPP_DEFINES)
RAWCPP = cpp -undef $(STD_CPP_OPTIONS)
PREPROCESSCMD = gcc -E $(STD_CPP_DEFINES)
INSTALL = install
INSTALLFLAGS = -c
LD = gcc -lautomode
LEX = flex -l
M4 = m4
M4FLAGS =
LEXLIB = -lfl
YACC = bison -y
CCYACC = bison -y
LINT = lint
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv -f
CP = cp
RANLIB = ranlib
RANLIBINSTFLAGS =
RM = rm -f
PERL = perl
PERLOPTS =
PERLENVSETUP = env LC_ALL=C
MANSUFFIX = 1
LIBMANSUFFIX = 3
FILEMANSUFFIX = 5
MISCMANSUFFIX = 7
DRIVERMANSUFFIX = 4
ADMINMANSUFFIX = 8
MANSRCSUFFIX = man
MANNEWSUFFIX = _man
MANDEFS = -D__apploaddir__=$(XAPPLOADDIR) -D__appmansuffix__=$(MANSUFFIX) -D__filemansuffix__=$(FILEMANSUFFIX) -D__libmansuffix__=$(LIBMANSUFFIX) -D__miscmansuffix__=$(MISCMANSUFFIX) -D__drivermansuffix__=$(DRIVERMANSUFFIX) -D__adminmansuffix__=$(ADMINMANSUFFIX) -D__projectroot__=$(PROJECTROOT) -D__xconfigfile__=$(XCONFIGFILE) -D__xconfigdir__=$(XCONFIGDIR) -D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME) $(XORGMANDEFS) $(VENDORMANDEFS)
COMPRESSMANCMD = gzip -n
TROFF = troff -Tps
NROFF = nroff
MSMACROS = -ms
MANMACROS = -man
TBL = tbl
EQN = eqn
NEQN = neqn
COL = col
COLFLAGS = -b
MODCC = gcc
MODCPP = cpp
MODCFLAGS = $(CFLAGS)
MODAS = as
MODASFLAGS =
MODLD = gcc -lautomode
MODLDFLAGS =
MODLDCOMBINEFLAGS = -r
MODAR = ar clq
MODRANLIB = ranlib
STD_INCLUDES =
STD_CPP_OPTIONS = -traditional
STD_CPP_DEFINES = -traditional -DHAS_THREADS -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFD_SETSIZE=256 -DXResExtension $(PROJECT_DEFINES)
STD_DEFINES = -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFD_SETSIZE=256 -DXResExtension $(PROJECT_DEFINES)
EXTRA_LOAD_FLAGS = -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES =
TAGS = ctags
PARALLELMFLAGS =
SHAREDCODEDEF =
SHLIBDEF =
SHLIBLDFLAGS = -dll $(SHLIBGLOBALSFLAGS)
NOSTDLIB = -nostdlib
POSTNOSTDLIB = -Bstatic -lgcc
PICFLAGS = -D_DLL
CXXPICFLAGS = -D_DLL
PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
INSTPGMFLAGS = -s
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4711
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4711
PROJECTROOT = /usr/X11R6
CDEBUGFLAGS = -ggdb3 -O2 -fno-strength-reduce
CCOPTIONS = -Wall -Wpointer-arith
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
LDPRELIB = -L$(USRLIBDIR) $(INSTALLED_LIBS)
LDPOSTLIB =
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
CCLINK = $(CC)
CXXLINK = $(CXX)
LDSTRIPFLAGS = -x
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
DEPEND_DEFINES = -DUSE_MAKEDEPEND
# Not sure this belongs here
TKLIBDIR =
TKINCDIR =
TKLIBNAME = tk80
TKLIBRARY = -L$(TKLIBDIR) -l$(TKLIBNAME)
TCLLIBDIR =
TCLINCDIR =
TCLLIBNAME = tcl80
TCLLIBRARY = -L$(TCLLIBDIR) -l$(TCLLIBNAME)
MACROFILE = cygwin.cf
RM_CMD = $(RM)
IMAKE_DEFINES =
IMAKE_WARNINGS =
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) $(IMAKE_WARNINGS)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/X11.tmpl $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) $(IRULESRC)/xorgsite.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
# $Xorg: X11.rules,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
# $XFree86: xc/config/cf/X11.rules,v 1.6 2001/01/17 16:22:31 dawes Exp $
# ----------------------------------------------------------------------
# X Window System Build Parameters and Rules
# $XdotOrg: xc/config/cf/X11.tmpl,v 1.52 2005/09/22 23:54:18 alanc Exp $
# $Xorg: X11.tmpl,v 1.6 2000/08/17 19:41:46 cpqbld Exp $
#
#
#
#
# $XFree86: xc/config/cf/X11.tmpl,v 1.248 2004/02/16 04:07:37 dawes Exp $
XORGRELSTRING = XorgManVersionString
XORGMANNAME = X Version 11
STICKY_DEFINES = -DHAS_STICKY_DIR_BIT
FCHOWN_DEFINES = -DHAS_FCHOWN
# -----------------------------------------------------------------------
# X Window System make variables; these need to be coordinated with rules
XTOP = $(TOP)
BINDIR = /usr/X11R6/bin
BUILDINCROOT = $(TOP)/exports
BUILDINCDIR = $(BUILDINCROOT)/include
BUILDINCTOP = ../..
BUILDLIBDIR = $(TOP)/exports/lib
BUILDLIBTOP = ../..
BUILDBINDIR = $(TOP)/exports/bin
BUILDBINTOP = ../..
BUILDMODULEDIR = $(BUILDLIBDIR)/modules
BUILDI18NDIR = $(BUILDLIBDIR)/locale
BUILDMODULETOP = $(BUILDLIBTOP)/..
XBUILDINCROOT = $(XTOP)/exports
XBUILDINCDIR = $(XBUILDINCROOT)/include/X11
XBUILDINCTOP = ../../..
XBUILDBINDIR = $(XBUILDINCROOT)/bin
INCDIR = $(INCROOT)
ADMDIR = /usr/adm
LIBDIR = /usr/X11R6/lib/X11
LIBEXECDIR = /usr/X11R6/libexec
MODULEDIR = $(USRLIBDIR)/modules
TOP_X_INCLUDES =
XBINDIR = $(PROJECTROOT)/bin
INSTSRCDIR = /usr/X11R6/src
ETCX11DIR = /etc/X11
CONFDIR = $(ETCX11DIR)
DOCDIR = $(LIBDIR)/doc
DOCHTMLDIR = $(DOCDIR)/html
DOCPSDIR = $(DOCDIR)/PostScript
DOCPDFDIR = $(DOCDIR)/PDF
FONTDIR = $(LIBDIR)/fonts
ENCODINGSDIR = $(LIBDIR)/fonts/encodings
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
XDMVARDIR = $(VARLIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
XSMDIR = $(LIBDIR)/xsm
NLSDIR = $(LIBDIR)/nls
XLOCALEDIR = $(LIBDIR)/locale
LBXPROXYDIR = $(LIBDIR)/lbxproxy
PROXYMANAGERDIR = $(LIBDIR)/proxymngr
XPRINTDIR = $(LIBDIR)/xserver
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
RGB = $(XBINDIR)/rgb
FONTC = $(XBINDIR)/bdftopcf
MKFONTSCALE = $(XBINDIR)/mkfontscale
MKFONTDIR = $(XBINDIR)/mkfontdir
MKHTMLINDEX = $(XBINDIR)/mkhtmlindex
UCS2ANY = $(XBINDIR)/ucs2any.exe
BDFTRUNCATE = $(XBINDIR)/bdftruncate
UCSMAPPREFIX = $(FONTDIR)/util/map-
XCURSORGEN = $(XBINDIR)/xcursorgen
HTMLINDEXCMD = $(MKHTMLINDEX)
DOCUTILSRC = $(XTOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
XDOCMACROS = $(DOCUTILSRC)/macros.t
XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
PROGRAMSRC = $(TOP)/programs
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
ENCODINGSSRC = $(FONTSRC)/encodings
INCLUDESRC = $(BUILDINCROOT)/include
XINCLUDESRC = $(INCLUDESRC)/X11
SERVERSRC = $(XTOP)/programs/Xserver
CONTRIBSRC = $(XTOP)/../contrib
UNSUPPORTEDSRC = $(XTOP)/unsupported
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/programs/rgb
BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
FONTSERVERSRC = $(PROGRAMSRC)/xfs
FONTINCSRC = $(XTOP)/include/fonts
EXTINCSRC = $(XTOP)/include/extensions
FTSOURCEDIR = FreeTypeSrcDir
DRMSRCDIR = $(TOP)/extras/drm
MESASRCDIR = $(TOP)/extras/Mesa
OGLSAMPLESRCDIR = $(TOP)/extras/ogl-sample
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
CONNECTION_FLAGS = -DTCPCONN -DUNIXCONN $(STICKY_DEFINES) $(FCHOWN_DEFINES)
XTRANS_FAILDEFINES =
VENDORMANNAME = "Cygwin/X"
VENDORMANVERSION = `echo 6 8 99 901| sed -e 's/ /./g' -e 's/^/Version\\\ /'`
XORGMANDEFS = -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\""
VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)"
VENDORNAME = The X.Org Foundation
VENDORNAMESHORT = X.Org
VENDORWEBSUPPORT = http://wiki.X.Org
VENDORSUPPORTDEFS = -D__VENDORDWEBSUPPORT__='"$(VENDORWEBSUPPORT)"'
XKBDEFRULES = xorg
XKBDEFRULESDEFS = -D__XKBDEFRULES__='"$(XKBDEFRULES)"'
XCONFIGFILE = XConfigFile
XCONFIGDIR = XConfigDir
XLOGFILE = XLogFile
XSERVERNAME = XServerName
XENVLIBDIR = $(USRLIBDIR)
CLIENTENVSETUP = LD_LIBRARY_PATH=$(XENVLIBDIR) XLOCALEDIR=$(BUILDLIBDIR)/locale
# $XFree86: xc/config/cf/cygwin.tmpl,v 3.18 2003/10/19 08:27:05 herrb Exp $
XLIBSRC = $(LIBSRC)/X11
SOXLIBREV = 6.2
DEPXONLYLIB =
XONLYLIB = -lX11
LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
DEPXLIBONLY = $(DEPXONLYLIB)
XLIBONLY = $(XONLYLIB)
LINTXONLYLIB = $(LINTXONLY)
XEXTLIBSRC = $(LIBSRC)/Xext
SOXEXTREV = 6.4
DEPEXTENSIONLIB =
EXTENSIONLIB = -lXext
LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
LINTEXTENSIONLIB = $(LINTEXTENSION)
DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
XLIB = $(EXTENSIONLIB) $(XONLYLIB)
LINTXLIB = $(LINTXONLYLIB)
XSSLIBSRC = $(LIBSRC)/Xss
DEPXSSLIB = $(USRLIBDIR)/libXss.a
XSSLIB = -lXss
LINTXSS = $(LINTLIBDIR)/llib-lXss.ln
XXF86MISCLIBSRC = $(LIBSRC)/Xxf86misc
DEPXXF86MISCLIB = $(USRLIBDIR)/libXxf86misc.a
XXF86MISCLIB = -lXxf86misc
LINTXXF86MISC = $(LINTLIBDIR)/llib-lXxf86misc.ln
XXF86VMLIBSRC = $(LIBSRC)/Xxf86vm
DEPXXF86VMLIB = $(USRLIBDIR)/libXxf86vm.a
XXF86VMLIB = -lXxf86vm
LINTXXF86VM = $(LINTLIBDIR)/llib-lXxf86vm.ln
XXF86DGALIBSRC = $(LIBSRC)/Xxf86dga
DEPXXF86DGALIB = $(USRLIBDIR)/libXxf86dga.a
XXF86DGALIB = -lXxf86dga
LINTXXF86DGA = $(LINTLIBDIR)/llib-lXxf86dga.ln
XXF86RUSHLIBSRC = $(LIBSRC)/Xxf86rush
DEPXXF86RUSHLIB = $(USRLIBDIR)/libXxf86rush.a
XXF86RUSHLIB = -lXxf86rush
LINTXXF86RUSH = $(LINTLIBDIR)/llib-lXxf86rush.ln
XVLIBSRC = $(LIBSRC)/Xv
DEPXVLIB = $(USRLIBDIR)/libXv.a
XVLIB = -lXv
LINTXV = $(LINTLIBDIR)/llib-lXv.ln
XVMCLIBSRC = $(LIBSRC)/XvMC
DEPXVMCLIB = $(USRLIBDIR)/libXvMC.a
XVMCLIB = -lXvMC
LINTXVMC = $(LINTLIBDIR)/llib-lXvMC.ln
XINERAMALIBSRC = $(LIBSRC)/Xinerama
DEPXINERAMALIB = $(USRLIBDIR)/libXinerama.a
XINERAMALIB = -lXinerama
LINTXINERAMA = $(LINTLIBDIR)/llib-lXinerama.ln
XRESLIBSRC = $(LIBSRC)/XRes
SOXRESREV = 1.0
DEPXRESLIB =
XRESLIB = -lXRes
LINTXRES = $(LINTLIBDIR)/llib-lXRes.ln
DMXLIBSRC = $(LIBSRC)/dmx
DEPDMXLIB = $(USRLIBDIR)/libdmx.a
DMXLIB = -ldmx
LINTDMX = $(LINTLIBDIR)/llib-ldmx.ln
DPSLIBSRC = $(LIBSRC)/dps
DEPDPSLIB = $(USRLIBDIR)/libdps.a
DPSLIB = -ldps
LINTDPS = $(LINTLIBDIR)/llib-ldps.ln
DPSTKLIBSRC = $(LIBSRC)/dpstk
DEPDPSTKLIB = $(USRLIBDIR)/libdpstk.a
DPSTKLIB = -ldpstk
LINTDPSTK = $(LINTLIBDIR)/llib-ldpstk.ln
PSRESLIBSRC = $(LIBSRC)/psres
DEPPSRESLIB = $(USRLIBDIR)/libpsres.a
PSRESLIB = -lpsres
LINTPSRES = $(LINTLIBDIR)/llib-lpsres.ln
GLULIBSRC = $(LIBSRC)/GLU
SOGLUREV = 1.3
DEPGLULIB =
GLULIB = -lGLU
LINTGLU = $(LINTLIBDIR)/llib-lGLU.ln
GLXLIBSRC = $(LIBSRC)/GL
SOGLREV = 1.2
DEPGLXLIB =
GLXLIB = -lGL
LINTGLX = $(LINTLIBDIR)/llib-lGL.ln
GLWIDGETSRC = $(LIBSRC)/GLw
DEPGLWLIB = $(USRLIBDIR)/libGLw.a
GLWLIB = -lGLw
LINTGLW = $(LINTLIBDIR)/llib-lGLw.ln
XRENDERLIBSRC = $(LIBSRC)/Xrender
SOXRENDERREV = 1.2.2
DEPXRENDERLIB =
XRENDERLIB = -lXrender
LINTXRENDER = $(LINTLIBDIR)/llib-lXrender.ln
XRANDRLIBSRC = $(LIBSRC)/Xrandr
SOXRANDRREV = 2.0
DEPXRANDRLIB =
XRANDRLIB = -lXrandr
LINTXRANDR = $(LINTLIBDIR)/llib-lXrandr.ln
XFIXESLIBSRC = $(LIBSRC)/Xfixes
SOXFIXESREV = 3.0
DEPXFIXESLIB =
XFIXESLIB = -lXfixes
LINTXFIXES = $(LINTLIBDIR)/llib-lXfixes.ln
XDAMAGELIBSRC = $(LIBSRC)/Xdamage
SOXDAMAGEREV = 1.0
DEPXDAMAGELIB =
XDAMAGELIB = -lXdamage
LINTXDAMAGE = $(LINTLIBDIR)/llib-lXdamage.ln
XCOMPOSITELIBSRC = $(LIBSRC)/Xcomposite
SOXCOMPOSITEREV = 1.0
DEPXCOMPOSITELIB =
XCOMPOSITELIB = -lXcomposite
LINTXCOMPOSITE = $(LINTLIBDIR)/llib-lXcomposite.ln
XEVIELIBSRC = $(LIBSRC)/Xevie
SOXEVIEREV = 1.0
DEPXEVIELIB =
XEVIELIB = -lXevie
LINTXEVIE = $(LINTLIBDIR)/llib-lXevie.ln
XCURSORLIBSRC = $(LIBSRC)/Xcursor
SOXCURSORREV = 1.0.2
DEPXCURSORLIB =
XCURSORLIB = -lXcursor
LINTXCURSOR = $(LINTLIBDIR)/llib-lXcursor.ln
APPLEWMLIBSRC = $(LIBSRC)/apple
DEPAPPLEWMLIB = $(USRLIBDIR)/libAppleWM.a
APPLEWMLIB = -lAppleWM
LINTAPPLEWM = $(LINTLIBDIR)/llib-lAppleWM.ln
WINDOWSWMLIBSRC = $(LIBSRC)/windows
DEPWINDOWSWMLIB = $(USRLIBDIR)/libWindowsWM.a
WINDOWSWMLIB = -lWindowsWM
LINTWINDOWSWM = $(LINTLIBDIR)/llib-lWindowsWM.ln
XFONTCACHELIBSRC = $(LIBSRC)/Xfontcache
SOXFONTCACHEREV = 1.2
DEPXFONTCACHELIB =
XFONTCACHELIB = -lXfontcache
LINTXFONTCACHE = $(LINTLIBDIR)/llib-lXfontcache.ln
XAUTHSRC = $(LIBSRC)/Xau
SOXAUTHREV = 6.0
DEPXAUTHLIB =
XAUTHLIB = -lXau
LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
SOXDMCPREV = 6.0
DEPXDMCPLIB =
XDMCPLIB = -lXdmcp
LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
XMUSRC = $(LIBSRC)/Xmu
SOXMUREV = 6.2
DEPXMULIB =
XMULIB = -lXmu
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
XMUUSRC = $(LIBSRC)/Xmuu
SOXMUUREV = 1.0
DEPXMUULIB =
XMUULIB = -lXmuu
LINTXMUU = $(LINTLIBDIR)/llib-lXmuu.ln
OLDXLIBSRC = $(LIBSRC)/oldX
SOOLDXREV = 6.0
DEPOLDXLIB =
OLDXLIB = -loldX
LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
XPLIBSRC = $(LIBSRC)/Xp
SOXPREV = 6.2
DEPXPLIB =
XPLIB = -lXp
LINTXP = $(LINTLIBDIR)/llib-lXp.ln
TOOLKITSRC = $(LIBSRC)/Xt
SOXTREV = 6.0
DEPXTOOLONLYLIB =
XTOOLONLYLIB = -lXt
LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
XALIBSRC = $(LIBSRC)/Xa
SOXAREV = 1.0
DEPXALIB =
XALIB = -lXa
LINTXA = $(LINTLIBDIR)/llib-lXa.ln
AWIDGETSRC = $(LIBSRC)/Xaw
SOXAWREV = 8.0
DEPXAWLIB =
XAWLIB = -lXaw
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
AWIDGET7SRC = $(LIBSRC)/Xaw7
SOXAW7REV = 7.0
DEPXAW7LIB =
XAW7LIB = -lXaw
LINTXAW7 = $(LINTLIBDIR)/llib-lXaw.ln
AWIDGET6SRC = $(LIBSRC)/Xaw6
SOXAW6REV = 6.1
DEPXAW6LIB =
XAW6LIB = -lXaw
LINTXAW6 = $(LINTLIBDIR)/llib-lXaw.ln
XILIBSRC = $(LIBSRC)/Xi
SOXINPUTREV = 6.0
DEPXILIB =
XILIB = -lXi
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
XTESTLIBSRC = $(LIBSRC)/Xtst
SOXTESTREV = 6.1
DEPXTESTLIB =
XTESTLIB = -lXtst
LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
ICESRC = $(LIBSRC)/ICE
SOICEREV = 6.4
DEPICELIB =
ICELIB = -lICE
LINTICE = $(LINTLIBDIR)/llib-lICE.ln
SMSRC = $(LIBSRC)/SM
SOSMREV = 6.0
DEPSMLIB =
SMLIB = -lSM
LINTSM = $(LINTLIBDIR)/llib-lSM.ln
XKEYSRC = $(LIBSRC)/Xkey
SOXKEYREV = 6.0
DEPXKEYLIB =
XKEYLIB = -lXkey
LINTXKEY = $(LINTLIBDIR)/llib-lXkey.ln
FSLIBSRC = $(LIBSRC)/FS
SOFSREV = 6.0
DEPFSLIB =
FSLIB = -lFS
LINTFS = $(LINTLIBDIR)/llib-lFS.ln
FONTLIBSRC = $(LIBSRC)/font
DEPFONTLIB = $(USRLIBDIR)/libXfont.a
FONTLIB = -L$(FREETYPELIBDIR) -L$(FONTLIBSRC) -lXfont
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
#
DEPXFONTLIB = $(USRLIBDIR)/libXfont.a
XFONTLIB = -lXfont
LINTXFONT = $(LINTLIBDIR)/llib-lXfont.ln
FONTSTUBLIBSRC = $(FONTLIBSRC)/stubs
DEPFONTSTUBLIB = $(USRLIBDIR)/libfntstubs.a
FONTSTUBLIB = -lfntstubs
LINTFONTSTUB = $(LINTLIBDIR)/llib-lfntstubs.ln
DEPFONTLIB = $(DEPXFONTLIB) $(DEPFONTSTUBLIB)
FONTLIB = $(XFONTLIB) $(FONTSTUBLIB) $(FREETYPE2LIB)
FONTENCLIBSRC = $(LIBSRC)/fontenc
SOFONTENCREV = 1.0
DEPXFONTENCLIB =
XFONTENCLIB = -lfontenc
LINTXFONTENC = $(LINTLIBDIR)/llib-lfontenc.ln
XPMLIBSRC = $(LIBSRC)/Xpm
SOXPMREV = 4.11
DEPXPMLIB =
XPMLIB = -lXpm
LINTXPM = $(LINTLIBDIR)/llib-lXpm.ln
FREETYPE2DIR = /usr
FREETYPE2LIBDIR = /usr/lib
FREETYPE2INCDIR = /usr/include
FREETYPE2LIB = -lfreetype
FREETYPE2INCLUDES = -I$(FREETYPE2INCDIR)/freetype2 -I$(FREETYPE2INCDIR)/freetype2/config
FREETYPE2DEFINES = -DFREETYPE2
EXPATLIBSRC = $(LIBSRC)/expat
SOEXPATREV = 4.0
DEPEXPATLIB =
EXPATLIB = -lexpat
LINTEXPAT = $(LINTLIBDIR)/llib-lexpat.ln
EXPATDIR = /usr
EXPATLIBDIR = /usr/lib
EXPATINCDIR = /usr/include
EXPATINCLUDES =
EXPATLIB = -lexpat
EXPATDEFINES = -DEXPAT
XFT1LIBSRC = $(LIBSRC)/Xft1
SOXFT1REV = 1.1
DEPXFT1LIB =
XFT1LIB = -lXft
LINTXFT1 = $(LINTLIBDIR)/llib-lXft.ln
XFTLIBSRC = $(LIBSRC)/Xft
SOXFTREV = 2.1.2
DEPXFTLIB =
XFTLIB = -lXft
LINTXFT = $(LINTLIBDIR)/llib-lXft.ln
FONTCONFIGDIR = /usr
FONTCONFIGLIBDIR = /usr/lib
FONTCONFIGINCDIR = /usr/include
FONTCONFIGBINDIR = /usr/bin
FONTCONFIGLIB = -lfontconfig
FONTCONFIGINCLUDES =
FCCACHE = $(FONTCONFIGBINDIR)/fc-cache
FONTCONFIGDEFINES = -DFONTCONFIG
XFTINCLUDES=$(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES)
LIBPNGINCDIR = /usr/include
LIBPNGINC=
LIBPNGDIR = /usr
LIBPNGLIBDIR = /usr/lib
LIBPNGINCDIR = /usr/include
LIBPNGLIB = -lpng
XKBFILELIBSRC = $(LIBSRC)/xkbfile
SOXKBFILEREV = 1.0
DEPXKBFILELIB =
XKBFILELIB = -lxkbfile
LINTXKBFILE = $(LINTLIBDIR)/llib-lxkbfile.ln
XKBCOMPCMD = $(XBINDIR)/xkbcomp
XKBUILIBSRC = $(LIBSRC)/xkbui
SOXKBUIREV = 1.0
DEPXKBUILIB =
XKBUILIB = -lxkbui
LINTXKBUI = $(LINTLIBDIR)/llib-lxkbui.ln
EXTRAXAWREQS = $(XPLIB)
EXTRAXAWCLIENTDEPLIBS = $(DEPXPLIB)
EXTRAXAWCLIENTLIBS = $(XPLIB)
XTRAPLIBSRC = $(LIBSRC)/XTrap
SOXTRAPREV = 6.4
DEPXTRAPLIB =
XTRAPLIB = -lXTrap
LINTXTRAP = $(LINTLIBDIR)/llib-lXTrap.ln
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
DEPLIBS4 = $(DEPLIBS)
DEPLIBS5 = $(DEPLIBS)
DEPLIBS6 = $(DEPLIBS)
DEPLIBS7 = $(DEPLIBS)
DEPLIBS8 = $(DEPLIBS)
DEPLIBS9 = $(DEPLIBS)
DEPLIBS10 = $(DEPLIBS)
XFTPRELOADPATTERN = libXft.so.?
XRENDERPRELOADPATTERN = libXrender.so.?
XFONTPRELOADPATTERN = libXfont*.so.?
XMULIBONLY = -lXmu
XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
CONFIGDIR = $(LIBDIR)/config
USRLIBDIRPATH = $(USRLIBDIR)
LDPRELIBS = -L$(USRLIBDIR) $(INSTALLED_LIBS)
LDPOSTLIBS =
TOP_INCLUDES = -I$(INCROOT) $(TOP_X_INCLUDES)
PROJECT_DEFINES =
VENDOR_DEFINES = -DXVENDORNAME='"$(VENDORNAME)"' -DXVENDORNAMESHORT='"$(VENDORNAMESHORT)"'
CXXPROJECT_DEFINES =
# ----------------------------------------------------------------------
# start of Imakefile
# Destination directories. ##############################################
# Where xplore config and pixmap files go.
XPLORELIBDIR = $(LIBDIR)/xplore
# Set these if you want to install xplore in a non-standard location.
# BINDIR = /usr/local/bin
# LIBDIR = /usr/local/lib
# MANPATH = /usr/local/man
# Libraries. ############################################################
# Set XMINCDIR and XMLIBDIR as required by your system if the Motif
# library is not on the standard path. (The following should work
# for Solaris, on Linux systems usually no extra path is required.)
# XMINCDIR = -I/usr/dt/include
# XMLIBDIR = -L/usr/dt/lib
# How to link the Motif library:
XMLIB = -lXm
# Set XPMINCDIR and XPMLIBDIR as required by your system if libXpm is not
# on the standard path. E.g. (Solaris, with software companion cd
# installed in /opt/sfw):
# XPMINCDIR = -I/opt/sfw/include
# XPMLIBDIR = -L/opt/sfw/lib -R/opt/sfw/lib
# How to link the XPM library
XPMLIB = -lXpm
# Compilation options. ##################################################
# Uncomment the following line if you want to compile xplore with gcc,
# but gcc is not the default compiler on your system.
# #define USE_GCC
# Debugging options. ####################################################
# Uncomment this if you want to generate debug information:
# CDEBUGFLAGS = -g
# System dependencies. ##################################################
SYSDEP = -DFreeBSD
# If your system is not SVR4 and neither matches one of the above, you
# might wish to uncomment one of the following and proceed with fingers
# crossed.
# SYSDEP = -DSVR4
# SYSDEP = -DAIX
# SYSDEP = -DCONVEXOS
# SYSDEP = -DDYNIX
# SYSDEP = -DHPUX -D_HPUX_SOURCE
# SYSDEP = -DFreeBSD
# SYSDEP = -DLINUX
# SYSDEP = -DOSF1
# SYSDEP = -DSCO
# SYSDEP = -DSGI
# SYSDEP = -DSOLARIS
# SYSDEP = -DSUNOS
# SYSDEP = -DTOS
# SYSDEP = -DULTRIX
# Uncomment the next line if your system has the statvfs() system call
# (default for SVR4, Solaris and SGI). Check this if interface.c won't
# compile, or when your linker cannot resolve _statfs.
# STATVFS = -DUSE_STATVFS
XGINCDIR = -I./xg/include
XGLIBDIR = -L./xg
XGLIB = -lxg
all::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[ik]*) set +e;; esac; done; \
for i in xg regexp scripts ;\
do \
echo "making" all "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) all; \
done
$(ONESUBDIR)/Makefile:
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[n]*) executeit="no";; esac; done; \
cd $(ONESUBDIR) && \
if [ "$$executeit" != "no" ]; then \
$(IMAKE_CMD) -DTOPDIR=$(IMAKETOP) -DCURDIR=$(ONECURDIR)$(ONESUBDIR); \
fi;
Makefiles::
-@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[ik]*) set +e;; esac; done; \
for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[n]*) executeit="no";; esac; done; \
for i in xg regexp scripts ;\
do \
case "$(CURRENT_DIR)" in \
.) curdir= ;; \
*) curdir=$(CURRENT_DIR)/ ;; \
esac; \
echo "making Makefiles in $$curdir$$i..."; \
itmp=`echo $$i | sed -e 's;^\./;;g' -e 's;/\./;/;g'`; \
curtmp="$(CURRENT_DIR)" \
toptmp=""; \
case "$$itmp" in \
../?*) \
while echo "$$itmp" | grep '^\.\./' > /dev/null;\
do \
toptmp="/`basename $$curtmp`$$toptmp"; \
curtmp="`dirname $$curtmp`"; \
itmp="`echo $$itmp | sed 's;\.\./;;'`"; \
done \
;; \
esac; \
case "$$itmp" in \
*/?*/?*/?*/?*) newtop=../../../../..;; \
*/?*/?*/?*) newtop=../../../..;; \
*/?*/?*) newtop=../../..;; \
*/?*) newtop=../..;; \
*) newtop=..;; \
esac; \
newtop="$$newtop$$toptmp"; \
case "$(TOP)" in \
/?*) imaketop=$(TOP) \
imakeprefix= ;; \
.) imaketop=$$newtop \
imakeprefix=$$newtop/ ;; \
*) imaketop=$$newtop/$(TOP) \
imakeprefix=$$newtop/ ;; \
esac; \
$(RM) $$i/Makefile.bak; \
if [ -f $$i/Makefile ]; then \
echo " $(MV) Makefile Makefile.bak"; \
if [ "$$executeit" != "no" ]; then \
$(MV) $$i/Makefile $$i/Makefile.bak; \
fi; \
fi; \
$(MAKE) $(MFLAGS) $(MAKE_OPTS) ONESUBDIR=$$i ONECURDIR=$$curdir IMAKETOP=$$imaketop IMAKEPREFIX=$$imakeprefix $$i/Makefile; \
if [ -d $$i ] ; then \
cd $$i; \
$(MAKE) $(MFLAGS) Makefiles; \
cd $$newtop; \
else \
exit 1; \
fi; \
done
cleandir::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[ik]*) set +e;; esac; done; \
for i in xg regexp scripts ;\
do \
echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) cleandir; \
done
depend::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[ik]*) set +e;; esac; done; \
for i in xg regexp scripts ;\
do \
echo "depending" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) depend; \
done
install::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[ik]*) set +e;; esac; done; \
for i in scripts ;\
do \
echo "installing" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR=$(DESTDIR) install; \
done
Xplore.ad: Xplore.sed
sed -e 's?@XPLORELIBDIR@?$(XPLORELIBDIR)?g' <Xplore.sed >$@
etc/Manual: xplore.man
rman -f HTML xplore.man | sed -e '1,3d' >$@
install::
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[i]*) set +e;; esac; done; \
if [ -h $(DESTDIR)$(CONFDIR)/app-defaults ]; then \
$(RM) $(DESTDIR)$(CONFDIR)/app-defaults; \
fi
@if [ -d $(DESTDIR)$(LIBDIR)/. ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(LIBDIR)/. ]; then \
(set -x; rm -f $(DESTDIR)$(LIBDIR)/.); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(LIBDIR)/.); \
fi
@if [ -d $(DESTDIR)$(CONFDIR)/app-defaults ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(CONFDIR)/app-defaults ]; then \
(set -x; rm -f $(DESTDIR)$(CONFDIR)/app-defaults); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(CONFDIR)/app-defaults); \
fi
@for flag in ${MAKEFLAGS} ''; do \
case "$$flag" in *=*) ;;--*) ;; *[i]*) set +e;; esac; done; \
if [ -d $(DESTDIR)$(LIBDIR)/. ]; then \
RELPATH=`echo $(LIBDIR)/. | \
sed -e 's:^/::' -e 's:[^/.][^/]*:..:'g -e 's:/\.$$::'`; \
cd $(DESTDIR)$(LIBDIR)/.; \
if [ -d app-defaults -a ! -h app-defaults ]; then \
(cd app-defaults; tar cf - . | \
(cd $(DESTDIR)$(CONFDIR)/app-defaults; \
tar xf -; exit 0); exit 0); \
fi; \
$(RM) -r app-defaults; \
$(LN) $${RELPATH}$(CONFDIR)/app-defaults .; \
fi
install:: Xplore.ad
@if [ -d $(DESTDIR)$(XAPPLOADDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(XAPPLOADDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(XAPPLOADDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(XAPPLOADDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTAPPFLAGS) Xplore.ad $(DESTDIR)$(XAPPLOADDIR)/Xplore
install:: all
@if [ -d $(DESTDIR)$(XPLORELIBDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(XPLORELIBDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(XPLORELIBDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(XPLORELIBDIR)); \
fi
$(INSTALL) -c $(INSTDATFLAGS) system.xplorerc $(DESTDIR)$(XPLORELIBDIR)/system.xplorerc
$(INSTALL) -c $(INSTDATFLAGS) magic $(DESTDIR)$(XPLORELIBDIR)/magic
cp -R etc $(DESTDIR)$(XPLORELIBDIR)
cp -R icons $(DESTDIR)$(XPLORELIBDIR)
cp -R shelf $(DESTDIR)$(XPLORELIBDIR)
cp -R schemes $(DESTDIR)$(XPLORELIBDIR)
PROGRAMS = xplore xploretype
DEFINES = -DXPLORELIBDIR=\"$(XPLORELIBDIR)\" -DCPP="\"$(CPP)\"" $(SYSDEP) $(STATVFS)
EXTRA_INCLUDES = -I./regexp -I./icons $(XGINCDIR) $(XMINCDIR) $(XPMINCDIR)
SRCS1 = callbacks.c curdir.c devmount.c dialogs.c dirs.c error.c fileops.c ftype.c icons.c interface.c magic.c menus.c mnttable.c signals.c util.c xplore.c
OBJS1 = callbacks.o curdir.o devmount.o dialogs.o dirs.o error.o fileops.o ftype.o icons.o interface.o magic.o menus.o mnttable.o parse.o signals.o util.o xplore.o
DEPLIBS1 = ./xg/libxg.a ./regexp/libregexp.a
SYSLIBS1 = $(XGLIBDIR) $(XMLIBDIR) $(XPMLIBDIR) -L./regexp -lregexp $(XGLIB) $(XMLIB) $(XPMLIB) $(XTOOLLIB) $(XMULIB) $(XLIB)
all:: defaults.h setup etc/Manual
depend:: defaults.h
setup:
cp scripts/setup.script setup
defaults.h: Xplore.ad
./ad2c Xplore.ad > defaults.h
cleandir::
$(RM) defaults.h setup Xplore.ad
parse.o: parse.c lex.c xplore.h parse.h
OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5) \
$(OBJS6) $(OBJS7) $(OBJS8) $(OBJS9) $(OBJS10)
SRCS = $(SRCS1) $(SRCS2) $(SRCS3) $(SRCS4) $(SRCS5) \
$(SRCS6) $(SRCS7) $(SRCS8) $(SRCS9) $(SRCS10)
all:: $(PROGRAMS)
xplore.exe: $(OBJS1) $(DEPLIBS1)
$(RM) $@
$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS1) /bin/cygncurses5.dll $(LDLIBS) $(SYSLIBS1) $(EXTRA_LOAD_FLAGS)
install:: xplore.exe
@if [ -d $(DESTDIR)$(BINDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(BINDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(BINDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) xplore.exe $(DESTDIR)$(BINDIR)/xplore.exe
all:: xplore.$(MANSUFFIX).html
xplore.$(MANSUFFIX).html: xplore.$(MANNEWSUFFIX)
$(RM) xplore.$(MANSUFFIX).html xplore.$(MANSUFFIX)-html
$(RMAN) $(RMANOPTIONS) < xplore.$(MANNEWSUFFIX) \
> xplore.$(MANSUFFIX)-html && $(MV) xplore.$(MANSUFFIX)-html $@
install.man:: xplore.$(MANSUFFIX).html
@if [ -d $(DESTDIR)$(DOCHTMLDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(DOCHTMLDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(DOCHTMLDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(DOCHTMLDIR)); \
fi
@(SUF=`expr $(MANSUFFIX) \: '\(.\)'`; \
set -x; \
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xplore.$(MANSUFFIX).html $(DESTDIR)$(DOCHTMLDIR)/xplore.$$SUF.html)
cleandir::
$(RM) xplore.$(MANSUFFIX).html xplore.$(MANSUFFIX)-html
all:: xplore.$(MANNEWSUFFIX)
xplore.$(MANNEWSUFFIX): xplore.$(MANSRCSUFFIX)
$(RM) $@
if test -z "$(PREPROCESSMANPAGES)" ; then \
cd `dirname xplore` && \
$(LN) `basename xplore.$(MANSRCSUFFIX)` `basename $@`; \
else \
$(RAWCPP) $(MANDEFS) $(EXTRAMANDEFS) \
< xplore.$(MANSRCSUFFIX) | sed -e '/^# *[0-9][0-9]* *.*$$/d' -e '/^#line *[0-9][0-9]* *.*$$/d' -e '/^[ ]*XCOMM$$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$$/s/\@\@$$/\\/' >$@; \
fi
cleandir::
$(RM) xplore.$(MANNEWSUFFIX)
install.man:: xplore.$(MANNEWSUFFIX)
@if [ -d $(DESTDIR)$(MANDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(MANDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(MANDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xplore.$(MANNEWSUFFIX) $(DESTDIR)$(MANDIR)/xplore.$(MANSUFFIX)
depend:: Makefile.dep
Makefile.dep::
$(RM) $@
$(DEPEND) -f- $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS) > $@
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
cleandir::
$(RM) $(PROGRAMS)
SRCS2 = xploretype.c
OBJS2 = xploretype.o magic.o util.o
DEPLIBS2 = ./regexp/libregexp.a
SYSLIBS2 = -L./regexp -lregexp
xploretype.exe: $(OBJS2) $(DEPLIBS2)
$(RM) $@
$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS2) $(LDLIBS) $(SYSLIBS2) $(EXTRA_LOAD_FLAGS)
install:: xploretype.exe
@if [ -d $(DESTDIR)$(BINDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(BINDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(BINDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) xploretype.exe $(DESTDIR)$(BINDIR)/xploretype.exe
all:: xploretype.$(MANSUFFIX).html
xploretype.$(MANSUFFIX).html: xploretype.$(MANNEWSUFFIX)
$(RM) xploretype.$(MANSUFFIX).html xploretype.$(MANSUFFIX)-html
$(RMAN) $(RMANOPTIONS) < xploretype.$(MANNEWSUFFIX) \
> xploretype.$(MANSUFFIX)-html && $(MV) xploretype.$(MANSUFFIX)-html $@
install.man:: xploretype.$(MANSUFFIX).html
@if [ -d $(DESTDIR)$(DOCHTMLDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(DOCHTMLDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(DOCHTMLDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(DOCHTMLDIR)); \
fi
@(SUF=`expr $(MANSUFFIX) \: '\(.\)'`; \
set -x; \
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xploretype.$(MANSUFFIX).html $(DESTDIR)$(DOCHTMLDIR)/xploretype.$$SUF.html)
cleandir::
$(RM) xploretype.$(MANSUFFIX).html xploretype.$(MANSUFFIX)-html
all:: xploretype.$(MANNEWSUFFIX)
xploretype.$(MANNEWSUFFIX): xploretype.$(MANSRCSUFFIX)
$(RM) $@
if test -z "$(PREPROCESSMANPAGES)" ; then \
cd `dirname xploretype` && \
$(LN) `basename xploretype.$(MANSRCSUFFIX)` `basename $@`; \
else \
$(RAWCPP) $(MANDEFS) $(EXTRAMANDEFS) \
< xploretype.$(MANSRCSUFFIX) | sed -e '/^# *[0-9][0-9]* *.*$$/d' -e '/^#line *[0-9][0-9]* *.*$$/d' -e '/^[ ]*XCOMM$$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$$/s/\@\@$$/\\/' >$@; \
fi
cleandir::
$(RM) xploretype.$(MANNEWSUFFIX)
install.man:: xploretype.$(MANNEWSUFFIX)
@if [ -d $(DESTDIR)$(MANDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(MANDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(MANDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); \
fi
$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xploretype.$(MANNEWSUFFIX) $(DESTDIR)$(MANDIR)/xploretype.$(MANSUFFIX)
# ----------------------------------------------------------------------
# common rules for all Makefiles - do not edit
.c.i:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
.SUFFIXES: .ii
.cc.ii:
$(RM) $@
$(CC) -E $(CFLAGS) $(_NOOP_) $*.cc > $@
.SUFFIXES: .s
.c.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.c
.cc.s:
$(RM) $@
$(CC) -S $(CFLAGS) $(_NOOP_) $*.cc
emptyrule::
cleandir::
$(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.obj *.orig *.rej junk.c *.exe *.dll *.lib *~ "#"*
Makefile::
-@if [ -f Makefile ]; then set -x; \
$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
else exit 0; fi
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
man_keywords::
html_index::
@if [ -d $(DESTDIR)$(DOCHTMLDIR) ]; then \
set +x; \
else \
if [ -h $(DESTDIR)$(DOCHTMLDIR) ]; then \
(set -x; rm -f $(DESTDIR)$(DOCHTMLDIR)); \
fi; \
(set -x; $(MKDIRHIER) $(DESTDIR)$(DOCHTMLDIR)); \
fi
$(HTMLINDEXCMD) $(DESTDIR)$(DOCHTMLDIR)
clean:: cleandir
distclean:: cleandir
# ----------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit
install::
@echo "install in $(CURRENT_DIR) done"
install.man::
@echo "install.man in $(CURRENT_DIR) done"
install.sdk::
@echo "install.sdk in $(CURRENT_DIR) done"
Makefiles::
includes::
depend::
distclean::
$(RM) Makefile Makefile.dep
# ----------------------------------------------------------------------
# dependencies generated by makedepend
sinclude Makefile.dep
--
# Yves-Alain NICOLLET (YAN)
# Bull - 1 Rue de Provence - BP208 - 38432 Echirolles CEDEX - France
# Phone: +33 (0)4 7629 7785, Fax: 7600 - Office: FREC-B1/080, Mbox: 142
# Web: http://www.bull.com - mailto:Yves-Alain DOT Nicollet AT bull DOT net
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -