home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
x
/
xibm.zip
/
AIX
/
Makefile
< prev
next >
Wrap
Makefile
|
1991-10-04
|
16KB
|
455 lines
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# -------------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit ibm.cf to change
# platform: $XConsortium: ibm.cf,v 1.29 91/07/28 22:39:58 rws Exp $
# operating system: AIX 1.2.1
PCC = pcc
# -------------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
SHELL = /bin/sh
TOP = /x11/R5/mit
CURRENT_DIR = ./server/ddx/ibmps2/AIX
AR = ar clq
BOOTSTRAPCFLAGS = -Daix
CC = gcc -fpcc-struct-return
AS = as
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fpcc-struct-return -E $(STD_CPP_DEFINES)
INSTALL = /usr/local/gnubin/install
LD = ld
LINT = lint
LINTLIBFLAG = -o
LINTOPTS = -ax -Dibm -DSYSV -DAIXps2 -Di386
LN = ln -s
MAKE = make
MV = mv
CP = cp
RM = rm -f
TROFF = psroff
MSMACROS = -ms
TBL = tbl
EQN = eqn
STD_INCLUDES =
STD_CPP_DEFINES = -Dibm -DSYSV -DAIXps2 -Di386
STD_DEFINES = -Dibm -DSYSV -DAIXps2 -Di386
EXTRA_LOAD_FLAGS =
EXTRA_LIBRARIES = -L/usr/local/lib -lgmalloc
TAGS = ctags
MFLAGS = -$(MAKEFLAGS)
PROTO_DEFINES =
INSTPGMFLAGS =
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4755
PROJECTROOT = /x11/R5/ps2
TOP_INCLUDES = -I$(TOP)
CDEBUGFLAGS = -O
CCOPTIONS =
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
LDLIBS = -L$(USRLIBDIR) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
LDCOMBINEFLAGS = -r
DEPENDFLAGS =
MACROFILE = ibm.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
IMAKE_DEFINES =
IRULESRC = $(CONFIGSRC)
IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.138 91/09/10 09:02:12 rws Exp $
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
PATHSEP = /
USRLIBDIR = /x11/R5/ps2/lib
BINDIR = /x11/R5/ps2/bin
INCROOT = /x11/R5/ps2/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
FONTDIR = $(LIBDIR)/fonts
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /x11/R5/ps2/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
IMAKE = $(IMAKESRC)/imake
DEPEND = $(DEPENDSRC)/makedepend
RGB = $(RGBSRC)/rgb
FONTC = $(BDFTOPCFSRC)/bdftopcf
MKFONTDIR = $(MKFONTDIRSRC)/mkfontdir
MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
XMUSRC = $(LIBSRC)/Xmu
TOOLKITSRC = $(LIBSRC)/Xt
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOSNFSRC = $(FONTSRC)/bdftosnf
BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
DEPEXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
EXTENSIONLIB = $(DEPEXTENSIONLIB)
DEPXLIB = $(DEPEXTENSIONLIB) $(XLIBSRC)/libX11.a
XLIB = $(EXTENSIONLIB) $(XLIBSRC)/libX11.a
DEPXAUTHLIB = $(XAUTHSRC)/libXau.a
XAUTHLIB = $(DEPXAUTHLIB)
DEPXDMCPLIB = $(XDMCPLIBSRC)/libXdmcp.a
XDMCPLIB = $(DEPXDMCPLIB)
DEPXMULIB = $(XMUSRC)/libXmu.a
XMULIB = $(DEPXMULIB)
DEPOLDXLIB = $(OLDXLIBSRC)/liboldX.a
OLDXLIB = $(DEPOLDXLIB)
DEPXTOOLLIB = $(TOOLKITSRC)/libXt.a
XTOOLLIB = $(DEPXTOOLLIB)
DEPXAWLIB = $(AWIDGETSRC)/libXaw.a
XAWLIB = $(DEPXAWLIB)
DEPXILIB = $(XILIBSRC)/libXi.a
XILIB = $(DEPXILIB)
DEPPHIGSLIB = $(PHIGSLIBSRC)/libphigs.a
PHIGSLIB = $(DEPPHIGSLIB)
DEPXBSDLIB = $(LIBSRC)/Berk/libXbsd.a
XBSDLIB = $(DEPXBSDLIB)
LINTEXTENSIONLIB = $(EXTENSIONSRC)/lib/llib-lXext.ln
LINTXLIB = $(XLIBSRC)/llib-lX11.ln
LINTXMU = $(XMUSRC)/llib-lXmu.ln
LINTXTOOL = $(TOOLKITSRC)/llib-lXt.ln
LINTXAW = $(AWIDGETSRC)/llib-lXaw.ln
LINTXI = $(XILIBSRC)/llib-lXi.ln
LINTPHIGS = $(PHIGSLIBSRC)/llib-lphigs.ln
DEPLIBS = $(LOCAL_LIBRARIES)
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
# -------------------------------------------------------------------------
# start of Imakefile
# $Id: Imakefile,v 1.4 1991/09/20 17:45:31 mtranle Exp $
# $XConsortium: Server.tmpl,v 1.5 91/05/06 19:00:26 rws Exp $
CC = gcc -fpcc-struct-return
CCOPTIONS =
STD_DEFINES = -Dibm -DSYSV -DAIXps2 -Di386 -DXDMCP -DSHAPE -DMULTIBUFFER -DMITMISC -DMITSHM -DNOSTDHDRS -DAIX -DIBM_OS_HAS_HFT
CDEBUGFLAGS = -O
EXT_DEFINES = -DSHAPE -DMULTIBUFFER -DMITMISC -DMITSHM
OSDEP_SRC = aixPS2OS.s
OSDEP_OBJ = aixPS2OS.o
SRCS = aixCursor.c \
aixEvents.c \
aixInit.c \
aixKeybd.c \
aixMouse.c \
hftQueue.c \
hftUtils.c \
$(OSDEP_SRC)
LIBOBJS = aixCursor.o \
aixEvents.o \
aixInit.o \
aixKeybd.o \
aixMouse.o \
hftQueue.o \
hftUtils.o \
$(OSDEP_OBJ)
OBJS = $(OTHROBJS) $(LIBOBJS)
STD_DEFINES = -Dibm -DSYSV -DAIXps2 -Di386 -DXDMCP -DSHAPE -DMULTIBUFFER -DMITMISC -DMITSHM -DNOSTDHDRS -DAIX -DIBM_OS_HAS_HFT -DXTESTEXT1
DEFINES =
INCLUDES = -I. -I../ -I../../../include -I$(INCLUDESRC) -I../common -I../../../../extensions/include -I../../../os
all:: DONE
DONE: $(OBJS)
touch $@
clean::
$(RM) DONE
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
depend:: $(DEPEND)
$(DEPEND):
@echo "checking $@ over in $(DEPENDSRC) first..."; \
cd $(DEPENDSRC); $(MAKE); \
echo "okay, continuing in $(CURRENT_DIR)"
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit
emptyrule::
clean::
$(RM_CMD) "#"*
Makefile:: $(IMAKE)
$(IMAKE):
@(cd $(IMAKESRC); if [ -f Makefile ]; then \
echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \
echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
$(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"; fi; \
echo "okay, continuing in $(CURRENT_DIR)")
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
# -------------------------------------------------------------------------
# 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"
Makefiles::
includes::
# -------------------------------------------------------------------------
# dependencies generated by makedepend
# DO NOT DELETE
aixCursor.o: /usr/include/stdio.h /usr/include/sccs.h
aixCursor.o: /usr/include/sys/types.h /usr/include/sys/DOPTIONS.h
aixCursor.o: /usr/include/sys/file.h /usr/include/unistd.h
aixCursor.o: /usr/include/posixcf.h /usr/include/sys/fcntl.h
aixCursor.o: /x11/R5/mit/X11/X.h /x11/R5/mit/X11/Xproto.h
aixCursor.o: /x11/R5/mit/X11/Xmd.h /x11/R5/mit/X11/Xprotostr.h
aixCursor.o: ../../../include/input.h ../../../include/misc.h
aixCursor.o: /x11/R5/mit/X11/Xosdefs.h ../../../include/os.h
aixCursor.o: /usr/include/string.h /x11/R5/mit/X11/Xfuncs.h
aixCursor.o: /usr/include/memory.h ../../../include/scrnintstr.h
aixCursor.o: ../../../include/screenint.h ../../../include/miscstruct.h
aixCursor.o: ../../../include/region.h ../../../include/pixmap.h
aixCursor.o: ../../../include/gc.h ../../../include/colormap.h
aixCursor.o: ../../../include/cursorstr.h ../../../include/cursor.h OSio.h
aixCursor.o: ../common/ibmScreen.h ../common/ibmIO.h aixCursor.h
aixCursor.o: ../common/ibmTrace.h
aixEvents.o: /usr/include/sys/types.h /usr/include/sys/DOPTIONS.h
aixEvents.o: /usr/include/sys/times.h /usr/include/sccs.h
aixEvents.o: /usr/include/sys/hft.h /x11/R5/mit/X11/X.h
aixEvents.o: /x11/R5/mit/X11/Xproto.h /x11/R5/mit/X11/Xmd.h
aixEvents.o: /x11/R5/mit/X11/Xprotostr.h ../../../include/miscstruct.h
aixEvents.o: ../../../include/misc.h /x11/R5/mit/X11/Xosdefs.h
aixEvents.o: ../../../include/os.h /usr/include/string.h
aixEvents.o: /x11/R5/mit/X11/Xfuncs.h /usr/include/memory.h
aixEvents.o: ../../../include/scrnintstr.h ../../../include/screenint.h
aixEvents.o: ../../../include/region.h ../../../include/pixmap.h
aixEvents.o: ../../../include/gc.h ../../../include/colormap.h
aixEvents.o: ../../../include/cursorstr.h ../../../include/cursor.h
aixEvents.o: ../../../include/input.h ../../../include/inputstr.h
aixEvents.o: ../../../include/window.h ../../../include/dixstruct.h
aixEvents.o: ../../../include/dix.h ../../../include/resource.h OScompiler.h
aixEvents.o: OSio.h OScursor.h ../common/ibmIO.h ../common/ibmMouse.h
aixEvents.o: ../common/ibmKeybd.h ../common/ibmScreen.h
aixEvents.o: ../common/ibmCmdArgs.h aixModKeys.h hftQueue.h
aixEvents.o: ../common/ibmTrace.h
aixInit.o: /usr/include/sys/hft.h /usr/include/sys/types.h
aixInit.o: /usr/include/sys/DOPTIONS.h /x11/R5/mit/X11/Xmd.h
aixInit.o: ../../../include/miscstruct.h ../../../include/misc.h
aixInit.o: /x11/R5/mit/X11/Xosdefs.h ../../../include/os.h
aixInit.o: /usr/include/string.h /x11/R5/mit/X11/Xfuncs.h
aixInit.o: /usr/include/memory.h ../../../include/scrnintstr.h
aixInit.o: ../../../include/screenint.h ../../../include/region.h
aixInit.o: ../../../include/pixmap.h ../../../include/gc.h
aixInit.o: ../../../include/colormap.h ../../../include/cursor.h
aixInit.o: ../common/ibmScreen.h ./OSio.h hftQueue.h hftUtils.h
aixInit.o: ../common/ibmTrace.h
aixKeybd.o: /usr/include/stdio.h /usr/include/sccs.h /usr/include/sys/file.h
aixKeybd.o: /usr/include/unistd.h /usr/include/sys/types.h
aixKeybd.o: /usr/include/sys/DOPTIONS.h /usr/include/posixcf.h
aixKeybd.o: /usr/include/sys/fcntl.h /usr/include/sys/hft.h
aixKeybd.o: /x11/R5/mit/X11/X.h /x11/R5/mit/X11/Xmd.h
aixKeybd.o: ../../../include/input.h ../../../include/misc.h
aixKeybd.o: /x11/R5/mit/X11/Xosdefs.h ../../../include/os.h
aixKeybd.o: /usr/include/string.h /x11/R5/mit/X11/Xfuncs.h
aixKeybd.o: /usr/include/memory.h ../../../include/miscstruct.h
aixKeybd.o: ../../../include/scrnintstr.h ../../../include/screenint.h
aixKeybd.o: ../../../include/region.h ../../../include/pixmap.h
aixKeybd.o: ../../../include/gc.h ../../../include/colormap.h
aixKeybd.o: /x11/R5/mit/X11/keysym.h /x11/R5/mit/X11/keysymdef.h
aixKeybd.o: ../../../include/cursorstr.h ../../../include/cursor.h
aixKeybd.o: aixModKeys.h aixKeymap.h ../common/ibmIO.h ../common/ibmKeybd.h
aixKeybd.o: ../common/ibmScreen.h hftUtils.h ../common/ibmTrace.h
aixMouse.o: /usr/include/stdio.h /usr/include/sccs.h /usr/include/sys/types.h
aixMouse.o: /usr/include/sys/DOPTIONS.h /usr/include/sys/file.h
aixMouse.o: /usr/include/unistd.h /usr/include/posixcf.h
aixMouse.o: /usr/include/sys/fcntl.h /usr/include/sys/hft.h
aixMouse.o: /x11/R5/mit/X11/X.h /x11/R5/mit/X11/Xproto.h
aixMouse.o: /x11/R5/mit/X11/Xmd.h /x11/R5/mit/X11/Xprotostr.h
aixMouse.o: ../../../include/miscstruct.h ../../../include/misc.h
aixMouse.o: /x11/R5/mit/X11/Xosdefs.h ../../../include/os.h
aixMouse.o: /usr/include/string.h /x11/R5/mit/X11/Xfuncs.h
aixMouse.o: /usr/include/memory.h ../../../include/scrnintstr.h
aixMouse.o: ../../../include/screenint.h ../../../include/region.h
aixMouse.o: ../../../include/pixmap.h ../../../include/gc.h
aixMouse.o: ../../../include/colormap.h ../../../include/input.h
aixMouse.o: ../../../include/cursorstr.h ../../../include/cursor.h
aixMouse.o: ../common/ibmIO.h ../common/ibmMouse.h ../common/ibmScreen.h
aixMouse.o: ../common/ibmTrace.h hftQueue.h
hftQueue.o: /usr/include/fcntl.h /usr/include/sccs.h /usr/include/sys/fcntl.h
hftQueue.o: /usr/include/sys/types.h /usr/include/sys/DOPTIONS.h
hftQueue.o: /usr/include/signal.h /usr/include/sys/signal.h
hftQueue.o: /usr/include/sys/scontext.h /usr/include/sys/hft.h
hftQueue.o: /usr/include/sys/time.h ../common/ibmTrace.h hftQueue.h
hftQueue.o: /usr/include/stdio.h
hftUtils.o: /usr/include/sys/hft.h /usr/include/sys/types.h
hftUtils.o: /usr/include/sys/DOPTIONS.h /usr/include/sys/time.h
hftUtils.o: /usr/include/fcntl.h /usr/include/sccs.h /usr/include/sys/fcntl.h
hftUtils.o: hftUtils.h OScompiler.h ../common/ibmTrace.h
hftUtils.o: ../common/ibmXhftMap.h