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 \ |
Eric Anholt | 2fb5d15 | 2004-06-01 00:06:14 +0000 | [diff] [blame] | 10 | (cd $$dir ; $(MAKE)) || exit 1 ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 11 | done |
| 12 | |
| 13 | |
Brian Paul | 6d50d91 | 2004-07-01 15:32:51 +0000 | [diff] [blame] | 14 | doxygen: |
| 15 | (cd doxygen ; make) ; \ |
| 16 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 17 | clean: |
| 18 | @for dir in $(SUBDIRS) ; do \ |
Eric Anholt | 2fb5d15 | 2004-06-01 00:06:14 +0000 | [diff] [blame] | 19 | (cd $$dir ; $(MAKE) clean) ; \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 20 | done |
| 21 | |
| 22 | |
Brian Paul | 46727c7 | 2004-03-26 20:31:05 +0000 | [diff] [blame] | 23 | realclean: |
| 24 | touch $(TOP)/configs/current |
Eric Anholt | 2fb5d15 | 2004-06-01 00:06:14 +0000 | [diff] [blame] | 25 | $(MAKE) clean |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 26 | -rm -rf lib* |
| 27 | -rm -f $(TOP)/configs/current |
| 28 | |
| 29 | |
| 30 | install: |
| 31 | @echo "Installing" |
| 32 | $(TOP)/bin/installmesa |
| 33 | |
| 34 | # If there's no current configuration file |
| 35 | $(TOP)/configs/current: |
| 36 | @echo |
| 37 | @echo |
| 38 | @echo "Please choose a configuration from the following list:" |
Brian Paul | 22388c1 | 2004-03-26 15:31:44 +0000 | [diff] [blame] | 39 | @ls -1 $(TOP)/configs | grep -v "current\|default\|CVS" |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 40 | @echo |
| 41 | @echo "Then type 'make <config>' (ex: 'make linux-x86')" |
| 42 | @echo "(ignore the following error message)" |
| 43 | @exit 1 |
| 44 | |
| 45 | |
| 46 | # Rules to set/install a specific build configuration |
| 47 | aix \ |
Karl Schultz | a16bdb5 | 2004-10-01 13:33:26 +0000 | [diff] [blame] | 48 | aix-64 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 49 | aix-gcc \ |
Brian Paul | 6d50d91 | 2004-07-01 15:32:51 +0000 | [diff] [blame] | 50 | aix-static \ |
Philippe Houdoin | 92ec997 | 2004-08-14 10:10:42 +0000 | [diff] [blame] | 51 | beos \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 52 | darwin \ |
| 53 | darwin-static \ |
| 54 | freebsd \ |
| 55 | hpux10 \ |
| 56 | hpux10-gcc \ |
Brian Paul | ff7d3bb | 2004-03-30 14:56:47 +0000 | [diff] [blame] | 57 | hpux10-static \ |
Karl Schultz | 786eef2 | 2004-10-01 20:19:16 +0000 | [diff] [blame^] | 58 | hpux11-32 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 59 | hpux11-32-static \ |
| 60 | hpux11-32-static-nothreads \ |
Karl Schultz | 786eef2 | 2004-10-01 20:19:16 +0000 | [diff] [blame^] | 61 | hpux11-64 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 62 | hpux11-64-static \ |
| 63 | hpux9 \ |
| 64 | hpux9-gcc \ |
| 65 | irix6-64 \ |
| 66 | irix6-64-static \ |
| 67 | irix6-n32 \ |
| 68 | irix6-n32-static \ |
| 69 | irix6-o32 \ |
| 70 | irix6-o32-static \ |
| 71 | linux \ |
| 72 | linux-alpha \ |
| 73 | linux-alpha-static \ |
| 74 | linux-debug \ |
Keith Whitwell | e61df58 | 2004-04-14 12:44:07 +0000 | [diff] [blame] | 75 | linux-dri \ |
Dave Airlie | 898c03a | 2004-05-03 11:30:37 +0000 | [diff] [blame] | 76 | linux-dri-x86 \ |
Keith Whitwell | 69ab4fe | 2004-04-30 08:29:04 +0000 | [diff] [blame] | 77 | linux-dri-x86-64 \ |
Daniel Borca | d3746ca | 2004-04-07 06:37:50 +0000 | [diff] [blame] | 78 | linux-glide \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 79 | linux-icc \ |
| 80 | linux-icc-static \ |
| 81 | linux-osmesa16 \ |
| 82 | linux-osmesa16-static \ |
| 83 | linux-osmesa32 \ |
| 84 | linux-ppc \ |
| 85 | linux-ppc-static \ |
| 86 | linux-solo \ |
Dave Airlie | e520b72 | 2004-09-07 00:41:40 +0000 | [diff] [blame] | 87 | linux-solo-x86 \ |
Brian Paul | adcb228 | 2004-04-19 22:23:10 +0000 | [diff] [blame] | 88 | linux-solo-ia64 \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 89 | linux-sparc \ |
| 90 | linux-sparc5 \ |
| 91 | linux-static \ |
| 92 | linux-ultrasparc \ |
Keith Whitwell | 6fb2356 | 2004-04-14 21:19:34 +0000 | [diff] [blame] | 93 | linux-tcc \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 94 | linux-x86 \ |
Keith Whitwell | e61df58 | 2004-04-14 12:44:07 +0000 | [diff] [blame] | 95 | linux-x86-debug \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 96 | linux-x86-64 \ |
| 97 | linux-x86-64-static \ |
Daniel Borca | d3746ca | 2004-04-07 06:37:50 +0000 | [diff] [blame] | 98 | linux-x86-glide \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 99 | linux-x86-static \ |
| 100 | netbsd \ |
| 101 | openbsd \ |
| 102 | osf1 \ |
| 103 | solaris-x86 \ |
| 104 | solaris-x86-gcc \ |
| 105 | sunos4 \ |
| 106 | sunos4-gcc \ |
| 107 | sunos4-static \ |
| 108 | sunos5 \ |
| 109 | sunos5-gcc \ |
| 110 | sunos5-smp \ |
| 111 | ultrix-gcc: |
Keith Whitwell | e61df58 | 2004-04-14 12:44:07 +0000 | [diff] [blame] | 112 | (cd configs && rm -f current && ln -s $@ current) |
Eric Anholt | 2fb5d15 | 2004-06-01 00:06:14 +0000 | [diff] [blame] | 113 | $(MAKE) default |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 114 | |
| 115 | |
| 116 | # Rules for making release tarballs |
| 117 | |
Brian Paul | a5bc642 | 2004-08-27 15:31:20 +0000 | [diff] [blame] | 118 | DIRECTORY = Mesa-6.2 |
| 119 | LIB_NAME = MesaLib-6.2 |
| 120 | DEMO_NAME = MesaDemos-6.2 |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 121 | |
| 122 | LIB_FILES = \ |
| 123 | $(DIRECTORY)/Makefile* \ |
| 124 | $(DIRECTORY)/descrip.mms \ |
| 125 | $(DIRECTORY)/mms-config. \ |
| 126 | $(DIRECTORY)/Mesa.dsw \ |
| 127 | $(DIRECTORY)/bin/mklib \ |
Brian Paul | a5bc642 | 2004-08-27 15:31:20 +0000 | [diff] [blame] | 128 | $(DIRECTORY)/bin/installmesa \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 129 | $(DIRECTORY)/configs/[a-z]* \ |
| 130 | $(DIRECTORY)/docs/*.html \ |
| 131 | $(DIRECTORY)/docs/COPYING \ |
| 132 | $(DIRECTORY)/docs/INSTALL.GNU \ |
| 133 | $(DIRECTORY)/docs/README.* \ |
| 134 | $(DIRECTORY)/docs/RELNOTES* \ |
| 135 | $(DIRECTORY)/docs/VERSIONS \ |
| 136 | $(DIRECTORY)/docs/*.spec \ |
| 137 | $(DIRECTORY)/include/GL/internal/glcore.h \ |
| 138 | $(DIRECTORY)/include/GL/dmesa.h \ |
| 139 | $(DIRECTORY)/include/GL/amesa.h \ |
| 140 | $(DIRECTORY)/include/GL/fxmesa.h \ |
| 141 | $(DIRECTORY)/include/GL/ggimesa.h \ |
| 142 | $(DIRECTORY)/include/GL/gl.h \ |
| 143 | $(DIRECTORY)/include/GL/glext.h \ |
| 144 | $(DIRECTORY)/include/GL/gl_mangle.h \ |
| 145 | $(DIRECTORY)/include/GL/glu.h \ |
| 146 | $(DIRECTORY)/include/GL/glu_mangle.h \ |
| 147 | $(DIRECTORY)/include/GL/glx.h \ |
| 148 | $(DIRECTORY)/include/GL/glxext.h \ |
| 149 | $(DIRECTORY)/include/GL/glx_mangle.h \ |
| 150 | $(DIRECTORY)/include/GL/mesa_wgl.h \ |
| 151 | $(DIRECTORY)/include/GL/mglmesa.h \ |
| 152 | $(DIRECTORY)/include/GL/osmesa.h \ |
| 153 | $(DIRECTORY)/include/GL/svgamesa.h \ |
| 154 | $(DIRECTORY)/include/GL/ugl*.h \ |
| 155 | $(DIRECTORY)/include/GL/vms_x_fix.h \ |
| 156 | $(DIRECTORY)/include/GL/wmesa.h \ |
| 157 | $(DIRECTORY)/include/GL/xmesa.h \ |
| 158 | $(DIRECTORY)/include/GL/xmesa_x.h \ |
| 159 | $(DIRECTORY)/include/GL/xmesa_xf86.h \ |
| 160 | $(DIRECTORY)/src/Makefile \ |
| 161 | $(DIRECTORY)/src/descrip.mms \ |
| 162 | $(DIRECTORY)/src/mesa/Makefile* \ |
| 163 | $(DIRECTORY)/src/mesa/sources \ |
| 164 | $(DIRECTORY)/src/mesa/descrip.mms \ |
| 165 | $(DIRECTORY)/src/mesa/depend \ |
| 166 | $(DIRECTORY)/src/mesa/main/*.[chS] \ |
| 167 | $(DIRECTORY)/src/mesa/main/main.dsp \ |
| 168 | $(DIRECTORY)/src/mesa/main/descrip.mms \ |
| 169 | $(DIRECTORY)/src/mesa/glapi/*.[chS] \ |
| 170 | $(DIRECTORY)/src/mesa/glapi/glapi.dsp \ |
| 171 | $(DIRECTORY)/src/mesa/glapi/descrip.mms \ |
| 172 | $(DIRECTORY)/src/mesa/array_cache/*.[ch] \ |
| 173 | $(DIRECTORY)/src/mesa/array_cache/array_cache.dsp \ |
| 174 | $(DIRECTORY)/src/mesa/array_cache/descrip.mms \ |
| 175 | $(DIRECTORY)/src/mesa/math/*.[ch] \ |
| 176 | $(DIRECTORY)/src/mesa/math/math.dsp \ |
| 177 | $(DIRECTORY)/src/mesa/math/descrip.mms \ |
Brian Paul | 02ca8fe | 2004-08-13 20:58:59 +0000 | [diff] [blame] | 178 | $(DIRECTORY)/src/mesa/shader/*.[ch] \ |
Brian Paul | 98ae32c | 2004-08-14 21:53:14 +0000 | [diff] [blame] | 179 | $(DIRECTORY)/src/mesa/shader/shader.dsp \ |
Karl Schultz | d48ef3e | 2004-08-14 21:42:50 +0000 | [diff] [blame] | 180 | $(DIRECTORY)/src/mesa/shader/descrip.mms \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 181 | $(DIRECTORY)/src/mesa/swrast/*.[ch] \ |
| 182 | $(DIRECTORY)/src/mesa/swrast/swrast.dsp \ |
| 183 | $(DIRECTORY)/src/mesa/swrast/descrip.mms \ |
| 184 | $(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \ |
| 185 | $(DIRECTORY)/src/mesa/swrast_setup/swrast_setup.dsp \ |
| 186 | $(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \ |
Brian Paul | 02ca8fe | 2004-08-13 20:58:59 +0000 | [diff] [blame] | 187 | $(DIRECTORY)/src/mesa/tnl/*.[chS] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 188 | $(DIRECTORY)/src/mesa/tnl/tnl.dsp \ |
| 189 | $(DIRECTORY)/src/mesa/tnl/descrip.mms \ |
| 190 | $(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \ |
| 191 | $(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \ |
| 192 | $(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \ |
| 193 | $(DIRECTORY)/src/mesa/drivers/beos/*.cpp \ |
Brian Paul | 244af16 | 2004-08-14 21:12:37 +0000 | [diff] [blame] | 194 | $(DIRECTORY)/src/mesa/drivers/beos/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 195 | $(DIRECTORY)/src/mesa/drivers/common/*.[ch] \ |
| 196 | $(DIRECTORY)/src/mesa/drivers/common/descrip.mms \ |
| 197 | $(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \ |
| 198 | $(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \ |
| 199 | $(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \ |
| 200 | $(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \ |
| 201 | $(DIRECTORY)/src/mesa/drivers/glide/*.def \ |
| 202 | $(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \ |
| 203 | $(DIRECTORY)/src/mesa/drivers/ggi/ggimesa.conf.in \ |
| 204 | $(DIRECTORY)/src/mesa/drivers/ggi/default/*.c \ |
| 205 | $(DIRECTORY)/src/mesa/drivers/ggi/default/genkgi.conf.in \ |
| 206 | $(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \ |
| 207 | $(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \ |
| 208 | $(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \ |
| 209 | $(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \ |
| 210 | $(DIRECTORY)/src/mesa/drivers/osmesa/descrip.mms \ |
| 211 | $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \ |
| 212 | $(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.dsp \ |
| 213 | $(DIRECTORY)/src/mesa/drivers/osmesa/*.[ch] \ |
| 214 | $(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \ |
| 215 | $(DIRECTORY)/src/mesa/drivers/windows/*/*.[ch] \ |
| 216 | $(DIRECTORY)/src/mesa/drivers/windows/*/*.def \ |
| 217 | $(DIRECTORY)/src/mesa/drivers/windows/*/*.dsp \ |
| 218 | $(DIRECTORY)/src/mesa/drivers/x11/descrip.mms \ |
| 219 | $(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \ |
| 220 | $(DIRECTORY)/src/mesa/sparc/*.[chS] \ |
| 221 | $(DIRECTORY)/src/mesa/x86/Makefile \ |
| 222 | $(DIRECTORY)/src/mesa/x86/*.[ch] \ |
| 223 | $(DIRECTORY)/src/mesa/x86/*.S \ |
| 224 | $(DIRECTORY)/src/glu/Makefile \ |
| 225 | $(DIRECTORY)/src/glu/descrip.mms \ |
| 226 | $(DIRECTORY)/src/glu/sgi/Makefile \ |
| 227 | $(DIRECTORY)/src/glu/sgi/Makefile.win \ |
| 228 | $(DIRECTORY)/src/glu/sgi/Makefile.DJ \ |
| 229 | $(DIRECTORY)/src/glu/sgi/cc*.txt \ |
| 230 | $(DIRECTORY)/src/glu/sgi/glu.def \ |
| 231 | $(DIRECTORY)/src/glu/sgi/glu.dsp \ |
| 232 | $(DIRECTORY)/src/glu/sgi/dummy.cc \ |
| 233 | $(DIRECTORY)/src/glu/sgi/descrip.mms \ |
| 234 | $(DIRECTORY)/src/glu/sgi/mesaglu.opt \ |
| 235 | $(DIRECTORY)/src/glu/sgi/include/gluos.h \ |
| 236 | $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \ |
| 237 | $(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \ |
| 238 | $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \ |
| 239 | $(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \ |
| 240 | $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.h \ |
| 241 | $(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.cc \ |
| 242 | $(DIRECTORY)/src/glu/sgi/libtess/README \ |
| 243 | $(DIRECTORY)/src/glu/sgi/libtess/alg-outline \ |
| 244 | $(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \ |
| 245 | $(DIRECTORY)/src/glu/sgi/libutil/*.[ch] \ |
| 246 | $(DIRECTORY)/src/glu/mesa/README[12] \ |
| 247 | $(DIRECTORY)/src/glu/mesa/Makefile* \ |
| 248 | $(DIRECTORY)/src/glu/mesa/descrip.mms \ |
| 249 | $(DIRECTORY)/src/glu/mesa/mms_depend \ |
| 250 | $(DIRECTORY)/src/glu/mesa/*.def \ |
| 251 | $(DIRECTORY)/src/glu/mesa/depend \ |
| 252 | $(DIRECTORY)/src/glu/mesa/*.[ch] \ |
| 253 | $(DIRECTORY)/src/glw/*.[ch] \ |
| 254 | $(DIRECTORY)/src/glw/Makefile* \ |
| 255 | $(DIRECTORY)/src/glw/README \ |
Brian Paul | 9debd56 | 2004-08-22 17:41:44 +0000 | [diff] [blame] | 256 | $(DIRECTORY)/src/glw/depend \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 257 | $(DIRECTORY)/progs/Makefile \ |
| 258 | $(DIRECTORY)/progs/util/README \ |
| 259 | $(DIRECTORY)/progs/util/*.[ch] \ |
| 260 | $(DIRECTORY)/progs/util/sampleMakefile \ |
| 261 | $(DIRECTORY)/vms/analyze_map.com \ |
| 262 | $(DIRECTORY)/vms/xlib.opt \ |
| 263 | $(DIRECTORY)/vms/xlib_share.opt |
| 264 | |
| 265 | |
| 266 | DEMO_FILES = \ |
| 267 | $(DIRECTORY)/include/GL/glut.h \ |
| 268 | $(DIRECTORY)/include/GL/glutf90.h \ |
| 269 | $(DIRECTORY)/src/glut/glx/Makefile* \ |
| 270 | $(DIRECTORY)/src/glut/glx/depend \ |
| 271 | $(DIRECTORY)/src/glut/glx/*def \ |
| 272 | $(DIRECTORY)/src/glut/glx/descrip.mms \ |
| 273 | $(DIRECTORY)/src/glut/glx/mms_depend \ |
| 274 | $(DIRECTORY)/src/glut/glx/glut.dsp \ |
| 275 | $(DIRECTORY)/src/glut/glx/*.[ch] \ |
Brian Paul | 244af16 | 2004-08-14 21:12:37 +0000 | [diff] [blame] | 276 | $(DIRECTORY)/src/glut/beos/*.[ch] \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 277 | $(DIRECTORY)/src/glut/beos/*.cpp \ |
Brian Paul | 244af16 | 2004-08-14 21:12:37 +0000 | [diff] [blame] | 278 | $(DIRECTORY)/src/glut/beos/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 279 | $(DIRECTORY)/src/glut/dos/*.[ch] \ |
| 280 | $(DIRECTORY)/src/glut/dos/Makefile.DJ \ |
| 281 | $(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \ |
Brian Paul | e54464e | 2004-09-10 22:13:18 +0000 | [diff] [blame] | 282 | $(DIRECTORY)/src/glut/ggi/*.[ch] \ |
| 283 | $(DIRECTORY)/src/glut/ggi/Makefile \ |
Brian Paul | 244af16 | 2004-08-14 21:12:37 +0000 | [diff] [blame] | 284 | $(DIRECTORY)/progs/beos/*.cpp \ |
| 285 | $(DIRECTORY)/progs/beos/Makefile \ |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 286 | $(DIRECTORY)/progs/images/*.rgb \ |
| 287 | $(DIRECTORY)/progs/images/*.rgba \ |
| 288 | $(DIRECTORY)/progs/demos/Makefile* \ |
| 289 | $(DIRECTORY)/progs/demos/descrip.mms \ |
| 290 | $(DIRECTORY)/progs/demos/*.[ch] \ |
| 291 | $(DIRECTORY)/progs/demos/*.cxx \ |
| 292 | $(DIRECTORY)/progs/demos/*.dat \ |
| 293 | $(DIRECTORY)/progs/demos/README \ |
| 294 | $(DIRECTORY)/progs/demos/Windows/*.dsp \ |
| 295 | $(DIRECTORY)/progs/demos/Windows/*.dsw \ |
| 296 | $(DIRECTORY)/progs/xdemos/Makefile* \ |
| 297 | $(DIRECTORY)/progs/xdemos/descrip.mms \ |
| 298 | $(DIRECTORY)/progs/xdemos/*.[chf] \ |
| 299 | $(DIRECTORY)/progs/redbook/Makefile* \ |
| 300 | $(DIRECTORY)/progs/redbook/README \ |
| 301 | $(DIRECTORY)/progs/redbook/*.[ch] \ |
| 302 | $(DIRECTORY)/progs/samples/Makefile* \ |
| 303 | $(DIRECTORY)/progs/samples/README \ |
| 304 | $(DIRECTORY)/progs/samples/*.c \ |
| 305 | $(DIRECTORY)/progs/windml/Makefile.ugl \ |
| 306 | $(DIRECTORY)/progs/windml/*.c \ |
| 307 | $(DIRECTORY)/progs/windml/*.bmp \ |
| 308 | $(DIRECTORY)/progs/ggi/*.c |
| 309 | |
| 310 | |
Brian Paul | 281f855 | 2004-09-09 18:17:36 +0000 | [diff] [blame] | 311 | DRI_FILES = \ |
| 312 | $(DIRECTORY)/src/glx/Makefile \ |
| 313 | $(DIRECTORY)/src/glx/mini/*.[ch] \ |
| 314 | $(DIRECTORY)/src/glx/mini/example.miniglx.conf \ |
| 315 | $(DIRECTORY)/src/glx/mini/NOTES \ |
| 316 | $(DIRECTORY)/src/mesa/drivers/dri/Makefile \ |
| 317 | $(DIRECTORY)/src/mesa/drivers/dri/Makefile.template \ |
| 318 | $(DIRECTORY)/src/mesa/drivers/dri/common/*.[ch] \ |
| 319 | $(DIRECTORY)/src/mesa/drivers/dri/dri_client/imports/*.h \ |
| 320 | $(DIRECTORY)/src/mesa/drivers/dri/*/*.[ch] \ |
| 321 | $(DIRECTORY)/src/mesa/drivers/dri/*/depend \ |
| 322 | $(DIRECTORY)/src/mesa/drivers/dri/*/Makefile \ |
| 323 | $(DIRECTORY)/src/mesa/drivers/dri/*/Doxyfile \ |
| 324 | $(DIRECTORY)/src/mesa/drivers/dri/*/server/*.[ch] |
| 325 | |
| 326 | |
| 327 | # Everything for new a Mesa release: |
| 328 | tarballs: lib_gz demo_gz lib_bz2 demo_bz2 lib_zip demo_zip md5 |
| 329 | |
| 330 | |
Brian Paul | de0ee31 | 2004-03-26 15:19:11 +0000 | [diff] [blame] | 331 | lib_gz: |
| 332 | rm -f configs/current ; \ |
| 333 | cd .. ; \ |
| 334 | tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \ |
| 335 | gzip $(LIB_NAME).tar ; \ |
| 336 | mv $(LIB_NAME).tar.gz $(DIRECTORY) |
| 337 | |
| 338 | demo_gz: |
| 339 | cd .. ; \ |
| 340 | tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \ |
| 341 | gzip $(DEMO_NAME).tar ; \ |
| 342 | mv $(DEMO_NAME).tar.gz $(DIRECTORY) |
| 343 | |
| 344 | lib_bz2: |
| 345 | rm -f configs/current ; \ |
| 346 | cd .. ; \ |
| 347 | tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \ |
| 348 | bzip2 $(LIB_NAME).tar ; \ |
| 349 | mv $(LIB_NAME).tar.bz2 $(DIRECTORY) |
| 350 | |
| 351 | demo_bz2: |
| 352 | cd .. ; \ |
| 353 | tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \ |
| 354 | bzip2 $(DEMO_NAME).tar ; \ |
| 355 | mv $(DEMO_NAME).tar.bz2 $(DIRECTORY) |
| 356 | |
| 357 | lib_zip: |
| 358 | rm -f configs/current ; \ |
| 359 | -rm $(LIB_NAME).zip ; \ |
| 360 | cd .. ; \ |
| 361 | zip -r $(LIB_NAME).zip $(LIB_FILES) ; \ |
| 362 | mv $(LIB_NAME).zip $(DIRECTORY) |
| 363 | |
| 364 | demo_zip: |
| 365 | -rm $(DEMO_NAME).zip ; \ |
| 366 | cd .. ; \ |
| 367 | zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \ |
| 368 | mv $(DEMO_NAME).zip $(DIRECTORY) |
| 369 | |
| 370 | md5: |
| 371 | @-md5sum $(LIB_NAME).tar.gz |
| 372 | @-md5sum $(LIB_NAME).tar.bz2 |
| 373 | @-md5sum $(LIB_NAME).zip |
| 374 | @-md5sum $(DEMO_NAME).tar.gz |
| 375 | @-md5sum $(DEMO_NAME).tar.bz2 |
| 376 | @-md5sum $(DEMO_NAME).zip |