5 extra_cflags += -I. $(GL_CFLAGS) $(X11_CFLAGS)
10 test_programs += $(dir)/glx-link-call
11 test_programs += $(dir)/glx-dlopen-dlsym
12 test_programs += $(dir)/glx-dlopen-gpa
13 test_programs += $(dir)/glx-dlopen-gpaa
16 glx_link_call_srcs = \
17 $(dir)/glx-link-call.c \
20 glx_link_call_modules = $(glx_link_call_srcs:.c=.o)
22 $(dir)/glx-link-call: $(glx_link_call_modules)
23 $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ $(GL_LDFLAGS) $(X11_LDFLAGS) -o $@
25 glx_dlopen_dlsym_srcs = \
26 $(dir)/glx-dlopen-dlsym.c \
29 glx_dlopen_dlsym_modules = $(glx_dlopen_dlsym_srcs:.c=.o)
31 $(dir)/glx-dlopen-dlsym: $(glx_dlopen_dlsym_modules)
32 $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ -ldl $(X11_LDFLAGS) -o $@
34 glx_dlopen_gpa_srcs = \
35 $(dir)/glx-dlopen-gpa.c \
38 glx_dlopen_gpa_modules = $(glx_dlopen_gpa_srcs:.c=.o)
40 $(dir)/glx-dlopen-gpa: $(glx_dlopen_gpa_modules)
41 $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ -ldl $(X11_LDFLAGS) -o $@
43 glx_dlopen_gpaa_srcs = \
44 $(dir)/glx-dlopen-gpaa.c \
47 glx_dlopen_gpaa_modules = $(glx_dlopen_gpaa_srcs:.c=.o)
49 $(dir)/glx-dlopen-gpaa: $(glx_dlopen_gpaa_modules)
50 $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ -ldl $(X11_LDFLAGS) -o $@
52 test: all $(test_programs)
57 SRCS := $(SRCS) $(glx_link_call_srcs) $(glx_dlopen_dlsym_srcs) $(glx_dlopen_gpa_srcs)
59 CLEAN += $(test_programs) $(glx_link_call_modules) $(glx_dlopen_dlsym_modules) $(glx_dlopen_gpa_modules)