📄 makefile
字号:
# src/mesa/drivers/directfb/MakefileTOP = ../../../..include $(TOP)/configs/currentINCLUDE_DIRS = \ -I$(TOP)/include \ -I$(TOP)/src/mesa \ -I$(TOP)/src/mesa/main \ -I$(TOP)/src/mesa/glapi \ -I$(TOP)/src/mesa/math \ -I$(TOP)/src/mesa/tnl \ -I$(TOP)/src/mesa/shader \ -I$(TOP)/src/mesa/swrast \ -I$(TOP)/src/mesa/swrast_setupDFB_CFLAGS = $(shell pkg-config --cflags directfb)DFB_MODULEDIR = $(shell pkg-config --variable=moduledir directfb-internal)DIRECTFBGL_MESA_SOURCES = ../common/driverfuncs.c idirectfbgl_mesa.cDIRECTFBGL_MESA_OBJECTS = $(DIRECTFBGL_MESA_SOURCES:.c=.o)DIRECTFBGL_MESA = libidirectfbgl_mesa.soLIBS = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a.c.o: $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(DFB_CFLAGS) $< -o $@default: directfb-libgl directfbgl_mesa# XXX this used to be in src/mesa/Makefile and is probably broken nowdirectfb-libgl: $(LIBS) @ $(MKLIB) -o $(GL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \ -major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \ -install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) $(LIBS) \ $(GL_LIB_DEPS)# Mesa DirectFBGL moduledirectfbgl_mesa: $(DIRECTFBGL_MESA_OBJECTS) $(CC) -shared $(CFLAGS) $(DIRECTFBGL_MESA_OBJECTS) -o $(DIRECTFBGL_MESA) \ -Wl,-soname -Wl,$(DIRECTFBGL_MESA) -L$(TOP)/$(LIB_DIR) -lGL -lminstall: @if test -d $(DFB_MODULEDIR); then \ echo "Installing DirectFBGL module."; \ else \ echo "*** Failed to determine DirectFB module's directory."; \ echo "*** Installation aborted."; \ exit 1; \ fi; test -d $(DFB_MODULEDIR)/interfaces/IDirectFBGL/ || mkdir $(DFB_MODULEDIR)/interfaces/IDirectFBGL/ install -m 755 $(DIRECTFBGL_MESA) $(DFB_MODULEDIR)/interfaces/IDirectFBGL/clean: -rm -f *.o *.so
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -