We only conditionally compile these libraries, so we should also only
conditionally install them.
.PHONY: install
install: all
.PHONY: install
install: all
+ifeq ($(COMPILER_SUPPORTS_64),Yes)
mkdir -p $(DESTDIR)$(LIBDIR)/glaze/$(LIB64_DIR)
install -m0644 $(LIB64_DIR)/libGL.so.1 $(DESTDIR)$(LIBDIR)/glaze/$(LIB64_DIR)
mkdir -p $(DESTDIR)$(LIBDIR)/glaze/$(LIB64_DIR)
install -m0644 $(LIB64_DIR)/libGL.so.1 $(DESTDIR)$(LIBDIR)/glaze/$(LIB64_DIR)
+endif
+ifeq ($(COMPILER_SUPPORTS_32),Yes)
mkdir -p $(DESTDIR)$(LIBDIR)/glaze/$(LIB32_DIR)
install -m0644 $(LIB32_DIR)/libGL.so.1 $(DESTDIR)$(LIBDIR)/glaze/$(LIB32_DIR)
mkdir -p $(DESTDIR)$(LIBDIR)/glaze/$(LIB32_DIR)
install -m0644 $(LIB32_DIR)/libGL.so.1 $(DESTDIR)$(LIBDIR)/glaze/$(LIB32_DIR)
install -m0644 $(LIBGLAZE_LIBNAME) $(DESTDIR)$(LIBDIR)
ln -sf $(LIBGLAZE_LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBGLAZE_SONAME)
ln -sf $(LIBGLAZE_LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBGLAZE_LINKER_NAME)
install -m0644 $(LIBGLAZE_LIBNAME) $(DESTDIR)$(LIBDIR)
ln -sf $(LIBGLAZE_LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBGLAZE_SONAME)
ln -sf $(LIBGLAZE_LIBNAME) $(DESTDIR)$(LIBDIR)/$(LIBGLAZE_LINKER_NAME)