Changeset fb005c12802a3646a2cffe01880b7382366e1f2c
- Timestamp:
- 01/30/07 13:52:47 (2 years ago)
- git-parent:
- Files:
-
- extras/contrib/README (modified) (1 diff)
- extras/contrib/bootstrap (modified) (6 diffs)
- extras/contrib/src/Distributions/beos.mak (added)
- extras/contrib/src/Distributions/darwin.mak (added)
- extras/contrib/src/Distributions/debian.mak (added)
- extras/contrib/src/Distributions/fedora.mak (added)
- extras/contrib/src/Distributions/unix.mak (added)
- extras/contrib/src/Distributions/win32.mak (added)
- extras/contrib/src/Distributions/wince.mak (added)
- extras/contrib/src/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
extras/contrib/README
r0178bdf rfb005c1 10 10 This will look for a i586-pc-beos-gcc cross compiler. Default is to 11 11 build natively. 12 13 Bootstrap generates your default contrib configuration and puts it in a file 14 named 'distro.mak'. Edit this file to fine-tune your preferences for 3rd-party 15 libraries that will be build in the contrib system. 12 16 13 17 Customize config.mak if you need to, then you need to choose between extras/contrib/bootstrap
r7c23b5c rfb005c1 49 49 } > config.mak 50 50 51 rm -f distro.mak 52 { 53 echo "# Automatically generated by bootstrap" 54 echo "# Make changes if you know what you're doing." 55 } > distro.mak 56 51 57 if test "$HOST" != "$BUILD"; then 52 58 CC="${HOST}-gcc" … … 78 84 EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}" 79 85 echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak 86 cat src/Distributions/darwin.mak >> distro.mak 80 87 ;; 81 88 i686-apple-darwin8) … … 89 96 EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}" 90 97 echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak 98 cat src/Distributions/darwin.mak >> distro.mak 91 99 ;; 92 100 i586-pc-beos) … … 113 121 echo "PATH = ${PATH}" >> config.mak 114 122 fi 123 cat src/Distributions/beos.mak >> distro.mak 115 124 ;; 116 125 *mingw32*) 117 126 echo "HAVE_WIN32 = 1" >> config.mak 118 127 echo "PKG_CONFIG_PATH = \$(PREFIX)/lib/pkgconfig" >> config.mak 128 cat src/Distributions/win32.mak >> distro.mak 119 129 ;; 120 130 i686-pc-cygwin) … … 127 137 EXTRA_LDFLAGS=" -mno-cygwin" 128 138 echo "PKG_CONFIG_PATH = \$(PREFIX)/lib/pkgconfig" >> config.mak 139 cat src/Distributions/win32.mak >> distro.mak 129 140 ;; 130 141 arm-wince-pe) … … 132 143 echo "PKG_CONFIG_PATH = \$(PREFIX)/lib/pkgconfig" >> config.mak 133 144 EXTRA_CPPFLAGS=" -D_WIN32_WCE" 145 cat src/Distributions/wince.mak >> distro.mak 134 146 ;; 135 147 *) 148 if test "$HOST" = "$BUILD"; then 149 echo "PKG_CONFIG_LIBDIR = /usr/lib/pkgconfig" >> config.mak 150 fi 151 # Try to match distribution 152 if test -f /etc/fedora-release; then 153 cat src/Distributions/fedora.mak >> distro.mak 154 else 155 # Default Unix-like systems 156 cat src/Distributions/unix.mak >> distro.mak 157 fi 136 158 ;; 137 159 esac extras/contrib/src/Makefile
ra908ea8 rfb005c1 146 146 # Standard rules 147 147 # *************************************************************************** 148 149 ifdef HAVE_DARWIN_OS 150 all: .autoconf .automake .libtool .intl .pkgcfg .freetype .fribidi \ 151 .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ 152 .FLAC .speex .shout .faad .faac .lame .twolame .ebml .matroska .ffmpeg \ 153 .dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod \ 154 .png .gpg-error .gcrypt .gnutls .opendaap .cddb .cdio .vcdimager \ 155 .SDL_image .glib .libidl .gecko .mpcdec .dirac_encoder .dirac_decoder \ 156 .libdca .tag .x264 .goom2k4 .aclocal 157 # .expat .clinkcc don't work with SDK yet 158 # .glib .libidl .gecko are required to build the mozilla plugin 159 # .mozilla will build an entire mozilla. it can be used if we need to create a new .gecko package 160 else 161 162 ifdef HAVE_BEOS 163 ifeq ($(HOST),$(BUILD)) 164 # Native build: we need perl, autoconf, etc first 165 all: .perl .autoconf .automake .libtool .iconv .intl .freetype .fribidi \ 166 .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ 167 .FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ 168 .dvdnav .dvbpsi .aclocal .libdca 169 #.speex seems 170 else 171 # Cross compiling: we already have the Linux tools, only build the 172 # libraries now 173 all: .iconv .intl .freetype .fribidi \ 174 .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ 175 .FLAC .faad .faac .lame .twolame .ebml .matroska .ffmpeg .dvdcss \ 176 .dvdnav .dvbpsi .aclocal .libdca 177 endif 178 #.speex 179 else 180 181 ifdef HAVE_WIN32 182 183 all: .iconv .intl .freetype .fribidi .zlib \ 184 .a52 .mpeg2 .id3tag .mad .ogg .vorbis .shout .vorbisenc .theora \ 185 .FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ 186 .live .goom2k4 .caca .mod .x264 .xml .twolame \ 187 .png .gpg-error .gcrypt .gnutls .mpcdec \ 188 .dvdnav .dvbpsi .wxwidgets .qt4 .dirac \ 189 .dx_headers .dshow_headers .aclocal .gecko-win32 .unicows .libdca \ 190 .SDL_image 191 # .SDL_image .daap .cddb .cdio .vcdimager .portaudio 192 else 193 194 ifdef HAVE_WINCE 195 196 all: .dvbpsi .zlib .ffmpeg .ogg .tremor .faad 197 198 else 199 # Standard Linux or other UNIX-like systems 200 all: .iconv .intl .freetype .fribidi .zlib \ 201 .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ 202 .FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ 203 .live .goom2k4 .caca .mod .x264 .xml .twolame \ 204 .png .gpg-error .gcrypt .gnutls .mpcdec \ 205 .dvdnav .dvbpsi .wxwidgets .dirac \ 206 .aclocal .libdca .libraw1394 .libdc1394 207 # .png .gpg-error .gcrypt .gnutls .mpcdec\ 208 # .SDL_image .daap .cddb .cdio .vcdimager 209 endif 210 endif 211 endif 212 endif 148 # Generated by ./bootstrap from default configuration in src/Distributions 149 # 150 include ../distro.mak 213 151 214 152 FORCE:
