1 # Makefile generated by imake - do not edit!
2 # $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $
4 # ----------------------------------------------------------------------
5 # Makefile generated from "Imake.tmpl" and </tmp/IIf.a00983>
6 # $XConsortium: Imake.tmpl,v 1.224.1.1 95/06/19 17:51:01 gildea Exp $
7 # $XFree86: xc/config/cf/Imake.tmpl,v 3.18 1995/07/12 15:27:23 dawes Exp $
12 # $XConsortium: Imake.cf,v 1.19 95/01/05 19:24:32 kaleb Exp $
13 # $XFree86: xc/config/cf/Imake.cf,v 3.15 1995/06/08 06:18:39 dawes Exp $
15 # -----------------------------------------------------------------------
16 # site-specific configuration parameters that need to come before
17 # the platform-specific parameters - edit site.def to change
19 # site: $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
20 # site: $XFree86: xc/config/cf/site.def,v 3.8 1995/05/27 01:56:50 dawes Exp $
22 # $XFree86: xc/config/cf/xf86site.def,v 3.48 1995/07/22 04:11:45 dawes Exp $
24 # -----------------------------------------------------------------------
25 # platform-specific configuration parameters - edit linux.cf to change
27 # platform: $XConsortium: linux.cf,v 1.11 95/01/23 18:32:03 kaleb Exp $
28 # platform: $XFree86: xc/config/cf/linux.cf,v 3.26 1995/07/12 15:27:34 dawes Exp $
30 # $XConsortium: lnxLib.rules,v 1.8 95/01/16 21:11:00 kaleb Exp $
31 # $XFree86: xc/config/cf/lnxLib.rules,v 3.14 1995/06/01 08:18:56 dawes Exp $
33 # $XConsortium: xfree86.cf,v 1.9 95/01/25 16:42:40 kaleb Exp $
34 # $XFree86: xc/config/cf/xfree86.cf,v 3.66 1995/07/22 04:11:47 dawes Exp $
36 LINKKITDIR = $(USRLIBDIR)/Server
38 XF86SRC = $(SERVERSRC)/hw/xfree86
39 XF86ACCELSRC = $(XF86SRC)/accel
40 XF86COMSRC = $(XF86SRC)/common
41 XF86CONFIGSRC = $(XF86COMSRC)
42 XF86HWSRC = $(XF86SRC)/common_hw
43 XF86OSSRC = $(XF86SRC)/os-support
44 VGADRIVERSRC = $(XF86SRC)/vga256/drivers
45 VGA16DRIVERSRC = $(XF86SRC)/vga16/drivers
46 VGA2DRIVERSRC = $(XF86SRC)/vga2/drivers
47 MONODRIVERSRC = $(XF86SRC)/mono/drivers
48 S3DRIVERSRC = $(XF86SRC)/accel/s3/drivers
50 XFREE86DOCDIR = $(LIBDIR)/doc
51 XFREE86PSDOCDIR = $(XFREE86DOCDIR)/PostScript
52 XFREE86HTMLDOCDIR = $(XFREE86DOCDIR)/html
53 XFREE86JAPANESEDOCDIR = $(XFREE86DOCDIR)/Japanese
55 # $XConsortium: xf86.rules,v 1.7 95/01/25 16:34:39 kaleb Exp $
56 # $XFree86: xc/config/cf/xf86.rules,v 3.9 1995/07/12 15:27:38 dawes Exp $
58 # -----------------------------------------------------------------------
59 # site-specific configuration parameters that go after
60 # the platform-specific parameters - edit site.def to change
62 # site: $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
63 # site: $XFree86: xc/config/cf/site.def,v 3.8 1995/05/27 01:56:50 dawes Exp $
65 # -----------------------------------------------------------------------
66 # Imake rules for building libraries, programs, scripts, and data files
67 # rules: $XConsortium: Imake.rules,v 1.197.1.1 95/06/19 18:01:48 gildea Exp $
68 # rules: $XFree86: xc/config/cf/Imake.rules,v 3.18 1995/07/22 09:39:32 dawes Exp $
76 CURRENT_DIR = lib/glut
81 CONFIGSRC = $(TOP)/config
82 IMAKESRC = $(CONFIGSRC)/imake
83 DEPENDSRC = $(CONFIGSRC)/util
84 IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx
86 IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf
87 IXXINCLUDES = -i '<X11/Fresco/enter-scope.h>'
89 INCROOT = /usr/X11R6/include
90 USRLIBDIR = /usr/X11R6/lib
91 SHLIBDIR = /usr/X11R6/lib
92 LINTLIBDIR = $(USRLIBDIR)/lint
93 MANPATH = /usr/X11R6/man
94 MANSOURCEPATH = $(MANPATH)/man
95 MANDIR = $(MANSOURCEPATH)1
96 LIBMANDIR = $(MANSOURCEPATH)3
97 FILEMANDIR = $(MANSOURCEPATH)5
107 CXXDEBUGFLAGS = -O2 -m486
110 CXXIDL_INCLUDES = -I$(TOP)/include
111 CXXSTD_DEFINES = -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
113 CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) $(CXXIDL_INCLUDES)
114 CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES)
115 CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
118 CPP = /lib/cpp $(STD_CPP_DEFINES)
119 PREPROCESSCMD = gcc -E $(STD_CPP_DEFINES)
151 STD_CPP_DEFINES = -traditional -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
152 STD_DEFINES = -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
153 EXTRA_LOAD_FLAGS = -Wl,-rpath,/usr/X11R6/lib
161 SHLIBLDFLAGS = -shared
167 PROTO_DEFINES = -DFUNCPROTO=15 -DNARROWPROTO
171 INSTBINFLAGS = -m 0755
172 INSTUIDFLAGS = -m 4755
173 INSTLIBFLAGS = -m 0644
174 INSTINCFLAGS = -m 0444
175 INSTMANFLAGS = -m 0444
176 INSTDATFLAGS = -m 0444
177 INSTKMEMFLAGS = -m 4755
179 PROJECTROOT = /usr/X11R6
181 TOP_INCLUDES = -I$(INCROOT)
183 CDEBUGFLAGS = -O2 -m486
186 ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
187 ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
188 CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
189 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
190 LDPRELIB = -L$(USRLIBDIR)
192 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
193 CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
195 LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
210 IRULESRC = $(CONFIGDIR)
211 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
213 ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) $(IRULESRC)/xfree86.cf $(IRULESRC)/xf86.rules $(IRULESRC)/xf86site.def $(IRULESRC)/host.def $(EXTRA_ICONFIGFILES)
215 # ----------------------------------------------------------------------
216 # X Window System Build Parameters and Rules
217 # $XConsortium: Project.tmpl,v 1.249 95/05/23 21:36:40 matt Exp $
218 # $XFree86: xc/config/cf/Project.tmpl,v 3.18 1995/07/22 04:11:42 dawes Exp $
220 # -----------------------------------------------------------------------
221 # X Window System make variables; these need to be coordinated with rules
223 BINDIR = /usr/X11R6/bin
224 BUILDINCROOT = $(TOP)
225 BUILDINCDIR = $(BUILDINCROOT)/X11
227 BUILDLIBDIR = $(TOP)/usrlib
229 INCDIR = $(INCROOT)/X11
231 LIBDIR = $(USRLIBDIR)/X11
233 FONTDIR = $(LIBDIR)/fonts
234 XINITDIR = $(LIBDIR)/xinit
235 XDMDIR = $(LIBDIR)/xdm
236 TWMDIR = $(LIBDIR)/twm
237 XSMDIR = $(LIBDIR)/xsm
238 NLSDIR = $(LIBDIR)/nls
239 XLOCALEDIR = $(LIBDIR)/locale
240 PEXAPIDIR = $(LIBDIR)/PEX
241 XAPPLOADDIR = $(LIBDIR)/app-defaults
244 INSTAPPFLAGS = $(INSTDATFLAGS)
248 MKFONTDIR = mkfontdir
250 DOCUTILSRC = $(TOP)/doc/util
251 XDOCMACROS = $(DOCUTILSRC)/macros.t
252 XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
253 PROGRAMSRC = $(TOP)/programs
255 FONTSRC = $(TOP)/fonts
256 INCLUDESRC = $(TOP)/X11
257 SERVERSRC = $(TOP)/programs/Xserver
258 CONTRIBSRC = $(TOP)/../contrib
259 UNSUPPORTEDSRC = $(TOP)/unsupported
261 RGBSRC = $(TOP)/programs/rgb
262 BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
263 MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
264 FONTSERVERSRC = $(PROGRAMSRC)/xfs
265 FONTINCSRC = $(TOP)/include/fonts
266 EXTINCSRC = $(TOP)/include/extensions
267 TRANSCOMMSRC = $(LIBSRC)/xtrans
268 TRANS_INCLUDES = -I$(TRANSCOMMSRC)
270 # $XConsortium: lnxLib.tmpl,v 1.5 95/01/11 21:44:44 kaleb Exp $
271 # $XFree86: xc/config/cf/lnxLib.tmpl,v 3.7 1995/04/09 13:39:23 dawes Exp $
273 XLIBSRC = $(LIBSRC)/X11
279 LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
281 XLIBONLY = $(XONLYLIB)
283 XEXTLIBSRC = $(LIBSRC)/Xext
284 LBXXEXTLIBSRC = $(TOP)/workInProgress/lbx/lib/Xext
286 XEXEXTLIBSRC = $(LIBSRC)/XExExt
292 LINTXEXT = $(LINTLIBDIR)/llib-lXext.ln
296 LBXXEXTLIB = -llbxXext
298 LINTLBXXEXT = $(LINTLIBDIR)/llib-llbxXext.ln
300 DEPXEXEXTLIB = $(USRLIBDIR)/libXExExt.a
303 LINTXEXEXT = $(LINTLIBDIR)/llib-lXExExt.ln
305 EXTENSIONLIB = $(XEXEXTLIB) $(XEXTLIB)
306 DEPEXTENSIONLIB = $(DEPXEXEXTLIB) $(DEPXEXTLIB)
307 LINTEXTENSION = $(LINTXEXEXT) $(LINTXEXT)
309 LINTEXTENSIONLIB = $(LINTEXTENSION)
310 DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
311 XLIB = $(EXTENSIONLIB) $(XONLYLIB)
312 LINTXLIB = $(LINTXONLYLIB)
314 XAUTHSRC = $(LIBSRC)/Xau
316 DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
319 LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
321 XDMCPLIBSRC = $(LIBSRC)/Xdmcp
323 DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
326 LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
328 XMUSRC = $(LIBSRC)/Xmu
334 LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
336 OLDXLIBSRC = $(LIBSRC)/oldX
338 DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
341 LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
343 TOOLKITSRC = $(LIBSRC)/Xt
349 LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
351 DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
352 XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
353 LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
355 AWIDGETSRC = $(LIBSRC)/Xaw
361 LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
363 XTFSRC = $(TOP)/workInProgress/Xtf
369 LINTXTF = $(LINTLIBDIR)/llib-lXtf.ln
371 FRESCOSRC = $(TOP)/workInProgress/Fresco
377 LINTFRESCO = $(LINTLIBDIR)/llib-lFresco.ln
379 XILIBSRC = $(LIBSRC)/Xi
385 LINTXI = $(LINTLIBDIR)/llib-lXi.ln
387 XTESTLIBSRC = $(LIBSRC)/Xtst
393 LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
395 PEXLIBSRC = $(LIBSRC)/PEX5
401 LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
403 XIELIBSRC = $(LIBSRC)/XIE
409 LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln
411 PHIGSLIBSRC = $(LIBSRC)/PHIGS
413 DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
416 LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
418 DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
421 LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
423 ICESRC = $(LIBSRC)/ICE
429 LINTICE = $(LINTLIBDIR)/llib-lICE.ln
437 LINTSM = $(LINTLIBDIR)/llib-lSM.ln
439 FSLIBSRC = $(LIBSRC)/FS
441 DEPFSLIB = $(USRLIBDIR)/libFS.a
444 LINTFS = $(LINTLIBDIR)/llib-lFS.ln
446 FONTLIBSRC = $(LIBSRC)/font
448 DEPFONTLIB = $(USRLIBDIR)/libfont.a
451 LINTFONT = $(LINTLIBDIR)/llib-lfont.ln
453 DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
455 DEPLIBS1 = $(DEPLIBS)
456 DEPLIBS2 = $(DEPLIBS)
457 DEPLIBS3 = $(DEPLIBS)
460 XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
462 CONFIGDIR = $(LIBDIR)/config
464 # -----------------------------------------------------------------------
467 # $XConsortium: Library.tmpl,v 1.34 95/06/16 17:44:51 gildea Exp $
468 # $XFree86: xc/config/cf/Library.tmpl,v 3.3 1995/07/08 10:21:44 dawes Exp $
473 CCOPTIONS = -ansi -fPIC
476 STD_DEFINES = -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
477 CDEBUGFLAGS = -O2 -m486
479 # Copyright (c) Mark J. Kilgard, 1994.
480 # Glut.cf - GLUT distribution Imakefile configuration info
482 EXTRA_INCLUDES = -I$(TOP)/include -I$(TOP)
484 GLUT_DEPLIBS = $(DEPGLUT) $(DEPXMULIB) $(DEPXLIB)
485 GLUT_LIBS = $(GLUT) $(GLU) $(OPENGL) $(XMULIB) $(XLIB) -lm
486 OPENGL = $(TOP)/../lib/libMesaGL.so
487 GLU = $(TOP)/../lib/libMesaGLU.so
488 INVENTOR = -lInventor
489 GLUT_DEPLIBS = $(DEPGLUT) $(DEPXMULIB) $(DEPXILIB) $(DEPXLIB)
490 GLUT_LIBS = $(GLUT) $(GLU) $(OPENGL) $(XMULIB) $(XILIB) $(XLIB) -lm
492 DEPGLUT = $(TOP)/lib/glut/libglut.so
493 GLUT = $(TOP)/lib/glut/libglut.so
495 CXXEXTRA_INCLUDES = -I/usr/include/CC $(EXTRA_INCLUDES)
496 GLUT_INVENTOR_DEPLIBS = $(GLUT_DEPLIBS)
497 GLUT_INVENTOR_LIBS = $(INVENTOR) $(GLUT_LIBS)
501 # end Glut.cf - GLUT distribution Imakefile configuration info
503 HDRS = glutint.h glutstroke.h layerutil.h
505 SRCS = glut_8x13.c glut_9x15.c glut_bitmap.c glut_bwidth.c glut_cindex.c glut_cmap.c glut_cursor.c glut_dials.c glut_dstr.c glut_event.c glut_ext.c glut_fullscrn.c glut_gamemode.c glut_get.c glut_glxext.c glut_hel10.c glut_hel12.c glut_hel18.c glut_init.c glut_input.c glut_joy.c glut_key.c glut_keyctrl.c glut_keyup.c glut_menu.c glut_menu2.c glut_modifier.c glut_mroman.c glut_overlay.c glut_roman.c glut_shapes.c glut_space.c glut_stroke.c glut_swap.c glut_swidth.c glut_tablet.c glut_teapot.c glut_tr10.c glut_tr24.c glut_util.c glut_win.c glut_winmisc.c layerutil.c glut_mesa.c glut_warp.c glut_vidresize.c
507 OBJS = glut_8x13.o glut_9x15.o glut_bitmap.o glut_bwidth.o glut_cindex.o glut_cmap.o glut_cursor.o glut_dials.o glut_dstr.o glut_event.o glut_ext.o glut_fullscrn.o glut_gamemode.o glut_get.o glut_glxext.o glut_hel10.o glut_hel12.o glut_hel18.o glut_init.o glut_input.o glut_joy.o glut_key.o glut_keyctrl.o glut_keyup.o glut_menu.o glut_menu2.o glut_modifier.o glut_mroman.o glut_overlay.o glut_roman.o glut_shapes.o glut_space.o glut_stroke.o glut_swap.o glut_swidth.o glut_tablet.o glut_teapot.o glut_tr10.o glut_tr24.o glut_util.o glut_win.o glut_winmisc.o layerutil.o glut_mesa.o glut_warp.o glut_vidresize.o
523 $(CC) -c $(CFLAGS) $(_NOOP_) $*.c
531 RENE_HACK_LIBS = -L/usr/X11/lib/ -lX11 -lXext -lXi -lXmu
536 gcc -shared $(RENE_HACK_LIBS) -Wl,-soname,libglut.so.3 -o libglut.so.3.7 $(OBJS)
540 $(RM) y.tab.h y.tab.c lex.yy.c gram.h gram.c lex.c
541 $(RM) strokelex.c strokegen.c $(GEN_STROKES) strokegen capturexfont
544 $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
546 # -----------------------------------------------------------------------
547 # common rules for all Makefiles - do not edit
551 $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
556 $(RM_CMD) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
559 -@if [ -f Makefile ]; then set -x; \
560 $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
562 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
566 $(TAGS) -xw *.[ch] > TAGS
568 # -----------------------------------------------------------------------
569 # empty rules for directories that do not have SUBDIRS - do not edit
572 @echo "install in $(CURRENT_DIR) done"
575 @echo "install.man in $(CURRENT_DIR) done"
578 @echo "install.linkkit in $(CURRENT_DIR) done"
586 # -----------------------------------------------------------------------
587 # dependencies generated by makedepend