1 |
# opengl-update - magellanized version |
# opengl-update - magellanized version |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/opengl-update/Makefile,v 1.1 2007-11-14 18:51:16 niro Exp $ |
# $Id$ |
3 |
|
|
4 |
VERSION=$(shell cat VERSION) |
VERSION=$(shell cat VERSION) |
5 |
ARCH := $(patsubst i%86,i386,$(shell uname -m)) |
ARCH := $(patsubst i%86,i386,$(shell uname -m)) |
17 |
|
|
18 |
all: |
all: |
19 |
sed 's:@@VERSION@@:$(VERSION):' < opengl-update.sh > opengl-update |
sed 's:@@VERSION@@:$(VERSION):' < opengl-update.sh > opengl-update |
20 |
|
sed 's:@@VERSION@@:$(VERSION):' < dri-update.sh > dri-update |
21 |
|
|
22 |
install: |
install: |
23 |
install -d $(DESTDIR)/$(SBINDIR) |
install -d $(DESTDIR)/$(SBINDIR) |
24 |
install -m 0755 opengl-update $(DESTDIR)/$(SBINDIR)/opengl-update |
install -m 0755 opengl-update $(DESTDIR)/$(SBINDIR)/opengl-update |
25 |
|
install -m 0755 dri-update $(DESTDIR)/$(SBINDIR)/dri-update |
26 |
|
|
27 |
install -d $(DESTDIR)/$(DATADIR)/include |
install -d $(DESTDIR)/$(DATADIR)/include |
28 |
install -m 0644 glext.h $(DESTDIR)/$(DATADIR)/include/glext.h |
install -m 0644 glext.h $(DESTDIR)/$(DATADIR)/include/glext.h |
35 |
|
|
36 |
clean: |
clean: |
37 |
rm -f opengl-update |
rm -f opengl-update |
38 |
|
rm -f dri-update |
39 |
|
|
40 |
.PHONY: all install |
.PHONY: all install |