]> git.cworth.org Git - fips/blobdiff - Makefile.local
Add some *wrap_ prefixes to real_foo symbols.
[fips] / Makefile.local
index 6ee50ab1148e458af9ec731875d5e8613e093d23..c81b0768c489b92553da20207b58ffaf67faddad 100644 (file)
@@ -75,13 +75,19 @@ fips: $(fips_modules)
        $(call quiet,$(FINAL_FIPS_LINKER) $(CFLAGS)) $(FINAL_CFLAGS) $^ $(FINAL_FIPS_LDFLAGS) -o $@
 
 # GL-wrapper library, libfips
-LIBRARY_LINK_FLAGS = -shared -Wl,--version-script=libfips.sym,--no-undefined
+LIBRARY_LINK_FLAGS = -shared -Wl,--version-script=libfips.sym
 
 extra_cflags += -I$(srcdir) -fPIC
 
 libfips_srcs = \
        dlwrap.c \
-       glxwrap.c
+       glwrap.c \
+       glxwrap.c \
+       metrics.c
+
+ifeq ($(HAVE_EGL),Yes)
+libfips_srcs += eglwrap.c
+endif
 
 libfips_32_modules = $(libfips_srcs:.c=-32.o)