1 | # $Id: Makefile,v 1.17 2000-12-02 23:58:44 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Odin32 API
|
---|
5 | #
|
---|
6 | # glut32.dll makefile
|
---|
7 | #
|
---|
8 |
|
---|
9 |
|
---|
10 | #
|
---|
11 | # Tell buildenvironmet to invoke additional dep rule.
|
---|
12 | #
|
---|
13 | ADDITIONAL_DEP = mydep
|
---|
14 |
|
---|
15 |
|
---|
16 | #
|
---|
17 | # Compiler, tools, and interference rules.
|
---|
18 | #
|
---|
19 | !include ../../../makefile.inc
|
---|
20 |
|
---|
21 |
|
---|
22 | #
|
---|
23 | # Overrides
|
---|
24 | #
|
---|
25 | CINCLUDES = -I..\mesa\GL -I..\glu $(CINCLUDES) -I..\mesa
|
---|
26 | CDEFINES = $(CDEFINES_WIN32APP)
|
---|
27 | CFLAGS = $(CFLAGS_WIN32APP)
|
---|
28 | CXXFLAGS = $(CXXFLAGS_WIN32APP)
|
---|
29 |
|
---|
30 |
|
---|
31 | #
|
---|
32 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
---|
33 | #
|
---|
34 | OBJS = \
|
---|
35 | $(OBJDIR)\glut_8x13.obj \
|
---|
36 | $(OBJDIR)\glut_9x15.obj \
|
---|
37 | $(OBJDIR)\glut_bitmap.obj \
|
---|
38 | $(OBJDIR)\glut_bwidth.obj \
|
---|
39 | $(OBJDIR)\glut_cindex.obj \
|
---|
40 | $(OBJDIR)\glut_cmap.obj \
|
---|
41 | $(OBJDIR)\glut_cursor.obj \
|
---|
42 | $(OBJDIR)\glut_dials.obj \
|
---|
43 | $(OBJDIR)\glut_dstr.obj \
|
---|
44 | $(OBJDIR)\glut_event.obj \
|
---|
45 | $(OBJDIR)\glut_ext.obj \
|
---|
46 | $(OBJDIR)\glut_fullscrn.obj \
|
---|
47 | $(OBJDIR)\glut_gamemode.obj \
|
---|
48 | $(OBJDIR)\glut_get.obj \
|
---|
49 | $(OBJDIR)\glut_hel10.obj \
|
---|
50 | $(OBJDIR)\glut_hel12.obj \
|
---|
51 | $(OBJDIR)\glut_hel18.obj \
|
---|
52 | $(OBJDIR)\glut_init.obj \
|
---|
53 | $(OBJDIR)\glut_input.obj \
|
---|
54 | $(OBJDIR)\glut_joy.obj \
|
---|
55 | $(OBJDIR)\glut_key.obj \
|
---|
56 | $(OBJDIR)\glut_keyctrl.obj \
|
---|
57 | $(OBJDIR)\glut_keyup.obj \
|
---|
58 | $(OBJDIR)\glut_mesa.obj \
|
---|
59 | $(OBJDIR)\glut_modifier.obj \
|
---|
60 | $(OBJDIR)\glut_mroman.obj \
|
---|
61 | $(OBJDIR)\glut_overlay.obj \
|
---|
62 | $(OBJDIR)\glut_roman.obj \
|
---|
63 | $(OBJDIR)\glut_shapes.obj \
|
---|
64 | $(OBJDIR)\glut_space.obj \
|
---|
65 | $(OBJDIR)\glut_stroke.obj \
|
---|
66 | $(OBJDIR)\glut_swap.obj \
|
---|
67 | $(OBJDIR)\glut_swidth.obj \
|
---|
68 | $(OBJDIR)\glut_tablet.obj \
|
---|
69 | $(OBJDIR)\glut_teapot.obj \
|
---|
70 | $(OBJDIR)\glut_tr10.obj \
|
---|
71 | $(OBJDIR)\glut_tr24.obj \
|
---|
72 | $(OBJDIR)\glut_util.obj \
|
---|
73 | $(OBJDIR)\glut_vidresize.obj \
|
---|
74 | $(OBJDIR)\glut_warp.obj \
|
---|
75 | $(OBJDIR)\glut_win.obj \
|
---|
76 | $(OBJDIR)\glut_winmisc.obj \
|
---|
77 | $(OBJDIR)\win32_glx.obj \
|
---|
78 | $(OBJDIR)\win32_menu.obj \
|
---|
79 | $(OBJDIR)\win32_util.obj \
|
---|
80 | $(OBJDIR)\win32_winproc.obj \
|
---|
81 | $(OBJDIR)\win32_x11.obj \
|
---|
82 | $(OBJDIR)\glut_term.obj \
|
---|
83 | $(OBJDIR)\initterm.obj \
|
---|
84 | $(OBJDIR)\glut32rsrc.obj
|
---|
85 |
|
---|
86 |
|
---|
87 | #
|
---|
88 | # Libraries. One space before the '\'.
|
---|
89 | #
|
---|
90 | LIBS = \
|
---|
91 | $(ODIN32_LIB)/$(ODINCRT).lib \
|
---|
92 | $(RTLLIB_O) \
|
---|
93 | $(ODIN32_LIB)/winmm.lib \
|
---|
94 | $(ODIN32_LIB)/kernel32.lib \
|
---|
95 | $(ODIN32_LIB)/gdi32.lib \
|
---|
96 | $(ODIN32_LIB)/user32.lib \
|
---|
97 | $(ODIN32_LIB)/glu32.lib \
|
---|
98 | $(ODIN32_LIB)/opengl32.lib \
|
---|
99 | os2386.lib
|
---|
100 |
|
---|
101 |
|
---|
102 | #
|
---|
103 | # Target name - name of the dll without extention and path.
|
---|
104 | #
|
---|
105 | TARGET = glut32
|
---|
106 |
|
---|
107 |
|
---|
108 | #
|
---|
109 | # Includes the common rules.
|
---|
110 | #
|
---|
111 | !include $(ODIN32_POST_INC)
|
---|
112 |
|
---|
113 |
|
---|
114 | #
|
---|
115 | # Additional dep rule - adds dependencies for some additional headers.
|
---|
116 | #
|
---|
117 | mydep:
|
---|
118 | $(DEPEND) -a $(CINCLUDES) \
|
---|
119 | *.c *.cpp *.asm *.inc $(ODIN32_INCLUDE)\*.h ..\mesa\gl\*.h
|
---|
120 |
|
---|