Fixed off-by-one error in compute_shine_table(). Minor code clean-up
[mesa.git] / src / glut / glx / Makefile.X11
1 # $Id: Makefile.X11,v 1.2 1999/09/15 15:11:24 brianp Exp $
2
3 # Makefile for GLUT
4 #
5 # NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source
6 # code published in a book titled "Programming OpenGL for the X Window
7 # System" (ISBN: 0-201-48359-9) published by Addison-Wesley. The
8 # programs and associated files contained in the distribution were
9 # developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
10 # J. Kilgard (unless otherwise noted). The programs are not in the
11 # public domain, but they are freely distributable without licensing
12 # fees. These programs are provided without guarantee or warrantee
13 # expressed or implied.
14 #
15 # GLUT source included with Mesa with permission from Mark Kilgard.
16
17
18 # $Log: Makefile.X11,v $
19 # Revision 1.2 1999/09/15 15:11:24 brianp
20 # added third, tiny version number to mklib scripts
21 #
22 # Revision 1.1 1999/08/19 14:00:01 brianp
23 # initial check-in (post crash)
24 #
25
26
27 ##### MACROS #####
28
29 GLUT_MAJOR = 3
30 GLUT_MINOR = 7
31 GLUT_TINY = 0
32
33 VPATH = RCS
34
35 INCDIR = ../include
36 LIBDIR = ../lib
37
38 SOURCES = \
39 glut_8x13.c \
40 glut_9x15.c \
41 glut_bitmap.c \
42 glut_bwidth.c \
43 glut_cindex.c \
44 glut_cmap.c \
45 glut_cursor.c \
46 glut_dials.c \
47 glut_dstr.c \
48 glut_event.c \
49 glut_ext.c \
50 glut_fbc.c \
51 glut_fullscrn.c \
52 glut_gamemode.c \
53 glut_get.c \
54 glut_glxext.c \
55 glut_hel10.c \
56 glut_hel12.c \
57 glut_hel18.c \
58 glut_init.c \
59 glut_input.c \
60 glut_joy.c \
61 glut_key.c \
62 glut_keyctrl.c \
63 glut_keyup.c \
64 glut_menu.c \
65 glut_menu2.c \
66 glut_mesa.c \
67 glut_modifier.c \
68 glut_mroman.c \
69 glut_overlay.c \
70 glut_roman.c \
71 glut_shapes.c \
72 glut_space.c \
73 glut_stroke.c \
74 glut_swap.c \
75 glut_swidth.c \
76 glut_tablet.c \
77 glut_teapot.c \
78 glut_tr10.c \
79 glut_tr24.c \
80 glut_util.c \
81 glut_vidresize.c \
82 glut_warp.c \
83 glut_win.c \
84 glut_winmisc.c \
85 layerutil.c
86
87
88 OBJECTS = $(SOURCES:.c=.o)
89
90
91
92 ##### RULES #####
93
94 .c.o:
95 $(CC) -c -I$(INCDIR) $(CFLAGS) $<
96
97
98
99 ##### TARGETS #####
100
101 default:
102 @echo "Specify a target configuration"
103
104 clean:
105 -rm *.o *~
106
107 targets: $(LIBDIR)/$(GLUT_LIB)
108
109 # Make the library
110 $(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
111 $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(GLUT_TINY) $(OBJECTS)
112 mv $(GLUT_LIB)* $(LIBDIR)
113
114 include ../Make-config
115
116 include depend
117
118
119
120 #
121 # Run 'make dep' to update the dependencies if you change what's included
122 # by any source file.
123 #
124 dep: $(SOURCES)
125 makedepend -fdepend -Y -I../include $(SOURCES)