Revert "Fix issue in gfx-drm integration" & "drm: illumos/gfx-drm integration"
[unleashed-userland.git] / components / openindiana / drm / Makefile
bloba81441c5af4451f163a8ba72a9dfa4aef6a1e22d
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= drm
18 COMPONENT_VERSION= 0.5.11
19 COMPONENT_REVISION= 1
20 COMPONENT_PROJECT_URL= https://hg.java.net/hg/solaris-x11~x-s12-clone
21 COMPONENT_SUMMARY= DRM Kernel Drivers
22 COMPONENT_SRC= $(COMPONENT_NAME)
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:3435a7a2ab1506629b2b9ee65232f66ea9b03d355006773b9abb65a316811a97
25 COMPONENT_FMRI= driver/graphics/drm
26 COMPONENT_CLASSIFICATION= Drivers/Display
27 COMPONENT_LICENSE= MIT
29 include $(WS_TOP)/make-rules/justmake.mk
30 include $(WS_TOP)/make-rules/ips.mk
32 PATH=/usr/gnu/bin:/usr/bin:/opt/onbld/bin/i386
34 LDFLAGS=-$(BITS)
35 LD_OPTIONS=
37 COMMON_ENV += CC="$(CC)"
38 COMMON_ENV += CFLAGS="$(CFLAGS)"
39 COMMON_ENV += LD="$(LD)"
40 COMMON_ENV += EXTRA_LDFLAGS="$(LDFLAGS)"
41 COMMON_ENV += MACH=$(MACH)
42 COMMON_ENV += MACH64=$(MACH64)
44 COMPONENT_BUILD_ENV += $(COMMON_ENV)
46 COMPONENT_BUILD_ARGS =
47 COMPONENT_BUILD_TARGETS = all
49 COMPONENT_INSTALL_ENV += $(COMMON_ENV)
51 # common targets
52 download::
54 clobber: clean
56 $(SOURCE_DIR)/.prep:
57 $(TOUCH) $@
59 build: $(BUILD_64)
61 install: $(INSTALL_64)
63 clean::
64 $(RM) $(SOURCE_DIR)/.prep
67 REQUIRED_PACKAGES += developer/build/onbld
68 REQUIRED_PACKAGES += system/header/header-agp