public inbox for bzip2-devel@sourceware.org
 help / color / mirror / Atom feed
* [Bug bzip2/25513] New: Update Makefiles; add Makefile for Darwin
@ 2020-01-01  0:00 noloader at gmail dot com
  2020-01-01  0:00 ` [Bug bzip2/25513] " noloader at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: noloader at gmail dot com @ 2020-01-01  0:00 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25513

            Bug ID: 25513
           Summary: Update Makefiles; add Makefile for Darwin
           Product: bzip2
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bzip2
          Assignee: nobody at sourceware dot org
          Reporter: noloader at gmail dot com
                CC: bzip2-devel at sourceware dot org
  Target Milestone: ---

Created attachment 12263
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12263&action=edit
Update Bzip2 makefiles for static archive and shared object. New makefile for
Darwin dylib

As [not] discussed on the mailing list :) There were no comments.

On Darwin the install_name libbz2.1.0.dylib was used.

---------- Forwarded message ---------
From: Jeffrey Walton <noloader@gmail.com>
Date: Sun, Feb 2, 2020 at 9:39 AM
Subject: Makefile for Darwin
To: <bzip2-devel@sourceware.org>

Hi Everyone,

Attached is a makefile for Darwin dylibs. The Darwin makefile is a lot
like the shared object makefile, so there is not much to explain. (In
fact, it was mostly a copy/paste). The Darwin makefile also sets
install_names before and after install. The makefile was tested on
modern OS X10.9 (x86_64 with clang) and OS X 10.5 (PowerMac with gcc).

The regular makefile and the shared object makefile are also included.
The makefiles were cleaned up to follow GNU Coding Standards. The
interesting sections of the manual are at [1][2][3].

Effectively it means standard variables were used so (1) the makefile
behaves like users expect, and (2) it is easier to for user's to
override default settings. For example, VPATHs are now supported by
using $< and $@ instead of hardcoding filenames.

Though the original makefiles were modified, all existing behavior is
preserved. Someone running 'make && make install' should see the same
behavior as before.

The open question (for me) on Darwin is, should the library use the
name libbz2.1.0.8.dylib. The name is consistent with Linux and Unix,
but I believe OS X typical uses Maj.Min numbers for this case, not
Maj.Min.Rev. That is, on OS X, libbz2.1.0.dylib would be more common.

If anyone has comments, then they would be appreciated.

I'll open a bug report with a pull request after comments. Or, if
Julian or Mark prefers, unzip in the bzip2 directory and simply check
them in. I don't care about credits or copyright or license.
Everything belongs to the project.

[1] https://www.gnu.org/prep/standards/html_node/Makefile-Basics.html
[2] https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
[3] https://www.gnu.org/prep/standards/html_node/Command-Variables.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/25513] Update Makefiles; add Makefile for Darwin
  2020-01-01  0:00 [Bug bzip2/25513] New: Update Makefiles; add Makefile for Darwin noloader at gmail dot com
                   ` (2 preceding siblings ...)
  2020-01-01  0:00 ` noloader at gmail dot com
@ 2020-01-01  0:00 ` noloader at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: noloader at gmail dot com @ 2020-01-01  0:00 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25513

Jeffrey Walton <noloader at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12264|0                           |1
        is obsolete|                            |

--- Comment #2 from Jeffrey Walton <noloader at gmail dot com> ---
Created attachment 12266
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12266&action=edit
Update Bzip2 makefiles for static archive and shared object. New makefile for
Darwin dylib

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/25513] Update Makefiles; add Makefile for Darwin
  2020-01-01  0:00 [Bug bzip2/25513] New: Update Makefiles; add Makefile for Darwin noloader at gmail dot com
  2020-01-01  0:00 ` [Bug bzip2/25513] " noloader at gmail dot com
  2020-01-01  0:00 ` noloader at gmail dot com
@ 2020-01-01  0:00 ` noloader at gmail dot com
  2020-01-01  0:00 ` noloader at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: noloader at gmail dot com @ 2020-01-01  0:00 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25513

--- Comment #3 from Jeffrey Walton <noloader at gmail dot com> ---
Created attachment 12267
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12267&action=edit
Update Bzip2 makefiles for static archive and shared object. New makefile for
Darwin dylib

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/25513] Update Makefiles; add Makefile for Darwin
  2020-01-01  0:00 [Bug bzip2/25513] New: Update Makefiles; add Makefile for Darwin noloader at gmail dot com
@ 2020-01-01  0:00 ` noloader at gmail dot com
  2020-01-01  0:00 ` noloader at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: noloader at gmail dot com @ 2020-01-01  0:00 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25513

Jeffrey Walton <noloader at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12263|0                           |1
        is obsolete|                            |

--- Comment #1 from Jeffrey Walton <noloader at gmail dot com> ---
Created attachment 12264
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12264&action=edit
Update Bzip2 makefiles for static archive and shared object. New makefile for
Darwin dylib

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/25513] Update Makefiles; add Makefile for Darwin
  2020-01-01  0:00 [Bug bzip2/25513] New: Update Makefiles; add Makefile for Darwin noloader at gmail dot com
  2020-01-01  0:00 ` [Bug bzip2/25513] " noloader at gmail dot com
@ 2020-01-01  0:00 ` noloader at gmail dot com
  2020-01-01  0:00 ` noloader at gmail dot com
  2020-01-01  0:00 ` noloader at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: noloader at gmail dot com @ 2020-01-01  0:00 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=25513

Jeffrey Walton <noloader at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12266|0                           |1
        is obsolete|                            |
  Attachment #12267|0                           |1
        is obsolete|                            |

--- Comment #4 from Jeffrey Walton <noloader at gmail dot com> ---
Created attachment 12268
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12268&action=edit
Update Bzip2 makefiles for static archive and shared object. New makefile for
Darwin dylib

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-06 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01  0:00 [Bug bzip2/25513] New: Update Makefiles; add Makefile for Darwin noloader at gmail dot com
2020-01-01  0:00 ` [Bug bzip2/25513] " noloader at gmail dot com
2020-01-01  0:00 ` noloader at gmail dot com
2020-01-01  0:00 ` noloader at gmail dot com
2020-01-01  0:00 ` noloader at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).