File indexing completed on 2025-01-05 05:12:56
0001 first: all 0002 0003 include ../Makefile.include 0004 0005 include ../libiconv/Makefile.include 0006 include ../gettext/Makefile.include 0007 0008 include Makefile.include 0009 0010 PRODUCT_NAME = libgpg-error 0011 PRODUCT_VERSION = 1.31 0012 PRODUCT_DIRNAME = $(PRODUCT_NAME)-$(PRODUCT_VERSION) 0013 PRODUCT_PORT_SUFFIX = $(TARGET_MACHINE) 0014 0015 PRODUCT_ARCHIVE = $(PRODUCT_NAME)-$(PRODUCT_VERSION).tar.gz 0016 PRODUCT_ARCHIVE_URL = ftp://ftp.gnupg.org/gcrypt/libgpg-error/$(PRODUCT_ARCHIVE) 0017 PRODUCT_ARCHIVE_DIR = $(ARCHIVE_DIR) 0018 PRODUCT_ARCHIVE_PATH = $(PRODUCT_ARCHIVE_DIR)/$(PRODUCT_ARCHIVE) 0019 0020 PRODUCT_SOURCE_DIR = $(SOURCE_DIR)/$(PRODUCT_DIRNAME) 0021 0022 PRODUCT_PORT_DIR = $(PORT_DIR)/$(PRODUCT_DIRNAME)-$(PRODUCT_PORT_SUFFIX) 0023 0024 PRODUCT_BUILD_DIR = $(BUILD_DIR)/$(PRODUCT_DIRNAME)-$(PRODUCT_PORT_SUFFIX) 0025 0026 PRODUCT_INSTALL_DIR = $(LIBGPG-ERROR_INSTALL_DIR) 0027 PRODUCT_INSTALL_INCLUDE_DIR = $(PRODUCT_INSTALL_DIR)/include 0028 PRODUCT_INSTALL_LIB_DIR = $(PRODUCT_INSTALL_DIR)/bin 0029 0030 PRODUCT_DEPLOY_DIR = $(LIBGPG-ERROR_DEPLOY_DIR) 0031 PRODUCT_DEPLOY_INCLUDE_DIR = $(PRODUCT_DEPLOY_DIR)/include 0032 PRODUCT_DEPLOY_LIB_DIR = $(PRODUCT_DEPLOY_DIR)/lib 0033 0034 PRODUCT_CONFIGURE_TXT_PATH = $(BUILD_DIR)/$(PRODUCT_NAME)-$(PRODUCT_VERSION)-$(PRODUCT_PORT_SUFFIX).configure.txt 0035 PRODUCT_README_PORT_MD_PATH = $(PRODUCT_PORT_DIR)/README.$(PRODUCT_PORT_SUFFIX).md 0036 PRODUCT_BUILD_TXT_PATH = $(BUILD_DIR)/$(PRODUCT_NAME)-$(PRODUCT_VERSION)-$(PRODUCT_PORT_SUFFIX).build.txt 0037 0038 PRODUCT_INCLUDE_FILES = gpg-error.h gpgrt.h 0039 PRODUCT_INCLUDE_FILES_INSTALL = $(addprefix $(PRODUCT_INSTALL_INCLUDE_DIR)/, $(PRODUCT_INCLUDE_FILES)) 0040 PRODUCT_INCLUDE_FILES_DEPLOY = $(addprefix $(PRODUCT_DEPLOY_INCLUDE_DIR)/, $(PRODUCT_INCLUDE_FILES)) 0041 0042 PRODUCT_LIB_FILES = libgpg-error-0.dll 0043 PRODUCT_LIB_FILES_INSTALL = $(addprefix $(PRODUCT_INSTALL_LIB_DIR)/, $(PRODUCT_LIB_FILES)) 0044 PRODUCT_LIB_FILES_DEPLOY = $(addprefix $(PRODUCT_DEPLOY_LIB_DIR)/, $(PRODUCT_LIB_FILES)) 0045 0046 PATH := $(GETTEXT_INSTALL_DIR)/bin:$(LIBICONV_INSTALL_DIR)/bin:$(PATH) 0047 0048 export PATH MAKE 0049 0050 include ../Makefile.phony 0051 0052 all: deploy 0053 0054 include ../Makefile.deploy 0055 0056 include ../Makefile.buildinstall 0057 0058 build $(PRODUCT_BUILD_TXT_PATH): $(PRODUCT_BUILD_DIR)/Makefile | $(CD) $(MAKE) $(TEE) $(CMD) 0059 $(CD) $(PRODUCT_BUILD_DIR) && $(MAKE) -j $(MAKE_BUILD_JOBS) CFLAGS+='-g0' 2>&1 | $(TEE) $(PRODUCT_BUILD_TXT_PATH) 0060 0061 buildconfigure $(PRODUCT_BUILD_DIR)/Makefile: $(PRODUCT_BUILD_DIR)/configure \ 0062 $(LIBICONV_INSTALL_DIR) \ 0063 $(GETTEXT_INSTALL_DIR) | $(CD) $(SH) $(TEE) $(AWK) $(SED) $(CMD) 0064 $(CD) $(PRODUCT_BUILD_DIR) && $(SH) configure --host=$(HOST_MACHINE) --build=$(BUILD_MACHINE) \ 0065 --prefix=$(PRODUCT_INSTALL_DIR) \ 0066 --with-libiconv-prefix=$(LIBICONV_INSTALL_DIR) \ 0067 --with-libintl-prefix=$(GETTEXT_INSTALL_DIR) \ 0068 --disable-rpath \ 0069 2>&1 | $(TEE) $(PRODUCT_CONFIGURE_TXT_PATH) 0070 0071 include ../Makefile.builddir 0072 0073 include ../Makefile.port 0074 0075 include ../Makefile.portdir 0076 0077 include ../Makefile.sourcedir 0078 0079 include ../Makefile.archive 0080 0081 include ../Makefile.clean 0082