diff options
author | Chia-I Wu <[email protected]> | 2010-06-03 19:52:15 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-06-11 12:55:09 +0800 |
commit | 71580edc017f8feb667953df5a6e0792557672e1 (patch) | |
tree | 02deae6321a4a47deb8e60241f293d657d335b41 /src/gallium/state_trackers/egl/Makefile | |
parent | ce0c837f60d951de4f4798e5d4ab559155c09979 (diff) |
st/egl: Add fbdev backend.
The backend is pure software. It implements EGL_MESA_screen_surface
extension, and is kept simple by only exporting the current mode.
Diffstat (limited to 'src/gallium/state_trackers/egl/Makefile')
-rw-r--r-- | src/gallium/state_trackers/egl/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/egl/Makefile b/src/gallium/state_trackers/egl/Makefile index 8933890323a..a11dbf5395c 100644 --- a/src/gallium/state_trackers/egl/Makefile +++ b/src/gallium/state_trackers/egl/Makefile @@ -31,9 +31,14 @@ kms_SOURCES = $(wildcard kms/*.c) kms_OBJECTS = $(kms_SOURCES:.c=.o) -ALL_INCLUDES = $(common_INCLUDES) $(x11_INCLUDES) $(kms_INCLUDES) -ALL_SOURCES = $(common_SOURCES) $(x11_SOURCES) $(kms_SOURCES) -ALL_OBJECTS = $(common_OBJECTS) $(x11_OBJECTS) $(kms_OBJECTS) +fbdev_INCLUDES = -I$(TOP)/src/gallium/winsys/sw -I$(TOP)/src/gallium/drivers +fbdev_SOURCES = $(wildcard fbdev/*.c) +fbdev_OBJECTS = $(fbdev_SOURCES:.c=.o) + + +ALL_INCLUDES = $(common_INCLUDES) $(x11_INCLUDES) $(kms_INCLUDES) $(fbdev_INCLUDES) +ALL_SOURCES = $(common_SOURCES) $(x11_SOURCES) $(kms_SOURCES) $(fbdev_SOURCES) +ALL_OBJECTS = $(common_OBJECTS) $(x11_OBJECTS) $(kms_OBJECTS) $(fbdev_OBJECTS) ##### TARGETS ##### @@ -48,6 +53,9 @@ libeglx11.a: $(x11_OBJECTS) $(common_OBJECTS) Makefile libeglkms.a: $(kms_OBJECTS) $(common_OBJECTS) Makefile $(MKLIB) -o eglkms -static $(kms_OBJECTS) $(common_OBJECTS) +libeglfbdev.a: $(fbdev_OBJECTS) $(common_OBJECTS) Makefile + $(MKLIB) -o eglfbdev -static $(fbdev_OBJECTS) $(common_OBJECTS) + depend: rm -f depend touch depend @@ -73,4 +81,7 @@ $(x11_OBJECTS): %.o: %.c $(kms_OBJECTS): %.o: %.c $(CC) -c $(common_INCLUDES) $(kms_INCLUDES) $(DEFINES) $(CFLAGS) $< -o $@ +$(fbdev_OBJECTS): %.o: %.c + $(CC) -c $(common_INCLUDES) $(fbdev_INCLUDES) $(DEFINES) $(CFLAGS) $< -o $@ + sinclude depend |