perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / openindiana / fuse / Makefile
blobf5b4a3cbada0086aa51790de784364d9d6af8b27
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016, Adam Stevko
16 BUILD_STYLE = justmake
17 BUILD_BITS = 64
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= illumos-fusefs
22 COMPONENT_VERSION= f7c3e8c785091774d75d4f11ac12f2309a3f2dbd
23 IPS_COMPONENT_VERSION= 1.5
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
26 COMPONENT_ARCHIVE_HASH= sha256:06551185d2709b4ce043d98e97fccb0a375f5c4161550e594449ce09f09e8aab
27 COMPONENT_ARCHIVE_URL= https://github.com/jurikm/illumos-fusefs/archive/$(COMPONENT_VERSION).zip
29 TEST_TARGET = $(NO_TESTS)
31 include $(WS_MAKE_RULES)/common.mk
33 # Force gcc 7 for a case we would switch our default gcc to something else.
34 # This should match the compiler used to build illumos-gate.
35 # Now switched to gcc 10
36 GCC_VERSION = 10
38 PATH=/opt/onbld/bin/i386:$(PATH.illumos)
40 $(BUILD_$(MK_BITS)): $(SOURCE_DIR)/.prep
41 $(MKDIR) $(@D)
42 $(CLONEY) $(SOURCE_DIR) $(@D)
43 (cd $(@D)/kernel && $(ENV) - CC=$(CC) PATH=$(PATH) dmake -e)
44 $(TOUCH) $@
46 $(INSTALL_$(MK_BITS)): $(BUILD_$(MK_BITS))
47 $(MKDIR) $(PROTO_DIR)
49 (cd $(@D)/kernel && dmake install)
51 $(MKDIR) $(PROTOUSRKERNELDRVDIR) $(PROTOUSRKERNELDRVDIR64)
53 $(INSTALL) $(@D)/kernel/proto/$(USRKERNELDRVDIR64)/fuse $(PROTOUSRKERNELDRVDIR64)
54 $(INSTALL) $(@D)/kernel/proto/$(USRKERNELDRVDIR)/fuse.conf $(PROTOUSRKERNELDRVDIR)
56 $(TOUCH) $@
58 # Auto-generated dependencies