diff options
author | Chia-I Wu <[email protected]> | 2010-01-25 11:34:09 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-25 11:34:59 +0800 |
commit | 3f932a444021958d632e3e6334d7b168304dfd74 (patch) | |
tree | 7d4c5b8d4b0da9d5a8092cbdd6bc839d27a7dfd3 /src/egl/main | |
parent | a1c4a8a3c855d52fbfef10023b9a8f116e163a97 (diff) |
egl: Install EGL headers.
Install EGL (and KHR) headers along with the library.
Diffstat (limited to 'src/egl/main')
-rw-r--r-- | src/egl/main/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile index 5b83b43bc2b..31f214cf6f2 100644 --- a/src/egl/main/Makefile +++ b/src/egl/main/Makefile @@ -74,7 +74,15 @@ $(TOP)/$(LIB_DIR)/$(EGL_LIB_NAME): $(OBJECTS) -install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) \ $(EGL_LIB_DEPS) $(OBJECTS) -install: default +install-headers: + $(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/KHR + $(INSTALL) -m 644 $(TOP)/include/KHR/*.h \ + $(DESTDIR)$(INSTALL_INC_DIR)/KHR + $(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/EGL + $(INSTALL) -m 644 $(TOP)/include/EGL/*.h \ + $(DESTDIR)$(INSTALL_INC_DIR)/EGL + +install: default install-headers $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR) $(MINSTALL) $(TOP)/$(LIB_DIR)/$(EGL_LIB_GLOB) \ $(DESTDIR)$(INSTALL_LIB_DIR) |