summaryrefslogtreecommitdiffstats
path: root/progs/egl/openvg/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-21 22:12:32 -0600
committerChia-I Wu <[email protected]>2010-05-21 22:13:32 -0600
commite8d8ea2a3962cc07244906f2a3858b4f1b144721 (patch)
treef621a504ccb179c01bf86cd4054bab4b7dbaa356 /progs/egl/openvg/Makefile
parentab780bccb737e0dc25a55b5e54faad9c4a790ac0 (diff)
progs: Remove remaining EGL demos.
They have been moved to git+ssh://git.freedesktop.org/git/mesa/demos.
Diffstat (limited to 'progs/egl/openvg/Makefile')
-rw-r--r--progs/egl/openvg/Makefile51
1 files changed, 0 insertions, 51 deletions
diff --git a/progs/egl/openvg/Makefile b/progs/egl/openvg/Makefile
deleted file mode 100644
index 9a96ccc45f7..00000000000
--- a/progs/egl/openvg/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# progs/egl/openvg/Makefile
-
-TOP = ../../..
-include $(TOP)/configs/current
-
-VG_LIBS=-lm -L$(TOP)/$(LIB_DIR) -l$(EGL_LIB) -l$(VG_LIB)
-INCLUDE_DIRS = -I$(TOP)/include $(X11_CFLAGS)
-
-EGLUT_DIR = $(TOP)/progs/egl/eglut
-
-EGLUT_DEMOS = \
- sp
-
-EGLUT_X11_DEMOS := $(addsuffix _x11,$(EGLUT_DEMOS))
-EGLUT_SCREEN_DEMOS := $(addsuffix _screen,$(EGLUT_DEMOS))
-
-PROGRAMS = \
- lion_x11 \
- lion_screen
-
-.c.o:
- $(CC) -c $(INCLUDE_DIRS) -I$(EGLUT_DIR) $(CFLAGS) $< -o $@
-
-
-
-default: $(PROGRAMS) $(EGLUT_X11_DEMOS) $(EGLUT_SCREEN_DEMOS)
-
-lion_x11: lion.o lion-render.o $(EGLUT_DIR)/libeglut-x11.a
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ lion.o lion-render.o \
- -L$(EGLUT_DIR) -leglut-x11 $(VG_LIBS) $(X11_LIBS)
-
-lion_screen: lion.o lion-render.o $(EGLUT_DIR)/libeglut-screen.a
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ lion.o lion-render.o \
- -L$(EGLUT_DIR) -leglut-screen $(VG_LIBS)
-
-
-# define the rules for EGLUT demos
-define eglut-demo-rule
-$(1)_x11 $(1)_screen: $(1)_%: $(1).o $(EGLUT_DIR)/libeglut-%.a
-endef
-$(foreach demo, $(EGLUT_DEMOS), $(eval $(call eglut-demo-rule,$(demo))))
-
-# build EGLUT demos
-$(EGLUT_X11_DEMOS):
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L$(EGLUT_DIR) -leglut-$* $(VG_LIBS) $(X11_LIBS)
-$(EGLUT_SCREEN_DEMOS):
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L$(EGLUT_DIR) -leglut-$* $(VG_LIBS)
-
-clean:
- rm -f *.o *~
- rm -f $(EGLUT_X11_DEMOS) $(EGLUT_SCREEN_DEMOS)