softpipe: use the polygon stipple utility module
[mesa.git] / src / glut / glx / Makefile.cygnus
1 # Makefile.cygnus for Cygnus-Win32 target
2 # /Stephane Rehel, November 16 1997
3
4 # Makefile for GLUT 3.7
5 #
6 # NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source
7 # code published in a book titled "Programming OpenGL for the X Window
8 # System" (ISBN: 0-201-48359-9) published by Addison-Wesley. The
9 # programs and associated files contained in the distribution were
10 # developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
11 # J. Kilgard (unless otherwise noted). The programs are not in the
12 # public domain, but they are freely distributable without licensing
13 # fees. These programs are provided without guarantee or warrantee
14 # expressed or implied.
15 #
16 # GLUT source included with Mesa with permission from Mark Kilgard.
17
18
19 ##### MACROS #####
20
21 GLUT_MAJOR = 3
22 GLUT_MINOR = 7
23 GLUT_TINY = 0
24
25 VPATH = RCS
26
27 INCDIR = ../include
28 LIBDIR = ../lib
29
30 SOURCES = \
31 glut_8x13.c \
32 glut_9x15.c \
33 glut_bitmap.c \
34 glut_bwidth.c \
35 glut_cindex.c \
36 glut_cmap.c \
37 glut_cursor.c \
38 glut_dials.c \
39 glut_dstr.c \
40 glut_event.c \
41 glut_ext.c \
42 glut_fullscrn.c \
43 glut_get.c \
44 glut_hel10.c \
45 glut_hel12.c \
46 glut_hel18.c \
47 glut_init.c \
48 glut_input.c \
49 glut_mesa.c \
50 glut_modifier.c \
51 glut_mroman.c \
52 glut_overlay.c \
53 glut_roman.c \
54 glut_shapes.c \
55 glut_space.c \
56 glut_stroke.c \
57 glut_swap.c \
58 glut_swidth.c \
59 glut_tablet.c \
60 glut_teapot.c \
61 glut_tr10.c \
62 glut_tr24.c \
63 glut_util.c \
64 glut_vidresize.c \
65 glut_warp.c \
66 glut_win.c \
67 glut_winmisc.c \
68 win32_x11.c \
69 win32_glx.c \
70 win32_menu.c \
71 win32_util.c
72
73 OBJECTS = $(SOURCES:.c=.o)
74
75
76
77 ##### RULES #####
78
79 .c.o:
80 $(CC) -c -I$(INCDIR) $(CFLAGS) $<
81
82
83
84 ##### TARGETS #####
85
86 default:
87 @echo "Specify a target configuration"
88
89 clean:
90 -rm *.o *~
91
92 targets: $(LIBDIR)/$(GLUT_LIB)
93
94 # Make the library
95 $(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
96 $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(GLUT_TINY) $(OBJECTS)
97 mv $(GLUT_LIB)* $(LIBDIR)
98
99 include ../Make-config
100
101 include depend
102
103
104
105 #
106 # Run 'make dep' to update the dependencies if you change what's included
107 # by any source file.
108 #
109 dep: $(SOURCES)
110 makedepend -fdepend -Y -I../include $(SOURCES)