[gtkglext] Eliminate EXTRA_PROGRAMS, all-local, clean-local, use noinst_PROGRAMS instead.
- From: Ralf Corsépius <rcorsepius src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkglext] Eliminate EXTRA_PROGRAMS, all-local, clean-local, use noinst_PROGRAMS instead.
- Date: Tue, 22 Dec 2009 17:39:26 +0000 (UTC)
commit faa55ceac0f4f3b4102aa5d5c836b948080bb237
Author: Ralf Corsepius <rcorsepius src gnome org>
Date: Tue Dec 22 18:18:57 2009 +0100
Eliminate EXTRA_PROGRAMS, all-local, clean-local, use noinst_PROGRAMS instead.
examples/Makefile.am | 20 ++++----------------
1 files changed, 4 insertions(+), 16 deletions(-)
---
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 14d9902..822e361 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -35,7 +35,7 @@ AM_LDFLAGS = \
$(GLU_LIBS) \
$(GDKGLEXT_WIN_LIBS)
-common_programs = \
+noinst_PROGRAMS = \
low-level \
simple \
simple-mixed \
@@ -58,17 +58,11 @@ common_programs = \
font-pangoft2 \
font-pangoft2-tex
-x11_programs = \
- simple-pbuffer-sgix \
- glxinfo
-
-win32_programs = \
- wglinfo
-
if PLATFORM_WIN32
-EXTRA_PROGRAMS = $(common_programs) $(win32_programs)
+noinst_PROGRAMS += wglinfo
else
-EXTRA_PROGRAMS = $(common_programs) $(x11_programs)
+noinst_PROGRAMS += simple-pbuffer-sgix
+noinst_PROGRAMS += glxinfo
endif
low_level_SOURCES = low-level.c
@@ -125,9 +119,3 @@ glxinfo_LDADD = $(GL_LIBS) $(WINDOWING_LIBS) $(MATH_LIB)
wglinfo_SOURCES = wglinfo.c
wglinfo_LDADD = $(GL_LIBS) $(WINDOWING_LIBS)
-
-
-all-local: $(EXTRA_PROGRAMS)
-
-clean-local:
- -rm -f $(EXTRA_PROGRAMS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]