mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
Don't build yuvrect_client by default
Added 'extra' rule to build optional yuvrect_client, shape, xdemo programs
This commit is contained in:
parent
18b2d83173
commit
834decdaae
1 changed files with 18 additions and 7 deletions
|
|
@ -6,11 +6,12 @@ include $(TOP)/configs/current
|
|||
|
||||
INCDIR = $(TOP)/include
|
||||
|
||||
LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME)
|
||||
LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)
|
||||
|
||||
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
|
||||
LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(APP_LIB_DEPS)
|
||||
|
||||
PROGS = glthreads \
|
||||
PROGS = \
|
||||
glthreads \
|
||||
glxdemo \
|
||||
glxgears \
|
||||
glxgears_fbconfig \
|
||||
|
|
@ -27,10 +28,14 @@ PROGS = glthreads \
|
|||
pbdemo \
|
||||
wincopy \
|
||||
xfont \
|
||||
xrotfontdemo \
|
||||
yuvrect_client
|
||||
xrotfontdemo
|
||||
|
||||
# Don't build these by default because of extra library dependencies
|
||||
EXTRA_PROGS = \
|
||||
shape \
|
||||
yuvrect_client \
|
||||
xdemo
|
||||
|
||||
# omit this XMesa API demo: xdemo
|
||||
|
||||
|
||||
##### RULES #####
|
||||
|
|
@ -47,8 +52,11 @@ PROGS = glthreads \
|
|||
default: $(PROGS)
|
||||
|
||||
|
||||
extra: $(EXTRA_PROGS)
|
||||
|
||||
|
||||
clean:
|
||||
-rm -f $(PROGS)
|
||||
-rm -f $(PROGS) $(EXTRA_PROGS)
|
||||
-rm -f *.o *~
|
||||
|
||||
|
||||
|
|
@ -83,3 +91,6 @@ xuserotfont.o: xuserotfont.c xuserotfont.h
|
|||
xrotfontdemo.o: xrotfontdemo.c xuserotfont.h
|
||||
$(CC) -c -I. -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) xrotfontdemo.c
|
||||
|
||||
yuvrect_client: yuvrect_client.c
|
||||
$(CC) -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) $< $(LDFLAGS) $(LIBS) -l$(GLU_LIB) -o $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue