summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.old
blob: 3266a5de0852ccaea6bb90ebceddf41bcdd19ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# src/mesa/Makefile

TOP = ../..
include $(TOP)/configs/current

SRCDIR = .
include sources.mak

default:

######################################################################
# Installation rules

install: default $(DRICORE_INSTALL_TARGET)
	@for driver in $(DRIVER_DIRS) ; do \
	  case "$$driver" in \
	    osmesa) $(MAKE) -f Makefile.old install-osmesa || exit 1 ;; \
	  esac ; \
	done

install-osmesa: default
	$(MINSTALL) $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_GLOB) \
		$(DESTDIR)$(INSTALL_LIB_DIR)

# Emacs tags
tags:
	etags `find . -name \*.[ch]` $(TOP)/include/GL/*.h