<commit_before>include ../../config.mak

vpath %.c $(SRC_PATH)/modules/x11_out

CFLAGS= $(OPTFLAGS)

ifeq ($(DEBUGBUILD), yes)
CFLAGS+=-g
LDFLAGS+=-g
endif

ifeq ($(GPROFBUILD), yes)
CFLAGS+=-pg
LDFLAGS+=-pg
endif

CFLAGS+=-I$(SRC_PATH)/include
# -I/usr/local/arm/3.3.2/include


ifeq ($(X11_INC_PATH), )
else
CFLAGS+=-I$(X11_INC_PATH)
endif

ifeq ($(X11_LIB_PATH), )
else
LDFLAGS+=-L$(X11_LIB_PATH)
endif

ifeq ($(USE_X11_XV), yes)
CFLAGS+=-DGPAC_HAS_X11_XV
LDFLAGS+=-lXv
endif

ifeq ($(USE_X11_SHM), yes)
CFLAGS+=-DGPAC_HAS_X11_SHM
LDFLAGS+=-lXext
endif

ifeq ($(HAS_OPENGL), yes)
ifeq ($(GPAC_USE_TINYGL), yes)
else
CFLAGS+=$(OGL_INCLS)
LDFLAGS+=$(OGL_LIBS)
endif
endif

#common obj
OBJS=x11_out.o

SRCS := $(OBJS:.o=.c) <commit_msg>[bouqueau] fix X11 module build<commit_after>include ../../config.mak

vpath %.c $(SRC_PATH)/modules/x11_out

CFLAGS= $(OPTFLAGS)

ifeq ($(DEBUGBUILD), yes)
CFLAGS+=-g
LDFLAGS+=-g
endif

ifeq ($(GPROFBUILD), yes)
CFLAGS+=-pg
LDFLAGS+=-pg
endif

CFLAGS+=-I$(SRC_PATH)/include
# -I/usr/local/arm/3.3.2/include


ifeq ($(X11_INC_PATH), )
else
CFLAGS+=-I$(X11_INC_PATH)
endif

ifeq ($(X11_LIB_PATH), )
else
LDFLAGS+=-L$(X11_LIB_PATH)
endif

ifeq ($(USE_X11_XV), yes)
CFLAGS+=-DGPAC_HAS_X11_XV
LDFLAGS+=-lXv
endif

ifeq ($(USE_X11_SHM), yes)
CFLAGS+=-DGPAC_HAS_X11_SHM
LDFLAGS+=-lXext
endif

ifeq ($(HAS_OPENGL), yes)
ifeq ($(GPAC_USE_TINYGL), yes)
else
CFLAGS+=$(OGL_INCLS)
LDFLAGS+=$(OGL_LIBS)
ifeq ($(CONFIG_DARWIN),yes)
LDFLAGS+=-lGL -lGLU
endif
endif
endif

#common obj
OBJS=x11_out.o

SRCS := $(OBJS:.o=.c) 
{'fraction_non_alphanumeric': 0.19300518134715025, 'fraction_numerical': 0.031088082901554404, 'mean_word_length': 5.717391304347826, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2725951', 'n_tokens_mistral': 787, 'n_tokens_neox': 735, 'n_words': 127}