Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 1 | # Top-level Mesa makefile |
| 2 | |
| 3 | TOP = . |
| 4 | |
| 5 | SUBDIRS = src progs |
| 6 | |
| 7 | |
| 8 | default: $(TOP)/configs/current |
| 9 | @for dir in $(SUBDIRS) ; do \ |
Brian | 16c503f | 2007-05-09 16:22:53 -0600 | [diff] [blame] | 10 | if [ -d $$dir ] ; then \ |
| 11 | (cd $$dir && $(MAKE)) || exit 1 ; \ |
| 12 | fi \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 13 | done |
| 14 | |
José Fonseca | 9df478d | 2008-02-18 16:47:35 +0900 | [diff] [blame] | 15 | all: default |
| 16 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 17 | |
Brian Paul | 6d50d91 | 2004-07-01 15:32:51 +0000 | [diff] [blame] | 18 | doxygen: |
Dan Nicholson | cba14d8 | 2008-05-06 12:29:53 -0700 | [diff] [blame] | 19 | cd doxygen && $(MAKE) |
Brian Paul | 6d50d91 | 2004-07-01 15:32:51 +0000 | [diff] [blame] | 20 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 21 | clean: |
Dan Nicholson | a6464b3 | 2008-05-07 11:35:23 -0700 | [diff] [blame] | 22 | -@touch $(TOP)/configs/current |
| 23 | -@for dir in $(SUBDIRS) ; do \ |
Brian | 16c503f | 2007-05-09 16:22:53 -0600 | [diff] [blame] | 24 | if [ -d $$dir ] ; then \ |
| 25 | (cd $$dir && $(MAKE) clean) ; \ |
| 26 | fi \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 27 | done |
Dan Nicholson | a6464b3 | 2008-05-07 11:35:23 -0700 | [diff] [blame] | 28 | -@test -s $(TOP)/configs/current || rm -f $(TOP)/configs/current |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 29 | |
| 30 | |
Dan Nicholson | a6464b3 | 2008-05-07 11:35:23 -0700 | [diff] [blame] | 31 | realclean: clean |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 32 | -rm -rf lib* |
| 33 | -rm -f $(TOP)/configs/current |
Dan Nicholson | dca1b79 | 2007-10-23 09:25:58 -0700 | [diff] [blame] | 34 | -rm -f $(TOP)/configs/autoconf |
| 35 | -rm -rf autom4te.cache |
Dan Nicholson | c5e2b85 | 2008-05-06 14:00:43 -0700 | [diff] [blame] | 36 | -find . '(' -name '*.o' -o -name '*.a' -o -name '*.so' -o \ |
| 37 | -name depend -o -name depend.bak ')' -exec rm -f '{}' ';' |
Keith Whitwell | ae68c32 | 2004-12-15 11:03:41 +0000 | [diff] [blame] | 38 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 39 | |
Brian Paul | 666702b | 2009-04-16 09:31:45 -0600 | [diff] [blame] | 40 | distclean: realclean |
| 41 | |
| 42 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 43 | install: |
Brian Paul | 0e794a1 | 2006-06-22 22:50:48 +0000 | [diff] [blame] | 44 | @for dir in $(SUBDIRS) ; do \ |
Brian | 16c503f | 2007-05-09 16:22:53 -0600 | [diff] [blame] | 45 | if [ -d $$dir ] ; then \ |
| 46 | (cd $$dir && $(MAKE) install) || exit 1 ; \ |
| 47 | fi \ |
Brian Paul | 0e794a1 | 2006-06-22 22:50:48 +0000 | [diff] [blame] | 48 | done |
Brian Paul | 81ca616 | 2005-01-03 15:35:00 +0000 | [diff] [blame] | 49 | |
Brian | 16c503f | 2007-05-09 16:22:53 -0600 | [diff] [blame] | 50 | |
Brian Paul | 666702b | 2009-04-16 09:31:45 -0600 | [diff] [blame] | 51 | .PHONY: default doxygen clean realclean distclean install linux-directfb-install |
Dan Nicholson | 50f7e6f | 2008-05-06 11:52:34 -0700 | [diff] [blame] | 52 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 53 | # If there's no current configuration file |
| 54 | $(TOP)/configs/current: |
| 55 | @echo |
| 56 | @echo |
| 57 | @echo "Please choose a configuration from the following list:" |
Dan Nicholson | 38c5b14 | 2008-05-06 15:46:40 -0700 | [diff] [blame] | 58 | @ls -1 $(TOP)/configs | grep -v "current\|default\|CVS\|autoconf.*" |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 59 | @echo |
| 60 | @echo "Then type 'make <config>' (ex: 'make linux-x86')" |
Dan Nicholson | 38c5b14 | 2008-05-06 15:46:40 -0700 | [diff] [blame] | 61 | @echo |
| 62 | @echo "Or, run './configure' then 'make'" |
| 63 | @echo "See './configure --help' for details" |
| 64 | @echo |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 65 | @echo "(ignore the following error message)" |
| 66 | @exit 1 |
| 67 | |
| 68 | |
| 69 | # Rules to set/install a specific build configuration |
| 70 | aix \ |
Karl Schultz | a16bdb5 | 2004-10-01 13:33:26 +0000 | [diff] [blame] | 71 | aix-64 \ |
Brian Paul | 294d9ab | 2006-04-13 03:00:14 +0000 | [diff] [blame] | 72 | aix-64-static \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 73 | aix-gcc \ |
Brian Paul | 6d50d91 | 2004-07-01 15:32:51 +0000 | [diff] [blame] | 74 | aix-static \ |
Dan Nicholson | dca1b79 | 2007-10-23 09:25:58 -0700 | [diff] [blame] | 75 | autoconf \ |
Brian | 792b882 | 2007-08-02 20:26:49 -0600 | [diff] [blame] | 76 | bluegene-osmesa \ |
Brian | a5467fb | 2007-09-20 15:11:14 -0600 | [diff] [blame] | 77 | bluegene-xlc-osmesa \ |
Philippe Houdoin | 92ec997 | 2004-08-14 10:10:42 +0000 | [diff] [blame] | 78 | beos \ |
Alex Neundorf | cae5b7f | 2007-10-24 16:31:22 -0600 | [diff] [blame] | 79 | catamount-osmesa-pgi \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 80 | darwin \ |
Jeremy Huddleston | 7c7fece | 2008-03-10 15:13:28 -0700 | [diff] [blame] | 81 | darwin-fat-32bit \ |
| 82 | darwin-fat-all \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 83 | freebsd \ |
Eric Anholt | cc18221 | 2004-10-28 00:19:21 +0000 | [diff] [blame] | 84 | freebsd-dri \ |
Eric Anholt | f054fa8 | 2005-05-28 20:17:06 +0000 | [diff] [blame] | 85 | freebsd-dri-amd64 \ |
Eric Anholt | cc18221 | 2004-10-28 00:19:21 +0000 | [diff] [blame] | 86 | freebsd-dri-x86 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 87 | hpux10 \ |
| 88 | hpux10-gcc \ |
Brian Paul | ff7d3bb | 2004-03-30 14:56:47 +0000 | [diff] [blame] | 89 | hpux10-static \ |
Karl Schultz | 786eef2 | 2004-10-01 20:19:16 +0000 | [diff] [blame] | 90 | hpux11-32 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 91 | hpux11-32-static \ |
| 92 | hpux11-32-static-nothreads \ |
Karl Schultz | 786eef2 | 2004-10-01 20:19:16 +0000 | [diff] [blame] | 93 | hpux11-64 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 94 | hpux11-64-static \ |
Brian Paul | 294d9ab | 2006-04-13 03:00:14 +0000 | [diff] [blame] | 95 | hpux11-ia64 \ |
| 96 | hpux11-ia64-static \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 97 | hpux9 \ |
| 98 | hpux9-gcc \ |
| 99 | irix6-64 \ |
| 100 | irix6-64-static \ |
| 101 | irix6-n32 \ |
| 102 | irix6-n32-static \ |
| 103 | irix6-o32 \ |
| 104 | irix6-o32-static \ |
| 105 | linux \ |
Keith Whitwell | 211d7ab | 2009-11-04 13:03:35 +0000 | [diff] [blame] | 106 | linux-i965 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 107 | linux-alpha \ |
| 108 | linux-alpha-static \ |
Brian | 88b715b | 2007-12-02 15:23:51 -0700 | [diff] [blame] | 109 | linux-cell \ |
Brian Paul | ab93aa7 | 2008-09-03 09:08:19 -0600 | [diff] [blame] | 110 | linux-cell-debug \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 111 | linux-debug \ |
Brian Paul | 81ca616 | 2005-01-03 15:35:00 +0000 | [diff] [blame] | 112 | linux-directfb \ |
Keith Whitwell | e61df58 | 2004-04-14 12:44:07 +0000 | [diff] [blame] | 113 | linux-dri \ |
Brian | 15b3bd1 | 2007-02-23 11:58:46 -0700 | [diff] [blame] | 114 | linux-dri-debug \ |
Dave Airlie | 898c03a | 2004-05-03 11:30:37 +0000 | [diff] [blame] | 115 | linux-dri-x86 \ |
Keith Whitwell | 69ab4fe | 2004-04-30 08:29:04 +0000 | [diff] [blame] | 116 | linux-dri-x86-64 \ |
Ian Romanick | 447cdd5 | 2004-10-13 19:56:15 +0000 | [diff] [blame] | 117 | linux-dri-ppc \ |
Jeremy Kolb | 97a3023 | 2006-02-19 22:30:46 +0000 | [diff] [blame] | 118 | linux-dri-xcb \ |
Jakob Bornecrantz | 9395fb6 | 2008-05-22 16:24:51 +0200 | [diff] [blame] | 119 | linux-egl \ |
Ian Romanick | dc6e2c7 | 2005-07-29 17:25:50 +0000 | [diff] [blame] | 120 | linux-indirect \ |
Keith Whitwell | a5cb1aa | 2005-04-29 17:31:10 +0000 | [diff] [blame] | 121 | linux-fbdev \ |
Daniel Borca | d3746ca | 2004-04-07 06:37:50 +0000 | [diff] [blame] | 122 | linux-glide \ |
Brian Paul | 294d9ab | 2006-04-13 03:00:14 +0000 | [diff] [blame] | 123 | linux-ia64-icc \ |
| 124 | linux-ia64-icc-static \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 125 | linux-icc \ |
| 126 | linux-icc-static \ |
Zack Rusin | b04430e | 2007-10-22 11:00:28 -0400 | [diff] [blame] | 127 | linux-llvm \ |
Brian Paul | 6a7b6a5 | 2009-12-18 11:17:06 -0700 | [diff] [blame] | 128 | linux-llvm-debug \ |
Chia-I Wu | 97ea8e9 | 2009-11-06 16:27:19 +0800 | [diff] [blame] | 129 | linux-opengl-es \ |
Brian Paul | 525eb0b | 2006-07-04 16:49:58 +0000 | [diff] [blame] | 130 | linux-osmesa \ |
Brian Paul | df37cde | 2009-05-18 08:46:17 -0600 | [diff] [blame] | 131 | linux-osmesa-static \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 132 | linux-osmesa16 \ |
| 133 | linux-osmesa16-static \ |
| 134 | linux-osmesa32 \ |
| 135 | linux-ppc \ |
| 136 | linux-ppc-static \ |
José Fonseca | 83a674a | 2007-09-19 23:43:36 +0100 | [diff] [blame] | 137 | linux-profile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 138 | linux-solo \ |
Dave Airlie | e520b72 | 2004-09-07 00:41:40 +0000 | [diff] [blame] | 139 | linux-solo-x86 \ |
Brian Paul | adcb228 | 2004-04-19 22:23:10 +0000 | [diff] [blame] | 140 | linux-solo-ia64 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 141 | linux-sparc \ |
| 142 | linux-sparc5 \ |
| 143 | linux-static \ |
| 144 | linux-ultrasparc \ |
Keith Whitwell | 6fb2356 | 2004-04-14 21:19:34 +0000 | [diff] [blame] | 145 | linux-tcc \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 146 | linux-x86 \ |
Keith Whitwell | e61df58 | 2004-04-14 12:44:07 +0000 | [diff] [blame] | 147 | linux-x86-debug \ |
Brian Paul | 7644bfb | 2005-03-03 01:44:42 +0000 | [diff] [blame] | 148 | linux-x86-32 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 149 | linux-x86-64 \ |
Brian Paul | 42fa812 | 2005-05-07 16:59:58 +0000 | [diff] [blame] | 150 | linux-x86-64-debug \ |
José Fonseca | 59424e2 | 2007-09-28 17:17:11 +0000 | [diff] [blame] | 151 | linux-x86-64-profile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 152 | linux-x86-64-static \ |
Daniel Borca | d3746ca | 2004-04-07 06:37:50 +0000 | [diff] [blame] | 153 | linux-x86-glide \ |
José Fonseca | 59424e2 | 2007-09-28 17:17:11 +0000 | [diff] [blame] | 154 | linux-x86-profile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 155 | linux-x86-static \ |
| 156 | netbsd \ |
| 157 | openbsd \ |
| 158 | osf1 \ |
Brian Paul | 294d9ab | 2006-04-13 03:00:14 +0000 | [diff] [blame] | 159 | osf1-static \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 160 | solaris-x86 \ |
| 161 | solaris-x86-gcc \ |
Brian Paul | c717ffa | 2006-05-17 22:51:44 +0000 | [diff] [blame] | 162 | solaris-x86-gcc-static \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 163 | sunos4 \ |
| 164 | sunos4-gcc \ |
| 165 | sunos4-static \ |
| 166 | sunos5 \ |
| 167 | sunos5-gcc \ |
Brian Paul | 9073c40 | 2006-04-07 15:16:46 +0000 | [diff] [blame] | 168 | sunos5-64-gcc \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 169 | sunos5-smp \ |
Brian Paul | 294d9ab | 2006-04-13 03:00:14 +0000 | [diff] [blame] | 170 | sunos5-v8 \ |
| 171 | sunos5-v8-static \ |
| 172 | sunos5-v9 \ |
| 173 | sunos5-v9-static \ |
Brian | 2c0b3d8 | 2007-07-31 09:32:10 -0600 | [diff] [blame] | 174 | sunos5-v9-cc-g++ \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 175 | ultrix-gcc: |
José Fonseca | c3168e0 | 2010-02-14 13:15:49 +0000 | [diff] [blame] | 176 | @ if test -f configs/current -o -L configs/current; then \ |
| 177 | if ! cmp configs/$@ configs/current > /dev/null; then \ |
| 178 | echo "Please run 'make realclean' before changing configs" ; \ |
| 179 | exit 1 ; \ |
| 180 | fi ; \ |
| 181 | else \ |
| 182 | cd configs && rm -f current && ln -s $@ current ; \ |
Brian Paul | 3163542 | 2006-08-03 16:58:06 +0000 | [diff] [blame] | 183 | fi |
Eric Anholt | 2fb5d15 | 2004-06-01 00:06:14 +0000 | [diff] [blame] | 184 | $(MAKE) default |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 185 | |
| 186 | |
| 187 | # Rules for making release tarballs |
| 188 | |
Ian Romanick | bf75ee9 | 2009-12-16 09:15:09 -0800 | [diff] [blame] | 189 | VERSION=7.7 |
Brian Paul | 681a13e | 2009-02-05 08:39:10 -0700 | [diff] [blame] | 190 | DIRECTORY = Mesa-$(VERSION) |
| 191 | LIB_NAME = MesaLib-$(VERSION) |
| 192 | DEMO_NAME = MesaDemos-$(VERSION) |
| 193 | GLUT_NAME = MesaGLUT-$(VERSION) |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 194 | |
Brian Paul | dff11bb | 2005-07-21 18:44:52 +0000 | [diff] [blame] | 195 | MAIN_FILES = \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 196 | $(DIRECTORY)/Makefile* \ |
Dan Nicholson | 7279623 | 2007-12-05 17:23:00 -0800 | [diff] [blame] | 197 | $(DIRECTORY)/configure \ |
| 198 | $(DIRECTORY)/configure.ac \ |
Dan Nicholson | d368eed | 2008-05-05 18:24:21 -0700 | [diff] [blame] | 199 | $(DIRECTORY)/acinclude.m4 \ |
Dan Nicholson | 7279623 | 2007-12-05 17:23:00 -0800 | [diff] [blame] | 200 | $(DIRECTORY)/aclocal.m4 \ |
Dan Nicholson | 7279623 | 2007-12-05 17:23:00 -0800 | [diff] [blame] | 201 | $(DIRECTORY)/bin/config.guess \ |
| 202 | $(DIRECTORY)/bin/config.sub \ |
| 203 | $(DIRECTORY)/bin/install-sh \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 204 | $(DIRECTORY)/bin/mklib \ |
Brian Paul | 73dd09f | 2006-10-22 22:37:30 +0000 | [diff] [blame] | 205 | $(DIRECTORY)/bin/minstall \ |
Dan Nicholson | fbb96a0 | 2008-06-10 06:06:40 -0700 | [diff] [blame] | 206 | $(DIRECTORY)/bin/version.mk \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 207 | $(DIRECTORY)/configs/[a-z]* \ |
| 208 | $(DIRECTORY)/docs/*.html \ |
| 209 | $(DIRECTORY)/docs/COPYING \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 210 | $(DIRECTORY)/docs/README.* \ |
| 211 | $(DIRECTORY)/docs/RELNOTES* \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 212 | $(DIRECTORY)/docs/*.spec \ |
| 213 | $(DIRECTORY)/include/GL/internal/glcore.h \ |
Brian Paul | 63dffa4 | 2005-08-08 21:30:12 +0000 | [diff] [blame] | 214 | $(DIRECTORY)/include/GL/dmesa.h \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 215 | $(DIRECTORY)/include/GL/ggimesa.h \ |
| 216 | $(DIRECTORY)/include/GL/gl.h \ |
| 217 | $(DIRECTORY)/include/GL/glext.h \ |
| 218 | $(DIRECTORY)/include/GL/gl_mangle.h \ |
| 219 | $(DIRECTORY)/include/GL/glu.h \ |
| 220 | $(DIRECTORY)/include/GL/glu_mangle.h \ |
| 221 | $(DIRECTORY)/include/GL/glx.h \ |
| 222 | $(DIRECTORY)/include/GL/glxext.h \ |
| 223 | $(DIRECTORY)/include/GL/glx_mangle.h \ |
Brian Paul | 159ca32 | 2006-03-30 14:27:25 +0000 | [diff] [blame] | 224 | $(DIRECTORY)/include/GL/glfbdev.h \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 225 | $(DIRECTORY)/include/GL/mesa_wgl.h \ |
| 226 | $(DIRECTORY)/include/GL/mglmesa.h \ |
| 227 | $(DIRECTORY)/include/GL/osmesa.h \ |
| 228 | $(DIRECTORY)/include/GL/svgamesa.h \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 229 | $(DIRECTORY)/include/GL/vms_x_fix.h \ |
Brian Paul | 3ba370a | 2009-03-05 08:33:50 -0700 | [diff] [blame] | 230 | $(DIRECTORY)/include/GL/wglext.h \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 231 | $(DIRECTORY)/include/GL/wmesa.h \ |
michal | 068596c | 2009-12-10 01:03:15 +0100 | [diff] [blame] | 232 | $(DIRECTORY)/src/glsl/Makefile \ |
Brian Paul | c9a210f | 2010-01-07 08:42:43 -0700 | [diff] [blame] | 233 | $(DIRECTORY)/src/glsl/Makefile.template \ |
michal | 068596c | 2009-12-10 01:03:15 +0100 | [diff] [blame] | 234 | $(DIRECTORY)/src/glsl/*/Makefile \ |
| 235 | $(DIRECTORY)/src/glsl/*/SConscript \ |
| 236 | $(DIRECTORY)/src/glsl/*/*.[ch] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 237 | $(DIRECTORY)/src/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 238 | $(DIRECTORY)/src/mesa/Makefile* \ |
Brian Paul | 7fcf4c6 | 2009-02-24 14:27:43 -0700 | [diff] [blame] | 239 | $(DIRECTORY)/src/mesa/sources.mak \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 240 | $(DIRECTORY)/src/mesa/descrip.mms \ |
Brian | f3419d5 | 2007-09-13 09:27:10 -0600 | [diff] [blame] | 241 | $(DIRECTORY)/src/mesa/gl.pc.in \ |
Brian Paul | 1598be5 | 2009-01-12 07:55:14 -0700 | [diff] [blame] | 242 | $(DIRECTORY)/src/mesa/osmesa.pc.in \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 243 | $(DIRECTORY)/src/mesa/depend \ |
| 244 | $(DIRECTORY)/src/mesa/main/*.[chS] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 245 | $(DIRECTORY)/src/mesa/main/descrip.mms \ |
| 246 | $(DIRECTORY)/src/mesa/glapi/*.[chS] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 247 | $(DIRECTORY)/src/mesa/math/*.[ch] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 248 | $(DIRECTORY)/src/mesa/math/descrip.mms \ |
Brian Paul | 1e2a71c | 2009-08-24 13:12:04 -0600 | [diff] [blame] | 249 | $(DIRECTORY)/src/mesa/shader/*.[chly] \ |
| 250 | $(DIRECTORY)/src/mesa/shader/Makefile \ |
Karl Schultz | d48ef3e | 2004-08-14 21:42:50 +0000 | [diff] [blame] | 251 | $(DIRECTORY)/src/mesa/shader/descrip.mms \ |
Karl Schultz | 5b10d71 | 2005-06-03 15:24:55 +0000 | [diff] [blame] | 252 | $(DIRECTORY)/src/mesa/shader/slang/*.[ch] \ |
| 253 | $(DIRECTORY)/src/mesa/shader/slang/descrip.mms \ |
| 254 | $(DIRECTORY)/src/mesa/shader/slang/library/*.[ch] \ |
Brian | 04c401c | 2007-05-02 08:29:14 -0600 | [diff] [blame] | 255 | $(DIRECTORY)/src/mesa/shader/slang/library/*.gc \ |
| 256 | $(DIRECTORY)/src/mesa/shader/slang/library/*.syn \ |
| 257 | $(DIRECTORY)/src/mesa/shader/slang/library/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 258 | $(DIRECTORY)/src/mesa/swrast/*.[ch] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 259 | $(DIRECTORY)/src/mesa/swrast/descrip.mms \ |
| 260 | $(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 261 | $(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \ |
Richard Hughes | e9c614a | 2007-04-07 08:39:24 -0600 | [diff] [blame] | 262 | $(DIRECTORY)/src/mesa/vbo/*.[chS] \ |
| 263 | $(DIRECTORY)/src/mesa/vbo/descrip.mms \ |
Brian Paul | 02ca8fe | 2004-08-13 20:58:59 +0000 | [diff] [blame] | 264 | $(DIRECTORY)/src/mesa/tnl/*.[chS] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 265 | $(DIRECTORY)/src/mesa/tnl/descrip.mms \ |
| 266 | $(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \ |
| 267 | $(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \ |
| 268 | $(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \ |
Brian Paul | 44029f1 | 2008-07-08 16:16:57 -0600 | [diff] [blame] | 269 | $(DIRECTORY)/src/mesa/drivers/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 270 | $(DIRECTORY)/src/mesa/drivers/beos/*.cpp \ |
Brian Paul | 244af16 | 2004-08-14 21:12:37 +0000 | [diff] [blame] | 271 | $(DIRECTORY)/src/mesa/drivers/beos/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 272 | $(DIRECTORY)/src/mesa/drivers/common/*.[ch] \ |
| 273 | $(DIRECTORY)/src/mesa/drivers/common/descrip.mms \ |
Karl Schultz | 5b10d71 | 2005-06-03 15:24:55 +0000 | [diff] [blame] | 274 | $(DIRECTORY)/src/mesa/drivers/directfb/*.[ch] \ |
| 275 | $(DIRECTORY)/src/mesa/drivers/directfb/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 276 | $(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \ |
Brian Paul | e4d9cc9 | 2008-07-08 16:28:33 -0600 | [diff] [blame] | 277 | $(DIRECTORY)/src/mesa/drivers/fbdev/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 278 | $(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \ |
| 279 | $(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 280 | $(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \ |
| 281 | $(DIRECTORY)/src/mesa/drivers/ggi/ggimesa.conf.in \ |
| 282 | $(DIRECTORY)/src/mesa/drivers/ggi/default/*.c \ |
| 283 | $(DIRECTORY)/src/mesa/drivers/ggi/default/genkgi.conf.in \ |
| 284 | $(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \ |
| 285 | $(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \ |
| 286 | $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \ |
Brian Paul | 7d3feef | 2008-07-08 16:26:06 -0600 | [diff] [blame] | 287 | $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 288 | $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \ |
| 289 | $(DIRECTORY)/src/mesa/drivers/osmesa/descrip.mms \ |
| 290 | $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 291 | $(DIRECTORY)/src/mesa/drivers/osmesa/*.[ch] \ |
| 292 | $(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \ |
| 293 | $(DIRECTORY)/src/mesa/drivers/windows/*/*.[ch] \ |
| 294 | $(DIRECTORY)/src/mesa/drivers/windows/*/*.def \ |
Brian Paul | 7d3feef | 2008-07-08 16:26:06 -0600 | [diff] [blame] | 295 | $(DIRECTORY)/src/mesa/drivers/x11/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 296 | $(DIRECTORY)/src/mesa/drivers/x11/descrip.mms \ |
| 297 | $(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \ |
Brian Paul | 835a9fe | 2008-10-28 18:27:21 -0600 | [diff] [blame] | 298 | $(DIRECTORY)/src/mesa/drivers/glslcompiler/Makefile \ |
| 299 | $(DIRECTORY)/src/mesa/drivers/glslcompiler/glslcompiler.c \ |
Brian Paul | 03f52fe | 2005-07-01 01:55:30 +0000 | [diff] [blame] | 300 | $(DIRECTORY)/src/mesa/ppc/*.[ch] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 301 | $(DIRECTORY)/src/mesa/sparc/*.[chS] \ |
| 302 | $(DIRECTORY)/src/mesa/x86/Makefile \ |
| 303 | $(DIRECTORY)/src/mesa/x86/*.[ch] \ |
| 304 | $(DIRECTORY)/src/mesa/x86/*.S \ |
Brian Paul | 03f52fe | 2005-07-01 01:55:30 +0000 | [diff] [blame] | 305 | $(DIRECTORY)/src/mesa/x86/rtasm/*.[ch] \ |
| 306 | $(DIRECTORY)/src/mesa/x86-64/*.[chS] \ |
| 307 | $(DIRECTORY)/src/mesa/x86-64/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 308 | $(DIRECTORY)/progs/Makefile \ |
| 309 | $(DIRECTORY)/progs/util/README \ |
| 310 | $(DIRECTORY)/progs/util/*.[ch] \ |
| 311 | $(DIRECTORY)/progs/util/sampleMakefile \ |
Brian Paul | dace4e3 | 2009-01-20 09:13:06 -0700 | [diff] [blame] | 312 | $(DIRECTORY)/windows/VC8/ |
Brian | b1b154c | 2007-04-24 08:58:12 -0600 | [diff] [blame] | 313 | |
Chia-I Wu | bfa66bd | 2009-09-21 17:57:57 +0800 | [diff] [blame] | 314 | ES_FILES = \ |
Brian Paul | 8e6337f | 2009-02-24 17:21:45 -0700 | [diff] [blame] | 315 | $(DIRECTORY)/include/GLES/*.h \ |
| 316 | $(DIRECTORY)/include/GLES2/*.h \ |
George Sapountzis | 295a025 | 2010-02-22 22:27:49 +0200 | [diff] [blame] | 317 | $(DIRECTORY)/src/mesa/glapi/gen/*.xml \ |
| 318 | $(DIRECTORY)/src/mesa/glapi/gen/*.py \ |
| 319 | $(DIRECTORY)/src/mesa/glapi/gen/*.dtd \ |
Chia-I Wu | bfa66bd | 2009-09-21 17:57:57 +0800 | [diff] [blame] | 320 | $(DIRECTORY)/src/mesa/es/glapi/Makefile \ |
| 321 | $(DIRECTORY)/src/mesa/es/glapi/*.xml \ |
| 322 | $(DIRECTORY)/src/mesa/es/glapi/*.py \ |
| 323 | $(DIRECTORY)/src/mesa/es/state_tracker/*.[ch] \ |
| 324 | $(DIRECTORY)/src/mesa/es/main/*.[ch] \ |
Chia-I Wu | 976c858 | 2009-12-23 11:18:48 +0800 | [diff] [blame] | 325 | $(DIRECTORY)/src/mesa/es/main/*.xml \ |
Chia-I Wu | bfa66bd | 2009-09-21 17:57:57 +0800 | [diff] [blame] | 326 | $(DIRECTORY)/src/mesa/es/main/*.py \ |
Chia-I Wu | 976c858 | 2009-12-23 11:18:48 +0800 | [diff] [blame] | 327 | $(DIRECTORY)/src/mesa/es/main/*.dtd \ |
Chia-I Wu | bfa66bd | 2009-09-21 17:57:57 +0800 | [diff] [blame] | 328 | $(DIRECTORY)/src/mesa/es/Makefile \ |
| 329 | $(DIRECTORY)/src/mesa/es/sources.mak \ |
| 330 | |
| 331 | EGL_FILES = \ |
| 332 | $(DIRECTORY)/include/EGL/*.h \ |
Brian Paul | 9dfc1b6 | 2009-02-24 15:00:14 -0700 | [diff] [blame] | 333 | $(DIRECTORY)/src/egl/Makefile \ |
| 334 | $(DIRECTORY)/src/egl/*/Makefile \ |
| 335 | $(DIRECTORY)/src/egl/*/*.[ch] \ |
| 336 | $(DIRECTORY)/src/egl/*/*/Makefile \ |
| 337 | $(DIRECTORY)/src/egl/*/*/*.[ch] \ |
| 338 | |
| 339 | GALLIUM_FILES = \ |
| 340 | $(DIRECTORY)/src/mesa/state_tracker/*[ch] \ |
| 341 | $(DIRECTORY)/src/gallium/Makefile \ |
| 342 | $(DIRECTORY)/src/gallium/Makefile.template \ |
| 343 | $(DIRECTORY)/src/gallium/SConscript \ |
| 344 | $(DIRECTORY)/src/gallium/*/Makefile \ |
| 345 | $(DIRECTORY)/src/gallium/*/SConscript \ |
| 346 | $(DIRECTORY)/src/gallium/*/*/Makefile \ |
| 347 | $(DIRECTORY)/src/gallium/*/*/Makefile.template \ |
| 348 | $(DIRECTORY)/src/gallium/*/*/SConscript \ |
| 349 | $(DIRECTORY)/src/gallium/*/*/*.[ch] \ |
| 350 | $(DIRECTORY)/src/gallium/*/*/*.py \ |
Brian Paul | 2b692cd | 2009-09-09 12:01:28 -0600 | [diff] [blame] | 351 | $(DIRECTORY)/src/gallium/*/*/*.csv \ |
Brian Paul | 9dfc1b6 | 2009-02-24 15:00:14 -0700 | [diff] [blame] | 352 | $(DIRECTORY)/src/gallium/*/*/*/Makefile \ |
| 353 | $(DIRECTORY)/src/gallium/*/*/*/SConscript \ |
| 354 | $(DIRECTORY)/src/gallium/*/*/*/*.[ch] \ |
| 355 | $(DIRECTORY)/src/gallium/*/*/*/*.py \ |
Brian Paul | 3186590 | 2009-05-09 16:21:16 -0600 | [diff] [blame] | 356 | $(DIRECTORY)/src/gallium/*/*/*/*/Makefile \ |
Brian Paul | 9dfc1b6 | 2009-02-24 15:00:14 -0700 | [diff] [blame] | 357 | $(DIRECTORY)/src/gallium/*/*/*/*/*.[ch] \ |
| 358 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 359 | |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 360 | DRI_FILES = \ |
Brian Paul | 7302003 | 2005-10-17 22:38:44 +0000 | [diff] [blame] | 361 | $(DIRECTORY)/include/GL/internal/dri_interface.h \ |
Brian Paul | a8ee35c | 2009-01-06 07:35:45 -0700 | [diff] [blame] | 362 | $(DIRECTORY)/include/GL/internal/glcore.h \ |
Brian Paul | 7302003 | 2005-10-17 22:38:44 +0000 | [diff] [blame] | 363 | $(DIRECTORY)/include/GL/internal/sarea.h \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 364 | $(DIRECTORY)/src/glx/Makefile \ |
Kristian Høgsberg | 6e8897f | 2010-02-09 09:58:36 -0500 | [diff] [blame] | 365 | $(DIRECTORY)/src/glx/Makefile \ |
| 366 | $(DIRECTORY)/src/glx/*.[ch] \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 367 | $(DIRECTORY)/src/mesa/drivers/dri/Makefile \ |
| 368 | $(DIRECTORY)/src/mesa/drivers/dri/Makefile.template \ |
Dan Nicholson | f6da145 | 2008-06-12 06:46:32 -0700 | [diff] [blame] | 369 | $(DIRECTORY)/src/mesa/drivers/dri/dri.pc.in \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 370 | $(DIRECTORY)/src/mesa/drivers/dri/common/xmlpool/*.[ch] \ |
| 371 | $(DIRECTORY)/src/mesa/drivers/dri/common/xmlpool/*.po \ |
Brian Paul | 1e71d6a | 2005-08-22 14:27:13 +0000 | [diff] [blame] | 372 | $(DIRECTORY)/src/mesa/drivers/dri/*/*.[chS] \ |
Thierry Vignaud | 2674d1b | 2009-08-14 08:16:35 -0600 | [diff] [blame] | 373 | $(DIRECTORY)/src/mesa/drivers/dri/*/*/*.[chS] \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 374 | $(DIRECTORY)/src/mesa/drivers/dri/*/Makefile \ |
Thierry Vignaud | 2674d1b | 2009-08-14 08:16:35 -0600 | [diff] [blame] | 375 | $(DIRECTORY)/src/mesa/drivers/dri/*/*/Makefile \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 376 | $(DIRECTORY)/src/mesa/drivers/dri/*/Doxyfile \ |
| 377 | $(DIRECTORY)/src/mesa/drivers/dri/*/server/*.[ch] |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 378 | |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 379 | SGI_GLU_FILES = \ |
| 380 | $(DIRECTORY)/src/glu/Makefile \ |
Brian | f3419d5 | 2007-09-13 09:27:10 -0600 | [diff] [blame] | 381 | $(DIRECTORY)/src/glu/glu.pc.in \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 382 | $(DIRECTORY)/src/glu/sgi/Makefile \ |
Zhang | 76fb808 | 2007-07-21 11:28:06 -0600 | [diff] [blame] | 383 | $(DIRECTORY)/src/glu/sgi/Makefile.mgw \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 384 | $(DIRECTORY)/src/glu/sgi/Makefile.win \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 385 | $(DIRECTORY)/src/glu/sgi/glu.def \ |
| 386 | $(DIRECTORY)/src/glu/sgi/dummy.cc \ |
Brian Paul | 5d762e1 | 2008-08-16 10:09:38 -0600 | [diff] [blame] | 387 | $(DIRECTORY)/src/glu/sgi/glu.exports \ |
| 388 | $(DIRECTORY)/src/glu/sgi/glu.exports.darwin \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 389 | $(DIRECTORY)/src/glu/sgi/mesaglu.opt \ |
| 390 | $(DIRECTORY)/src/glu/sgi/include/gluos.h \ |
| 391 | $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \ |
| 392 | $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \ |
| 393 | $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \ |
| 394 | $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \ |
| 395 | $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.h \ |
| 396 | $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.cc \ |
| 397 | $(DIRECTORY)/src/glu/sgi/libtess/README \ |
| 398 | $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \ |
| 399 | $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \ |
| 400 | $(DIRECTORY)/src/glu/sgi/libutil/*.[ch] |
Brian Paul | 8e73b14 | 2005-01-03 15:36:27 +0000 | [diff] [blame] | 401 | |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 402 | MESA_GLU_FILES = \ |
| 403 | $(DIRECTORY)/src/glu/mesa/README[12] \ |
| 404 | $(DIRECTORY)/src/glu/mesa/Makefile* \ |
| 405 | $(DIRECTORY)/src/glu/mesa/descrip.mms \ |
| 406 | $(DIRECTORY)/src/glu/mesa/mms_depend \ |
| 407 | $(DIRECTORY)/src/glu/mesa/*.def \ |
| 408 | $(DIRECTORY)/src/glu/mesa/depend \ |
| 409 | $(DIRECTORY)/src/glu/mesa/*.[ch] |
Brian Paul | 8e73b14 | 2005-01-03 15:36:27 +0000 | [diff] [blame] | 410 | |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 411 | GLW_FILES = \ |
| 412 | $(DIRECTORY)/src/glw/*.[ch] \ |
| 413 | $(DIRECTORY)/src/glw/Makefile* \ |
| 414 | $(DIRECTORY)/src/glw/README \ |
Brian | b87ce5b | 2007-11-12 07:51:28 -0700 | [diff] [blame] | 415 | $(DIRECTORY)/src/glw/glw.pc.in \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 416 | $(DIRECTORY)/src/glw/depend |
| 417 | |
Brian Paul | b9e2e32 | 2009-07-22 12:34:07 -0600 | [diff] [blame] | 418 | GLEW_FILES = \ |
Brian Paul | c57d81d | 2009-07-23 20:20:39 -0600 | [diff] [blame] | 419 | $(DIRECTORY)/include/GL/glew.h \ |
| 420 | $(DIRECTORY)/include/GL/glxew.h \ |
| 421 | $(DIRECTORY)/include/GL/wglew.h \ |
Brian Paul | b9e2e32 | 2009-07-22 12:34:07 -0600 | [diff] [blame] | 422 | $(DIRECTORY)/src/glew/*.c \ |
| 423 | $(DIRECTORY)/src/glew/Makefile \ |
| 424 | $(DIRECTORY)/src/glew/SConscript \ |
| 425 | $(DIRECTORY)/src/glew/LICENSE.txt |
| 426 | |
Brian Paul | 80cef69 | 2005-09-10 16:54:05 +0000 | [diff] [blame] | 427 | DEMO_FILES = \ |
Brian Paul | b9e2e32 | 2009-07-22 12:34:07 -0600 | [diff] [blame] | 428 | $(GLEW_FILES) \ |
Brian Paul | 244af16 | 2004-08-14 21:12:37 +0000 | [diff] [blame] | 429 | $(DIRECTORY)/progs/beos/*.cpp \ |
| 430 | $(DIRECTORY)/progs/beos/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 431 | $(DIRECTORY)/progs/images/*.rgb \ |
| 432 | $(DIRECTORY)/progs/images/*.rgba \ |
| 433 | $(DIRECTORY)/progs/demos/Makefile* \ |
| 434 | $(DIRECTORY)/progs/demos/descrip.mms \ |
| 435 | $(DIRECTORY)/progs/demos/*.[ch] \ |
| 436 | $(DIRECTORY)/progs/demos/*.cxx \ |
| 437 | $(DIRECTORY)/progs/demos/*.dat \ |
| 438 | $(DIRECTORY)/progs/demos/README \ |
Brian | 22b0b2f | 2007-07-03 15:46:38 -0600 | [diff] [blame] | 439 | $(DIRECTORY)/progs/fbdev/Makefile \ |
| 440 | $(DIRECTORY)/progs/fbdev/glfbdevtest.c \ |
Brian Paul | 0b1de63 | 2009-10-01 13:11:13 -0600 | [diff] [blame] | 441 | $(DIRECTORY)/progs/objviewer/*.[ch] \ |
| 442 | $(DIRECTORY)/progs/objviewer/*.obj \ |
| 443 | $(DIRECTORY)/progs/objviewer/*.mtl \ |
| 444 | $(DIRECTORY)/progs/objviewer/*.rgb \ |
| 445 | $(DIRECTORY)/progs/objviewer/Makefile \ |
| 446 | $(DIRECTORY)/progs/objviewer/README.txt \ |
Brian Paul | bcf4ae7 | 2005-11-02 21:01:26 +0000 | [diff] [blame] | 447 | $(DIRECTORY)/progs/osdemos/Makefile \ |
| 448 | $(DIRECTORY)/progs/osdemos/*.c \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 449 | $(DIRECTORY)/progs/xdemos/Makefile* \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 450 | $(DIRECTORY)/progs/xdemos/*.[chf] \ |
| 451 | $(DIRECTORY)/progs/redbook/Makefile* \ |
| 452 | $(DIRECTORY)/progs/redbook/README \ |
| 453 | $(DIRECTORY)/progs/redbook/*.[ch] \ |
| 454 | $(DIRECTORY)/progs/samples/Makefile* \ |
| 455 | $(DIRECTORY)/progs/samples/README \ |
| 456 | $(DIRECTORY)/progs/samples/*.c \ |
Brian | d9443c2 | 2007-04-18 08:52:18 -0600 | [diff] [blame] | 457 | $(DIRECTORY)/progs/glsl/Makefile* \ |
| 458 | $(DIRECTORY)/progs/glsl/*.c \ |
Brian Paul | 7970b2a | 2008-08-16 09:39:10 -0600 | [diff] [blame] | 459 | $(DIRECTORY)/progs/glsl/*.frag \ |
| 460 | $(DIRECTORY)/progs/glsl/*.vert \ |
Brian Paul | 8237034 | 2009-08-13 15:06:28 -0600 | [diff] [blame] | 461 | $(DIRECTORY)/progs/glsl/*.shtest \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 462 | $(DIRECTORY)/progs/windml/Makefile.ugl \ |
| 463 | $(DIRECTORY)/progs/windml/*.c \ |
| 464 | $(DIRECTORY)/progs/windml/*.bmp \ |
Brian Paul | cba614b | 2009-11-19 09:00:14 -0700 | [diff] [blame] | 465 | $(DIRECTORY)/progs/ggi/*.c |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 466 | |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 467 | GLUT_FILES = \ |
| 468 | $(DIRECTORY)/include/GL/glut.h \ |
| 469 | $(DIRECTORY)/include/GL/glutf90.h \ |
| 470 | $(DIRECTORY)/src/glut/glx/Makefile* \ |
| 471 | $(DIRECTORY)/src/glut/glx/depend \ |
Brian | f3419d5 | 2007-09-13 09:27:10 -0600 | [diff] [blame] | 472 | $(DIRECTORY)/src/glut/glx/glut.pc.in \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 473 | $(DIRECTORY)/src/glut/glx/*def \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 474 | $(DIRECTORY)/src/glut/glx/*.[ch] \ |
| 475 | $(DIRECTORY)/src/glut/beos/*.[ch] \ |
| 476 | $(DIRECTORY)/src/glut/beos/*.cpp \ |
| 477 | $(DIRECTORY)/src/glut/beos/Makefile \ |
| 478 | $(DIRECTORY)/src/glut/dos/*.[ch] \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 479 | $(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \ |
| 480 | $(DIRECTORY)/src/glut/ggi/*.[ch] \ |
Brian Paul | 80cef69 | 2005-09-10 16:54:05 +0000 | [diff] [blame] | 481 | $(DIRECTORY)/src/glut/ggi/Makefile \ |
Brian Paul | 667dd3c | 2006-07-31 14:25:53 +0000 | [diff] [blame] | 482 | $(DIRECTORY)/src/glut/fbdev/Makefile \ |
Brian Paul | d21ccb4 | 2006-08-23 19:46:17 +0000 | [diff] [blame] | 483 | $(DIRECTORY)/src/glut/fbdev/*[ch] \ |
Brian Paul | 8330432 | 2006-08-24 17:01:35 +0000 | [diff] [blame] | 484 | $(DIRECTORY)/src/glut/mini/*[ch] \ |
Brian | 4875b40 | 2008-01-23 16:03:19 -0700 | [diff] [blame] | 485 | $(DIRECTORY)/src/glut/mini/glut.pc.in \ |
Brian | e90dd4b | 2007-10-23 08:22:21 -0600 | [diff] [blame] | 486 | $(DIRECTORY)/src/glut/directfb/Makefile \ |
| 487 | $(DIRECTORY)/src/glut/directfb/NOTES \ |
Brian Paul | cba614b | 2009-11-19 09:00:14 -0700 | [diff] [blame] | 488 | $(DIRECTORY)/src/glut/directfb/*[ch] |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 489 | |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 490 | DEPEND_FILES = \ |
| 491 | $(TOP)/src/mesa/depend \ |
Kristian Høgsberg | 6e8897f | 2010-02-09 09:58:36 -0500 | [diff] [blame] | 492 | $(TOP)/src/glx/depend \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 493 | $(TOP)/src/glw/depend \ |
| 494 | $(TOP)/src/glut/glx/depend \ |
| 495 | $(TOP)/src/glu/sgi/depend |
Brian Paul | 281f855 | 2004-09-09 18:17:36 +0000 | [diff] [blame] | 496 | |
| 497 | |
Brian Paul | 9dfc1b6 | 2009-02-24 15:00:14 -0700 | [diff] [blame] | 498 | LIB_FILES = \ |
| 499 | $(MAIN_FILES) \ |
Chia-I Wu | bfa66bd | 2009-09-21 17:57:57 +0800 | [diff] [blame] | 500 | $(ES_FILES) \ |
Brian Paul | 9dfc1b6 | 2009-02-24 15:00:14 -0700 | [diff] [blame] | 501 | $(EGL_FILES) \ |
| 502 | $(GALLIUM_FILES) \ |
| 503 | $(DRI_FILES) \ |
| 504 | $(SGI_GLU_FILES) \ |
| 505 | $(GLW_FILES) |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 506 | |
Brian Paul | dff11bb | 2005-07-21 18:44:52 +0000 | [diff] [blame] | 507 | |
Brian Paul | 281f855 | 2004-09-09 18:17:36 +0000 | [diff] [blame] | 508 | # Everything for new a Mesa release: |
Dan Nicholson | 7279623 | 2007-12-05 17:23:00 -0800 | [diff] [blame] | 509 | tarballs: rm_depend configure aclocal.m4 lib_gz demo_gz glut_gz \ |
| 510 | lib_bz2 demo_bz2 glut_bz2 lib_zip demo_zip glut_zip md5 |
Brian Paul | 281f855 | 2004-09-09 18:17:36 +0000 | [diff] [blame] | 511 | |
| 512 | |
Dan Nicholson | 7279623 | 2007-12-05 17:23:00 -0800 | [diff] [blame] | 513 | # Helper for autoconf builds |
| 514 | ACLOCAL = aclocal |
| 515 | ACLOCAL_FLAGS = |
| 516 | AUTOCONF = autoconf |
| 517 | AC_FLAGS = |
Dan Nicholson | d368eed | 2008-05-05 18:24:21 -0700 | [diff] [blame] | 518 | aclocal.m4: configure.ac acinclude.m4 |
Dan Nicholson | 7279623 | 2007-12-05 17:23:00 -0800 | [diff] [blame] | 519 | $(ACLOCAL) $(ACLOCAL_FLAGS) |
Dan Nicholson | d368eed | 2008-05-05 18:24:21 -0700 | [diff] [blame] | 520 | configure: configure.ac aclocal.m4 acinclude.m4 |
Dan Nicholson | 7279623 | 2007-12-05 17:23:00 -0800 | [diff] [blame] | 521 | $(AUTOCONF) $(AC_FLAGS) |
| 522 | |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 523 | rm_depend: |
| 524 | @for dep in $(DEPEND_FILES) ; do \ |
| 525 | rm -f $$dep ; \ |
| 526 | touch $$dep ; \ |
| 527 | done |
| 528 | |
Brian Paul | 24e2f61 | 2009-10-14 10:56:29 -0600 | [diff] [blame] | 529 | rm_config: |
| 530 | rm -f configs/current |
| 531 | rm -f configs/autoconf |
| 532 | |
| 533 | lib_gz: rm_config |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 534 | cd .. ; \ |
Brian Paul | dff11bb | 2005-07-21 18:44:52 +0000 | [diff] [blame] | 535 | tar -cf $(LIB_NAME).tar $(LIB_FILES) ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 536 | gzip $(LIB_NAME).tar ; \ |
| 537 | mv $(LIB_NAME).tar.gz $(DIRECTORY) |
| 538 | |
| 539 | demo_gz: |
| 540 | cd .. ; \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 541 | tar -cf $(DEMO_NAME).tar $(DEMO_FILES) ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 542 | gzip $(DEMO_NAME).tar ; \ |
| 543 | mv $(DEMO_NAME).tar.gz $(DIRECTORY) |
| 544 | |
Brian Paul | 80cef69 | 2005-09-10 16:54:05 +0000 | [diff] [blame] | 545 | glut_gz: |
| 546 | cd .. ; \ |
| 547 | tar -cf $(GLUT_NAME).tar $(GLUT_FILES) ; \ |
| 548 | gzip $(GLUT_NAME).tar ; \ |
| 549 | mv $(GLUT_NAME).tar.gz $(DIRECTORY) |
| 550 | |
Brian Paul | 24e2f61 | 2009-10-14 10:56:29 -0600 | [diff] [blame] | 551 | lib_bz2: rm_config |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 552 | cd .. ; \ |
Brian Paul | dff11bb | 2005-07-21 18:44:52 +0000 | [diff] [blame] | 553 | tar -cf $(LIB_NAME).tar $(LIB_FILES) ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 554 | bzip2 $(LIB_NAME).tar ; \ |
| 555 | mv $(LIB_NAME).tar.bz2 $(DIRECTORY) |
| 556 | |
| 557 | demo_bz2: |
| 558 | cd .. ; \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 559 | tar -cf $(DEMO_NAME).tar $(DEMO_FILES) ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 560 | bzip2 $(DEMO_NAME).tar ; \ |
| 561 | mv $(DEMO_NAME).tar.bz2 $(DIRECTORY) |
| 562 | |
Brian Paul | 80cef69 | 2005-09-10 16:54:05 +0000 | [diff] [blame] | 563 | glut_bz2: |
| 564 | cd .. ; \ |
| 565 | tar -cf $(GLUT_NAME).tar $(GLUT_FILES) ; \ |
| 566 | bzip2 $(GLUT_NAME).tar ; \ |
| 567 | mv $(GLUT_NAME).tar.bz2 $(DIRECTORY) |
| 568 | |
Brian Paul | 24e2f61 | 2009-10-14 10:56:29 -0600 | [diff] [blame] | 569 | lib_zip: rm_config |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 570 | rm -f $(LIB_NAME).zip ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 571 | cd .. ; \ |
Brian Paul | dff11bb | 2005-07-21 18:44:52 +0000 | [diff] [blame] | 572 | zip -qr $(LIB_NAME).zip $(LIB_FILES) ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 573 | mv $(LIB_NAME).zip $(DIRECTORY) |
| 574 | |
| 575 | demo_zip: |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 576 | rm -f $(DEMO_NAME).zip ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 577 | cd .. ; \ |
Brian Paul | 3e2419a | 2005-07-22 15:52:46 +0000 | [diff] [blame] | 578 | zip -qr $(DEMO_NAME).zip $(DEMO_FILES) ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 579 | mv $(DEMO_NAME).zip $(DIRECTORY) |
| 580 | |
Brian Paul | 80cef69 | 2005-09-10 16:54:05 +0000 | [diff] [blame] | 581 | glut_zip: |
| 582 | rm -f $(GLUT_NAME).zip ; \ |
| 583 | cd .. ; \ |
| 584 | zip -qr $(GLUT_NAME).zip $(GLUT_FILES) ; \ |
| 585 | mv $(GLUT_NAME).zip $(DIRECTORY) |
| 586 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 587 | md5: |
| 588 | @-md5sum $(LIB_NAME).tar.gz |
| 589 | @-md5sum $(LIB_NAME).tar.bz2 |
| 590 | @-md5sum $(LIB_NAME).zip |
| 591 | @-md5sum $(DEMO_NAME).tar.gz |
| 592 | @-md5sum $(DEMO_NAME).tar.bz2 |
| 593 | @-md5sum $(DEMO_NAME).zip |
Brian Paul | 80cef69 | 2005-09-10 16:54:05 +0000 | [diff] [blame] | 594 | @-md5sum $(GLUT_NAME).tar.gz |
| 595 | @-md5sum $(GLUT_NAME).tar.bz2 |
| 596 | @-md5sum $(GLUT_NAME).zip |
Dan Nicholson | 50f7e6f | 2008-05-06 11:52:34 -0700 | [diff] [blame] | 597 | |
Brian Paul | 24e2f61 | 2009-10-14 10:56:29 -0600 | [diff] [blame] | 598 | .PHONY: tarballs rm_depend rm_config md5 \ |
| 599 | lib_gz demo_gz glut_gz \ |
| 600 | lib_bz2 demo_bz2 glut_bz2 \ |
| 601 | lib_zip demo_zip glut_zip |