Lines Matching +full:- +full:d_gnu_source
2 # Use of this source code is governed by a BSD-style license that can be
8 PC_CFLAGS := $(shell $(PKG_CONFIG) --cflags $(PC_DEPS))
9 PC_LIBS := $(shell $(PKG_CONFIG) --libs $(PC_DEPS))
11 CPPFLAGS += -D_GNU_SOURCE=1
12 CFLAGS += -std=c99 -Wall -Wsign-compare -Wpointer-arith -Wcast-qual \
13 -Wcast-align -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
16 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_amdgpu)
17 LDLIBS += -ldrm_amdgpu -ldl
20 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_exynos)
23 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_intel)
26 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_meson)
29 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
32 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_rockchip)
35 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_vc4)
47 CC_LIBRARY($(MINIGBM_FILENAME)): LDFLAGS += -Wl,-soname,libgbm.so.$(GBM_VERSION_MAJOR)
55 mkdir -p $(DESTDIR)/$(LIBDIR)
56 install -D -m 755 $(OUT)/$(MINIGBM_FILENAME) $(DESTDIR)/$(LIBDIR)
57 ln -sf $(MINIGBM_FILENAME) $(DESTDIR)/$(LIBDIR)/libgbm.so
58 ln -sf $(MINIGBM_FILENAME) $(DESTDIR)/$(LIBDIR)/libgbm.so.$(GBM_VERSION_MAJOR)
59 install -D -m 0644 $(SRC)/gbm.pc $(DESTDIR)$(LIBDIR)/pkgconfig/gbm.pc
60 install -D -m 0644 $(SRC)/gbm.h $(DESTDIR)/usr/include/gbm.h