Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

2 makefile cleanup #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

2 makefile cleanup #3

wants to merge 2 commits into from

Commits on Jun 29, 2012

  1. makefile: various cleanup

    + Use the uname convention from Git's makefile to detect the OS.
    
    + Use the standard OBJS variable so object file names are listed only once.
    
    + Make sure clean removes via OBJS.
    
    + Removed -mimpure-text flag as it is Solaris-only
      (see http://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html)
      Older versions of GCC were more lenient of it's presence.
      Breaks under GCC 4.7.0 or later.
    
    + Make sure a jnilib is generated only on Darwin and so's are generated only
      on Linux.
    
    Signed-off-by: Michael Pellon <michael@p3ll0n.net>
    Michael Pellon committed Jun 29, 2012
    Configuration menu
    Copy the full SHA
    f73180b View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2012

  1. makefile: restore osx compatibility

    - Additional uname macros for determining underlying arch.
    
    - New GCPROF_LIB macro that is generated as a .so or .jnilib depending
      on the underlying platform. Architecture and platform is also encoded
      in the filename.
    
    - Comments added to improve readability.
    Michael Pellon committed Jul 2, 2012
    Configuration menu
    Copy the full SHA
    d6ff035 View commit details
    Browse the repository at this point in the history