diff options
author | Benjamin Franzke <[email protected]> | 2011-02-21 16:22:34 +0100 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-03-01 17:23:50 -0500 |
commit | 6b369c4c7cd8a52f99bbff2a57fb316b33a87495 (patch) | |
tree | 6a1110f5246f86a2ba3a46e244b2a34629d323fe /src/egl/wayland/Makefile | |
parent | 654adaabc979acb082c0006cdfabfbacfed53084 (diff) |
egl: Add EGL_WL_bind_wayland_display
Diffstat (limited to 'src/egl/wayland/Makefile')
-rw-r--r-- | src/egl/wayland/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/egl/wayland/Makefile b/src/egl/wayland/Makefile index 4cd036519db..3499aef0486 100644 --- a/src/egl/wayland/Makefile +++ b/src/egl/wayland/Makefile @@ -1,4 +1,4 @@ -# src/egl/main/Makefile +# src/egl/wayland/Makefile TOP = ../../.. include $(TOP)/configs/current @@ -10,14 +10,20 @@ SOURCES = wayland-egl.c OBJECTS = $(SOURCES:.c=.o) -LOCAL_CFLAGS = -I$(TOP)/include/EGL $(LIBDRM_CFLAGS) $(WAYLAND_CFLAGS) +LOCAL_CFLAGS = -I$(TOP)/include/EGL \ + -I$(TOP)/src/egl/wayland/wayland-drm \ + $(LIBDRM_CFLAGS) \ + $(WAYLAND_CFLAGS) + LOCAL_LIBS = +SUBDIRS = wayland-drm + .c.o: $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(LOCAL_CFLAGS) $< -o $@ -default: depend library +default: depend subdirs library # wayland-egl Library library: $(TOP)/$(LIB_DIR)/$(WAYLAND_EGL_LIB_NAME) @@ -54,6 +60,12 @@ clean: -rm -f *.o -rm -f depend depend.bak +subdirs: + @for dir in $(SUBDIRS) ; do \ + if [ -d $$dir ] ; then \ + (cd $$dir && $(MAKE)) || exit 1 ; \ + fi \ + done depend: $(SOURCES) $(HEADERS) @ echo "running $(MKDEP)" |