X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FMakefile.local;fp=test%2FMakefile.local;h=7291dd23854585d5135166cdbbbb46000c397992;hb=6b4c98a569784ffe9c0d580daf687cb624708937;hp=09072e0169e89cd0c590fff9b66d062613cbf8a8;hpb=5e4dbac425d1c9f1461d071b2a05d26b2c75831f;p=fips diff --git a/test/Makefile.local b/test/Makefile.local index 09072e0..7291dd2 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -9,6 +9,8 @@ test_programs = ifeq ($(HAVE_X11),Yes) test_programs += $(dir)/glx-link-call test_programs += $(dir)/glx-dlopen-dlsym +test_programs += $(dir)/glx-dlopen-gpa +test_programs += $(dir)/glx-dlopen-gpaa endif glx_link_call_srcs = \ @@ -29,11 +31,29 @@ glx_dlopen_dlsym_modules = $(glx_dlopen_dlsym_srcs:.c=.o) $(dir)/glx-dlopen-dlsym: $(glx_dlopen_dlsym_modules) $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ -ldl $(X11_LDFLAGS) -o $@ +glx_dlopen_gpa_srcs = \ + $(dir)/glx-dlopen-gpa.c \ + $(dir)/util.c + +glx_dlopen_gpa_modules = $(glx_dlopen_gpa_srcs:.c=.o) + +$(dir)/glx-dlopen-gpa: $(glx_dlopen_gpa_modules) + $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ -ldl $(X11_LDFLAGS) -o $@ + +glx_dlopen_gpaa_srcs = \ + $(dir)/glx-dlopen-gpaa.c \ + $(dir)/util.c + +glx_dlopen_gpaa_modules = $(glx_dlopen_gpaa_srcs:.c=.o) + +$(dir)/glx-dlopen-gpaa: $(glx_dlopen_gpaa_modules) + $(call quiet,$(FIPS_LINKER) $(CFLAGS)) $^ -ldl $(X11_LDFLAGS) -o $@ + test: all $(test_programs) @${dir}/fips-test check: test -SRCS := $(SRCS) $(glx_link_call_srcs) $(glx_dlopen_dlsym_srcs) +SRCS := $(SRCS) $(glx_link_call_srcs) $(glx_dlopen_dlsym_srcs) $(glx_dlopen_gpa_srcs) -CLEAN += $(test_programs) $(glx_link_call_modules) $(glx_dlopen_dlsym_modules) +CLEAN += $(test_programs) $(glx_link_call_modules) $(glx_dlopen_dlsym_modules) $(glx_dlopen_gpa_modules)