home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Apps.iso / Rhapsody / Frameworks / Zlib-1.1.1.1-PI / Zlib.framework / Versions / 1.1.1 / GNUmakefile next >
Encoding:
Makefile  |  1998-03-02  |  1020 b   |  46 lines

  1. ####
  2. # GNUmakefile,  Rex's dylib creator, v0.9 (Feb 3, 1998)
  3. ####
  4.  
  5. ### Names
  6. FRAMEWORK=Zlib
  7. FRAMEWORK_DEP= Libraries/libz.a
  8. FRAMEWORK_DEPLIB=
  9.  
  10.  
  11. ### Versions
  12. MAJOR=1
  13. MINOR=1.1
  14. ## This should be <= MINOR
  15. COMPAT=0.0
  16. ## Rex's attempt number.
  17. PORT=1
  18. VERSION=${MAJOR}.${MINOR}.${PORT}
  19.  
  20. ### MAJOR Versioning, yes/no? (use one of these)
  21. # Worry about MAJOR vesion
  22. FRAMEWORK_HOME=/LocalLibrary/Frameworks/${FRAMEWORK}.framework/Versions/${MAJOR}
  23. # Do NOT worry about MAJOR version
  24. #FRAMEWORK_HOME=/LocalLibrary/Frameworks/${FRAMEWORK}.framework
  25.  
  26. default: ${FRAMEWORK}
  27.  
  28. # This library has undefined symbols, so I added -undefined flag.
  29. #  It's ok... (-;
  30. ${FRAMEWORK}:    ${FRAMEWORK_DEP}
  31.     libtool    -dynamic -o $@     $^            \
  32.         -install_name  ${FRAMEWORK_HOME}/$@    \
  33.         -undefined warning             \
  34.         -framework System            \
  35.         -current_version ${MINOR}.${PORT}    
  36. #        -compatibility_version ${COMPAT}.0    
  37.  
  38. #Libraries/{FRAMEWORK_DEP}.${MAJOR}.dylib: ${FRAMEWORK}
  39. #    rm -f     $@
  40. #    ln -s     $^    $@    
  41.  
  42. libinfo:    ${FRAMEWORK}    
  43.     otool -L $^ 
  44.     redo_prebinding -c $^
  45.  
  46.