5 extra_cflags += -I. $(GL_CFLAGS) $(X11_CFLAGS)
10 test_programs += $(dir)/glx-link-call
11 test_programs += $(dir)/glx-dlopen-dlsym
14 glx_link_call_srcs = \
15 $(dir)/glx-link-call.c \
18 glx_link_call_modules = $(glx_link_call_srcs:.c=.o)
20 $(dir)/glx-link-call: $(glx_link_call_modules)
21 $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ $(GL_LDFLAGS) $(X11_LDFLAGS) -o $@
23 glx_dlopen_dlsym_srcs = \
24 $(dir)/glx-dlopen-dlsym.c \
27 glx_dlopen_dlsym_modules = $(glx_dlopen_dlsym_srcs:.c=.o)
29 $(dir)/glx-dlopen-dlsym: $(glx_dlopen_dlsym_modules)
30 $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ -ldl $(X11_LDFLAGS) -o $@
32 test: all $(test_programs)
37 SRCS := $(SRCS) $(glx_link_call_srcs) $(glx_dlopen_dlsym_srcs)
39 CLEAN += $(test_programs) $(glx_link_call_modules) $(glx_dlopen_dlsym_modules)