aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa_6.4.2/src/glut/beos/Makefile
diff options
context:
space:
mode:
authorftrapero <frantracer@gmail.com>2017-06-27 12:08:38 +0200
committerftrapero <frantracer@gmail.com>2017-06-27 12:08:38 +0200
commitb30506dface604c78e445905ce263f166945d67b (patch)
tree1c23f91f36eb445850b654daa9c5e30bb47072e5 /nx-X11/extras/Mesa_6.4.2/src/glut/beos/Makefile
parentc032f0e341c981036e9b3245a0e0710ad61599d0 (diff)
parent663631725ee2d633d9ec5821cd48953ffd188d00 (diff)
downloadnx-libs-b30506dface604c78e445905ce263f166945d67b.tar.gz
nx-libs-b30506dface604c78e445905ce263f166945d67b.tar.bz2
nx-libs-b30506dface604c78e445905ce263f166945d67b.zip
Include mesa-6.4.2 project
Diffstat (limited to 'nx-X11/extras/Mesa_6.4.2/src/glut/beos/Makefile')
-rw-r--r--nx-X11/extras/Mesa_6.4.2/src/glut/beos/Makefile97
1 files changed, 97 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa_6.4.2/src/glut/beos/Makefile b/nx-X11/extras/Mesa_6.4.2/src/glut/beos/Makefile
new file mode 100644
index 000000000..d9cf32565
--- /dev/null
+++ b/nx-X11/extras/Mesa_6.4.2/src/glut/beos/Makefile
@@ -0,0 +1,97 @@
+# Makefile for GLUT
+#
+# NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source
+# code published in a book titled "Programming OpenGL for the X Window
+# System" (ISBN: 0-201-48359-9) published by Addison-Wesley. The
+# programs and associated files contained in the distribution were
+# developed by Mark J. Kilgard and are Copyright 1994, 1995, 1996 by Mark
+# J. Kilgard (unless otherwise noted). The programs are not in the
+# public domain, but they are freely distributable without licensing
+# fees. These programs are provided without guarantee or warrantee
+# expressed or implied.
+#
+# GLUT source included with Mesa with permission from Mark Kilgard.
+
+# src/glut/beos/Makefile
+
+TOP = ../../..
+include $(TOP)/configs/current
+
+GLUT_MAJOR = 3
+GLUT_MINOR = 7
+GLUT_TINY = 1
+
+CPP_SOURCES = \
+ glutBlocker.cpp \
+ glutInit.cpp \
+ glutWindow.cpp \
+ glutEvent.cpp \
+ glutCallback.cpp \
+ glutOverlay.cpp \
+ glutGet.cpp \
+ glutColor.cpp \
+ glutCursor.cpp \
+ glutMenu.cpp \
+ glutDstr.cpp \
+ beos_x11.cpp
+
+C_SOURCES = \
+ glut_8x13.c \
+ glut_9x15.c \
+ glut_bitmap.c \
+ glut_bwidth.c \
+ glut_hel10.c \
+ glut_hel12.c \
+ glut_hel18.c \
+ glut_tr10.c \
+ glut_tr24.c \
+ glut_mroman.c \
+ glut_roman.c \
+ glut_stroke.c \
+ glut_swidth.c \
+ glut_shapes.c \
+ glut_teapot.c \
+ glut_vidresize.c \
+ glut_util.c \
+ glut_ext.c
+
+OBJECTS = \
+ $(CPP_SOURCES:.cpp=.o) \
+ $(C_SOURCES:.c=.o)
+
+INCLUDES = \
+ -I. \
+ -I- \
+ -I$(TOP)/include
+
+# Rules
+
+.cpp.o:
+ $(CC) -c $< $(INCLUDES) $(CFLAGS) $(GLUT_CFLAGS) -o $@
+
+.c.o:
+ $(CC) -c $< $(INCLUDES) $(CFLAGS) $(GLUT_CFLAGS) -o $@
+
+
+# ---- TARGETS
+
+default: $(LIB_DIR) $(LIB_DIR)/$(GLUT_LIB_NAME)
+
+# Create the lib directory if missing
+$(LIB_DIR):
+ mkdir $(LIB_DIR)
+
+# Make the library
+$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS)
+ @$(TOP)/bin/mklib -o $(GLUT_LIB) -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) -patch $(GLUT_TINY) \
+ -install $(LIB_DIR) $(MKLIB_OPTIONS) $(GLUT_LIB_DEPS) \
+ $(OBJECTS)
+
+clean:
+ -rm -f *.o
+
+depend: $(SOURCES)
+ touch depend
+ $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(SOURCES) > /dev/null
+
+include depend