diff options
author | midipix <writeonce@midipix.org> | 2019-10-05 17:11:23 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-10-05 23:59:56 +0000 |
commit | 2df5f5ff457ad26b70ce7dad3a499f84fc1c494e (patch) | |
tree | 2700d0312c869065110ad323c1195a466b70c863 | |
parent | ea484b03586610f589f766e69034487381dabd07 (diff) | |
download | sbpython3-2df5f5ff457ad26b70ce7dad3a499f84fc1c494e.tar.bz2 sbpython3-2df5f5ff457ad26b70ce7dad3a499f84fc1c494e.tar.xz |
target-specific headers: added the install-pyhdr-osapi install target.
-rw-r--r-- | config/linux/config.mk | 7 | ||||
-rw-r--r-- | config/midipix/config.mk | 6 | ||||
-rw-r--r-- | project/pyinst.mk | 6 |
3 files changed, 19 insertions, 0 deletions
diff --git a/config/linux/config.mk b/config/linux/config.mk index b8a5f1f..becf01f 100644 --- a/config/linux/config.mk +++ b/config/linux/config.mk @@ -28,3 +28,10 @@ PYEXT_STATIC = \ # strict shared object generation LDFLAGS_STRICT += -Wl,-no-undefined + +# osapi headers +PYTHON_OSAPI_HEADERS = \ + $(PROJECT_DIR)/profiles/osapi/modern.h \ + $(PROJECT_DIR)/profiles/osapi/rtld.h \ + $(PROJECT_DIR)/profiles/osapi/linux.h \ + $(PROJECT_DIR)/profiles/osapi/overrides.h \ diff --git a/config/midipix/config.mk b/config/midipix/config.mk index 45ec0e5..63770fc 100644 --- a/config/midipix/config.mk +++ b/config/midipix/config.mk @@ -26,3 +26,9 @@ PYEXT_STATIC = \ # strict shared object generation LDFLAGS_STRICT += -Wl,-no-undefined + +# osapi headers +PYTHON_OSAPI_HEADERS = \ + $(PROJECT_DIR)/profiles/osapi/modern.h \ + $(PROJECT_DIR)/profiles/osapi/rtld.h \ + $(PROJECT_DIR)/profiles/osapi/midipix.h \ diff --git a/project/pyinst.mk b/project/pyinst.mk index bf50414..c18fcd4 100644 --- a/project/pyinst.mk +++ b/project/pyinst.mk @@ -34,8 +34,14 @@ install-pyhdr: config.tag mkdir -p $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE) cp -p $(API_HEADERS) $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE) +# install-pyhdr-osapi +install-pyhdr-osapi: config.tag + mkdir -p $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE)/osapi + cp -p $(PYTHON_OSAPI_HEADERS) $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE)/osapi + install-shared: install-pyext install-shared: install-pyhdr +install-shared: install-pyhdr-osapi install-app: install-man install-app: install-app-extdir |