diff options
author | Julien Cristau <jcristau@debian.org> | 2008-07-06 14:03:58 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-07-06 14:03:58 +0200 |
commit | dabd09f5a92e5497ac6ac9b4ba26f806ddb25206 (patch) | |
tree | d9d5e30e7a3aca077386d97ffa20d1db388b662f | |
parent | 46ffb3c0b1b493fd33d552771e0dee89939569fb (diff) |
some more debian/rules adjustments
build the software libGL with --disable-gl-osmesa, and try to fix some
rules dependencies
-rwxr-xr-x | debian/rules | 115 |
1 files changed, 67 insertions, 48 deletions
diff --git a/debian/rules b/debian/rules index 0c716df4423..f7a35d2f044 100755 --- a/debian/rules +++ b/debian/rules @@ -51,8 +51,11 @@ ARCH_INSTALL_STAMPS = $(addprefix $(STAMP)-install-, $(CONFIGS)) QUILT_STAMPFN = $(STAMP_DIR)/patch include /usr/share/quilt/quilt.make -confflags-common = --disable-glu --disable-glut --disable-glw \ - CFLAGS="$(CFLAGS)" +confflags-common = \ + --disable-glu \ + --disable-glut \ + --disable-glw \ + CFLAGS="$(CFLAGS)" DRI_DRIVERS = swrast @@ -82,49 +85,65 @@ confflags-dri = \ $(DIRECT_RENDERING) \ $(confflags-common) -confflags-osmesa = --with-driver=osmesa \ - --with-demos= \ - $(confflags-common) - -confflags-osmesa-static = --with-driver=osmesa \ - --enable-static \ - --with-demos= \ - $(confflags-common) - -confflags-osmesa16 = --with-driver=osmesa --with-osmesa-bits=16 \ - --with-demos= \ - $(confflags-common) - -confflags-osmesa16-static = --with-driver=osmesa --with-osmesa-bits=16 \ - --enable-static \ - --with-demos= \ - $(confflags-common) - -confflags-osmesa32 = --with-driver=osmesa --with-osmesa-bits=32 \ - --with-demos= \ - $(confflags-common) - -confflags-osmesa32-static = --with-driver=osmesa --with-osmesa-bits=32 \ - --enable-static \ - --with-demos= \ - $(confflags-common) - -confflags-swx11+glu = --with-driver=xlib \ - --with-demos= \ - --disable-glut \ - CFLAGS="$(CFLAGS)" - -confflags-swx11+glu-static = --with-driver=xlib \ - --enable-static \ - --with-demos= \ - --disable-glut \ - CFLAGS="$(CFLAGS)" - -confflags-swx11+glu-i386-i686 = --with-driver=xlib \ - --with-demos= \ - --disable-glut \ - --libdir=/usr/lib/i686/cmov \ - CFLAGS="$(CFLAGS) -march=i686" +confflags-osmesa = \ + --with-driver=osmesa \ + --with-demos= \ + $(confflags-common) + +confflags-osmesa-static = \ + --with-driver=osmesa \ + --enable-static \ + --with-demos= \ + $(confflags-common) + +confflags-osmesa16 = \ + --with-driver=osmesa \ + --with-osmesa-bits=16 \ + --with-demos= \ + $(confflags-common) + +confflags-osmesa16-static = \ + --with-driver=osmesa \ + --with-osmesa-bits=16 \ + --enable-static \ + --with-demos= \ + $(confflags-common) + +confflags-osmesa32 = \ + --with-driver=osmesa \ + --with-osmesa-bits=32 \ + --with-demos= \ + $(confflags-common) + +confflags-osmesa32-static = \ + --with-driver=osmesa \ + --with-osmesa-bits=32 \ + --enable-static \ + --with-demos= \ + $(confflags-common) + +confflags-swx11+glu = \ + --with-driver=xlib \ + --disable-gl-osmesa \ + --with-demos= \ + --disable-glut \ + CFLAGS="$(CFLAGS)" + +confflags-swx11+glu-static = \ + --with-driver=xlib \ + --disable-gl-osmesa \ + --enable-static \ + --with-demos= \ + --disable-glut \ + CFLAGS="$(CFLAGS)" + +confflags-swx11+glu-i386-i686 = \ + --with-driver=xlib \ + --disable-gl-osmesa \ + --with-demos= \ + --disable-glut \ + --libdir=/usr/lib/i686/cmov \ + CFLAGS="$(CFLAGS) -march=i686" configure: $(QUILT_STAMPFN) configure.ac autoreconf -vfi @@ -139,7 +158,7 @@ $(STAMP_DIR): $(QUILT_STAMPFN): $(STAMP_DIR) -build: configs $(BUILD_STAMPS) +build: $(BUILD_STAMPS) $(STAMP)-build-%: configure dh_testdir @@ -159,7 +178,7 @@ pre-install: dh_testdir dh_testroot dh_clean -k - rm -rf $(INSTALL_STAMPS) + rm -rf $(ARCH_INSTALL_STAMPS) install: pre-install $(ARCH_INSTALL_STAMPS) @@ -188,7 +207,7 @@ clean: unpatch dh_clean # Build architecture-independent files here. -binary-indep: build install +binary-indep: install dh_testdir dh_testroot dh_installchangelogs -i |