X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fdd83842f5ead4ef45852b9943df36c38b4d7d7..d47631c8f54fdd78c51de318d4128461a841cf57:/utils/serialize/Makefile.in diff --git a/utils/serialize/Makefile.in b/utils/serialize/Makefile.in index de3d25ffef..7a8beeebb6 100644 --- a/utils/serialize/Makefile.in +++ b/utils/serialize/Makefile.in @@ -9,7 +9,7 @@ RULE=gslib # define common stuff # define library name -LIB_TARGET=wxserial +LIB_TARGET=wx_serial_gtk LIB_MAJOR=2 LIB_MINOR=0 # define library sources @@ -23,3 +23,26 @@ sermain.o sercore.o sergdi.o serwnd.o serctrl.o serext.o # include the definitions now include ../../../template.mak + +install:: + @echo "Installing library files and headers for libwx_serial_gtk.." + @echo " Creating directory.." + @$(WXBASEDIR)/mkinstalldirs /usr/local/include/wx_serial + @echo " Copying headers from /include/wx" + @cd $(WXBASEDIR)/utils/serialize ; \ + for f in *.h ; do \ + rm -f /usr/local/include/wx_serial/$$f ; \ + $(INSTALL_DATA) $$f /usr/local/include/wx_serial/$$f ; \ + done + @echo " Copying static library files to /usr/local/lib" + @cd $(WXBASEDIR)/lib/$(OS) ; \ + for f in libwx_serial_gtk.a ; do \ + rm -f /usr/local/lib/$$f ; \ + $(INSTALL_DATA) $$f /usr/local/lib/$$f ; \ + done + @echo " Copying shared libraries to /usr/local/lib" + @cd $(WXBASEDIR)/lib/$(OS) ; \ + for f in libwx_serial_gtk.so* ; do \ + rm -f /usr/local/lib/$$f ; \ + $(INSTALL_PROGRAM) $$f /usr/local/lib/$$f ; \ + done