~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/egl/drivers/dri/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# src/egl/drivers/dri/Makefile
2
 
 
3
 
TOP = ../../../..
4
 
include $(TOP)/configs/current
5
 
 
6
 
 
7
 
### Include directories
8
 
INCLUDE_DIRS = \
9
 
        -I. \
10
 
        -I/usr/include \
11
 
        -I/usr/include/drm \
12
 
        -I$(TOP)/include \
13
 
        -I$(TOP)/include/GL/internal \
14
 
        -I$(TOP)/src/mesa \
15
 
        -I$(TOP)/src/mesa/main \
16
 
        -I$(TOP)/src/mesa/glapi \
17
 
        -I$(TOP)/src/mesa/math \
18
 
        -I$(TOP)/src/mesa/transform \
19
 
        -I$(TOP)/src/mesa/shader \
20
 
        -I$(TOP)/src/mesa/swrast \
21
 
        -I$(TOP)/src/mesa/swrast_setup \
22
 
        -I$(TOP)/src/egl/main \
23
 
        -I$(TOP)/src/mesa/drivers/dri/common
24
 
 
25
 
 
26
 
HEADERS = egldri.h
27
 
 
28
 
SOURCES = egldri.c
29
 
 
30
 
OBJECTS = $(SOURCES:.c=.o)
31
 
 
32
 
 
33
 
.c.o:
34
 
        $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
35
 
 
36
 
 
37
 
 
38
 
default: depend library Makefile
39
 
 
40
 
 
41
 
# EGLdri Library
42
 
library: $(TOP)/$(LIB_DIR)/libEGLdri.so
43
 
 
44
 
$(TOP)/$(LIB_DIR)/libEGLdri.so: $(OBJECTS)
45
 
        $(TOP)/bin/mklib -o EGLdri -major 1 -minor 0 \
46
 
                -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS)
47
 
 
48
 
 
49
 
clean:
50
 
        rm -f *.o
51
 
        rm -f *.so
52
 
 
53
 
depend: $(SOURCES) $(HEADERS)
54
 
        @ echo "running $(MKDEP)"
55
 
        @ touch depend
56
 
        $(MKDEP) $(MKDEP_OPTIONS) $(DEFINES) $(INCLUDE_DIRS) \
57
 
                $(SOURCES) $(HEADERS) > /dev/null 
58
 
 
59
 
include depend
60
 
# DO NOT DELETE
61