install-progs: $(PROGS)
endif
install -d "$(bindir)"
- install -c $(INSTALLSTRIP) -m 755 $(PROGS) "$(bindir)"
+ install -c -m 755 $(PROGS) "$(bindir)"
# Create the Windows installer.
wininstaller: all install
install-lib-shared: $(SLIBNAME)
install -d "$(shlibdir)"
- install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
- "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
+ install -m 755 $(SLIBNAME) "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
+ $(STRIP) "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
cd "$(shlibdir)" && \
ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
cd "$(shlibdir)" && \
debug="yes"
extrawarnings="no"
dostrip="yes"
-installstrip="-s"
extralibs="-lm"
bigendian="no"
vhook="default"
extralibs="-lpoll -lgnugetopt -lm"
make="gmake"
strip="strip -d"
-installstrip=""
;;
Darwin)
cc="cc"
VHOOKSHFLAGS='-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(shlibdir)/vhook/$@'
extralibs=""
strip="strip -x"
-installstrip=""
FFLDFLAGS="-Wl,-dynamic,-search_paths_first"
SLIBSUF=".dylib"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)'
echo "RANLIB=$ranlib" >> config.mak
if test "$dostrip" = "yes" ; then
echo "STRIP=$strip" >> config.mak
- echo "INSTALLSTRIP=$installstrip" >> config.mak
else
echo "STRIP=echo ignoring strip" >> config.mak
- echo "INSTALLSTRIP=" >> config.mak
fi
echo "OPTFLAGS=$CFLAGS" >> config.mak