home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-03-02 | 1020 b | 46 lines |
- ####
- # GNUmakefile, Rex's dylib creator, v0.9 (Feb 3, 1998)
- ####
-
- ### Names
- FRAMEWORK=Zlib
- FRAMEWORK_DEP= Libraries/libz.a
- FRAMEWORK_DEPLIB=
-
-
- ### Versions
- MAJOR=1
- MINOR=1.1
- ## This should be <= MINOR
- COMPAT=0.0
- ## Rex's attempt number.
- PORT=1
- VERSION=${MAJOR}.${MINOR}.${PORT}
-
- ### MAJOR Versioning, yes/no? (use one of these)
- # Worry about MAJOR vesion
- FRAMEWORK_HOME=/LocalLibrary/Frameworks/${FRAMEWORK}.framework/Versions/${MAJOR}
- # Do NOT worry about MAJOR version
- #FRAMEWORK_HOME=/LocalLibrary/Frameworks/${FRAMEWORK}.framework
-
- default: ${FRAMEWORK}
-
- # This library has undefined symbols, so I added -undefined flag.
- # It's ok... (-;
- ${FRAMEWORK}: ${FRAMEWORK_DEP}
- libtool -dynamic -o $@ $^ \
- -install_name ${FRAMEWORK_HOME}/$@ \
- -undefined warning \
- -framework System \
- -current_version ${MINOR}.${PORT}
- # -compatibility_version ${COMPAT}.0
-
- #Libraries/{FRAMEWORK_DEP}.${MAJOR}.dylib: ${FRAMEWORK}
- # rm -f $@
- # ln -s $^ $@
-
- libinfo: ${FRAMEWORK}
- otool -L $^
- redo_prebinding -c $^
-
-