Ticket #16465: patch-Makefile.in.diff
File patch-Makefile.in.diff, 2.0 KB (added by billitch@…, 16 years ago) |
---|
-
Makefile.in
42 42 TARGETDIR=@TARGETDIR@ 43 43 44 44 include make/ptlib.mak 45 include make/common.mak 46 47 LIB_FILENAME=$(PTLIB_FILE) 48 include make/lib.mak 45 49 46 50 SUBDIRS := src/ptlib/$(TARGETDIR) 47 51 ifeq (1, $(HAS_PLUGINS)) … … 70 74 docs: 71 75 doxygen ptlib_cfg.dxy 72 76 77 78 install-shared: 79 73 80 install: 74 81 ( for dir in $(DESTDIR)$(LIBDIR) \ 75 82 $(DESTDIR)$(PREFIX)/bin \ … … 79 86 $(DESTDIR)$(PREFIX)/share/ptlib/make ; \ 80 87 do mkdir -p $$dir ; chmod 755 $$dir ; \ 81 88 done ) 82 $(INSTALL) -m 444 lib/$( PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@$(DESTDIR)$(LIBDIR)89 $(INSTALL) -m 444 lib/$(LIBNAME_PAT) $(DESTDIR)$(LIBDIR) 83 90 (cd $(DESTDIR)$(LIBDIR) ; \ 84 rm -f $( PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@; \85 ln -sf $( PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@ $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@\91 rm -f $(LIBNAME_MIN) ; \ 92 ln -sf $(LIBNAME_PAT) $(LIBNAME_MIN) \ 86 93 ) 87 94 (cd $(DESTDIR)$(LIBDIR) ; \ 88 rm -f $( PTLIB_FILE).@MAJOR_VERSION@; \89 ln -sf $( PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@ $(PTLIB_FILE).@MAJOR_VERSION@\95 rm -f $(LIBNAME_MAJ) ; \ 96 ln -sf $(LIBNAME_PAT) $(LIBNAME_MAJ) \ 90 97 ) 91 98 (cd $(DESTDIR)$(LIBDIR) ; \ 92 99 rm -f $(PTLIB_FILE) ; \ 93 ln -sf $( PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@@BUILD_TYPE@@BUILD_NUMBER@$(PTLIB_FILE) \100 ln -sf $(LIBNAME_PAT) $(PTLIB_FILE) \ 94 101 ) 95 102 (cd $(DESTDIR)$(LIBDIR); \ 96 103 rm -f libpt.@SHAREDLIBEXT@ ; \ 97 104 ln -sf $(PTLIB_FILE) libpt.@SHAREDLIBEXT@ \ 98 105 ) 99 106 ifeq (1, $(HAS_PLUGINS)) 100 cd plugins/ptlib/device/ ;\107 cd plugins/ptlib/device/ && \ 101 108 ( for dir in ./* ;\ 102 109 do mkdir -p $(DESTDIR)$(LIBDIR)/ptlib/devices/$$dir ; \ 103 110 chmod 755 $(DESTDIR)$(LIBDIR)/ptlib/devices/$$dir ; \ 104 (for fn in ./$$dir/*. so; \111 (for fn in ./$$dir/*.@SHAREDLIBEXT@ ; \ 105 112 do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/ptlib/devices/$$dir; \ 106 113 done ); \ 107 114 done )