initial check-in (post crash)
[mesa.git] / src / glut / glx / Makefile.X11
1 # $Id: Makefile.X11,v 1.1 1999/08/19 14:00:01 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.1 1999/08/19 14:00:01 brianp
20 # initial check-in (post crash)
21 #
22
23
24 ##### MACROS #####
25
26 GLUT_MAJOR = 3
27 GLUT_MINOR = 7
28
29 VPATH = RCS
30
31 INCDIR = ../include
32 LIBDIR = ../lib
33
34 SOURCES = \
35 glut_8x13.c \
36 glut_9x15.c \
37 glut_bitmap.c \
38 glut_bwidth.c \
39 glut_cindex.c \
40 glut_cmap.c \
41 glut_cursor.c \
42 glut_dials.c \
43 glut_dstr.c \
44 glut_event.c \
45 glut_ext.c \
46 glut_fbc.c \
47 glut_fullscrn.c \
48 glut_gamemode.c \
49 glut_get.c \
50 glut_glxext.c \
51 glut_hel10.c \
52 glut_hel12.c \
53 glut_hel18.c \
54 glut_init.c \
55 glut_input.c \
56 glut_joy.c \
57 glut_key.c \
58 glut_keyctrl.c \
59 glut_keyup.c \
60 glut_menu.c \
61 glut_menu2.c \
62 glut_mesa.c \
63 glut_modifier.c \
64 glut_mroman.c \
65 glut_overlay.c \
66 glut_roman.c \
67 glut_shapes.c \
68 glut_space.c \
69 glut_stroke.c \
70 glut_swap.c \
71 glut_swidth.c \
72 glut_tablet.c \
73 glut_teapot.c \
74 glut_tr10.c \
75 glut_tr24.c \
76 glut_util.c \
77 glut_vidresize.c \
78 glut_warp.c \
79 glut_win.c \
80 glut_winmisc.c \
81 layerutil.c
82
83
84 OBJECTS = $(SOURCES:.c=.o)
85
86
87
88 ##### RULES #####
89
90 .c.o:
91 $(CC) -c -I$(INCDIR) $(CFLAGS) $<
92
93
94
95 ##### TARGETS #####
96
97 default:
98 @echo "Specify a target configuration"
99
100 clean:
101 -rm *.o *~
102
103 targets: $(LIBDIR)/$(GLUT_LIB)
104
105 # Make the library
106 $(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
107 $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(OBJECTS)
108 mv $(GLUT_LIB)* $(LIBDIR)
109
110 include ../Make-config
111
112 include depend
113
114
115
116 #
117 # Run 'make dep' to update the dependencies if you change what's included
118 # by any source file.
119 #
120 dep: $(SOURCES)
121 makedepend -fdepend -Y -I../include $(SOURCES)