rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / xf86-input-hotkey / Makefile
blob8772f5329b7e3e30b36c7afc5bc6b7cab64fabce
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 2015 Alexander Pyhalov
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= xf86-input-hotkey
19 COMPONENT_SRC= src
20 COMPONENT_VERSION= 0.5.11
21 COMPONENT_REVISION= 4
22 COMPONENT_SUMMARY= xf86-input-hotkey: ACPI hotkey input driver for the Xorg server
23 COMPONENT_PROJECT_URL = https://hg.java.net/hg/solaris-x11~x-s12-clone
24 COMPONENT_CLASSIFICATION= Drivers/Other Peripherals
25 COMPONENT_LICENSE = MIT
26 COMPONENT_LICENSE_FILE = xf86-input-hotkey.license
27 COMPONENT_FMRI = x11/server/xorg/driver/xorg-input-hotkey
29 include $(WS_TOP)/make-rules/justmake.mk
30 include $(WS_TOP)/make-rules/ips.mk
32 SERVERMOD_SUBDIR.64=/$(MACH64)
33 SERVERMOD_SUBDIR=$(SERVERMOD_SUBDIR.$(BITS))
34 X11_SERVERMODS_DIR=/usr/lib/xorg/modules
36 CPPFLAGS += -I/usr/include/xorg
37 CPPFLAGS += -I/usr/include/pixman-1
39 COMPONENT_COMMON_ENV = CC=$(CC)
40 COMPONENT_COMMON_ENV += CFLAGS="$(CFLAGS) --std=gnu99"
41 COMPONENT_COMMON_ENV += CPPFLAGS="$(CPPFLAGS)"
42 COMPONENT_COMMON_ENV += LDFLAGS="$(LDFLAGS)"
44 COMPONENT_INSTALL_ARGS += MODULEDIR=$(X11_SERVERMODS_DIR)
45 COMPONENT_INSTALL_ARGS += ARCHLIBSUBDIR=$(SERVERMOD_SUBDIR)
47 COMPONENT_BUILD_ENV += $(COMPONENT_COMMON_ENV)
48 COMPONENT_INSTALL_ENV += INSTALL=$(INSTALL)
50 COMPONENT_POST_BUILD_ACTION = $(TOUCH) $(BUILD_DIR)
52 download:
54 clobber: clean
56 $(SOURCE_DIR)/.prep:
57 $(TOUCH) $@
59 clean::
60 $(RM) $(SOURCE_DIR)/.prep
62 $(BUILD_64): Makefile
64 build: $(BUILD_64)
66 install: $(INSTALL_64)
68 test: $(NO_TESTS)
70 # Manually added dependency
71 REQUIRED_PACKAGES += x11/server/xorg
73 # Automatically added dependencies
74 REQUIRED_PACKAGES += system/library