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