Skip to content

Commit

Permalink
adjusted Makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
KojiNakamaru committed Aug 25, 2014
1 parent 432a6b0 commit 12d0ad5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions build/osx/Makefile
Expand Up @@ -5,8 +5,8 @@ build: testtag clean
unzip -q ruby19.zip -d tmp/LWFS/LWFS/.a
mkdir -p tmp/LWFS/LWFS/.a/lwfs
cp -a ../../{lib,lwfs.rb,lwfs.ru,lwfs.conf,tmpl} tmp/LWFS/LWFS/.a/lwfs
find tmp/LWFS | grep '/\.git.*' | xargs rm -rf
find tmp/LWFS | grep '/\.DS_Store' | xargs rm -rf
find tmp/LWFS -name '.git*' -print0 | xargs -0 rm -rf
find tmp/LWFS -name '.DS_Store' -print0 | xargs -0 rm -rf
chmod -R 755 tmp/LWFS
TAG=`cat ../TAG`; \
echo $$TAG > tmp/LWFS/LWFS/.a/lwfs/lib/LWFS_VERSION; \
Expand Down
22 changes: 11 additions & 11 deletions build/osx/runtime/Makefile
@@ -1,12 +1,12 @@
# -*- mode: makefile-gmake; -*-

LIBJPEG=http://www.ijg.org/files/jpegsrc.v8d.tar.gz
LIBPNG=http://prdownloads.sourceforge.net/libpng/libpng-1.2.50.tar.gz
LIBJPEG=http://www.ijg.org/files/jpegsrc.v9a.tar.gz
LIBPNG=http://prdownloads.sourceforge.net/libpng/libpng-1.2.51.tar.gz
ZLIB=http://zlib.net/zlib-1.2.8.tar.gz
LIBICONV=http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
LIBXML2=http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz
LIBYAML=http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
RSYNC=http://rsync.samba.org/ftp/rsync/src/rsync-3.1.0.tar.gz
LIBYAML=https://github.com/yaml/libyaml/archive/0.1.4.tar.gz
RSYNC=http://rsync.samba.org/ftp/rsync/src/rsync-3.1.1.tar.gz

WGET=wget --no-check-certificate

Expand All @@ -22,7 +22,7 @@ download:
cd dl; if [ ! -f `basename $(ZLIB)` ]; then $(WGET) $(ZLIB); fi
cd dl; if [ ! -f `basename $(LIBICONV)` ]; then $(WGET) $(LIBICONV); fi
cd dl; if [ ! -f `basename $(LIBXML2)` ]; then $(WGET) $(LIBXML2); fi
cd dl; if [ ! -f `basename $(LIBYAML)` ]; then $(WGET) $(LIBYAML); fi
cd dl; if [ ! -f `basename $(LIBYAML)` ]; then $(WGET) $(LIBYAML); mv `basename $(LIBYAML)` libyaml-`basename $(LIBYAML)`; fi
cd dl; if [ ! -f `basename $(RSYNC)` ]; then $(WGET) $(RSYNC); fi

checkso:
Expand Down Expand Up @@ -60,7 +60,7 @@ libpng:
cd libpng-*; cp .libs/libpng.a ../opt/lib

libjpeg:
tar xzf dl/jpegsrc.v8d.tar.gz
tar xzf dl/jpegsrc.*.tar.gz
source _bashrc; cd jpeg-*; ./configure; make
mkdir -p opt/include opt/lib
cd jpeg-*; cp jconfig.h jerror.h jmorecfg.h jpeglib.h ../opt/include
Expand All @@ -83,11 +83,11 @@ libxml2:
cd libxml2-*; cp .libs/libxml2.a ../opt/lib

libyaml:
tar xzf dl/yaml-0.1.4.tar.gz
source _bashrc; cd yaml-*; ./configure; make
tar xzf dl/libyaml-*.tar.gz
source _bashrc; cd libyaml-*; ./bootstrap; ./configure; make
mkdir -p opt/include opt/lib
cd yaml-*; cp include/yaml.h ../opt/include
cd yaml-*; cp src/.libs/libyaml.a ../opt/lib
cd libyaml-*; cp include/yaml.h ../opt/include
cd libyaml-*; cp src/.libs/libyaml.a ../opt/lib

rsync:
tar xzf dl/rsync*.tar.gz
Expand All @@ -104,7 +104,7 @@ clean:
rm -rf jpeg-*
rm -rf libiconv-*
rm -rf libxml2-*
rm -rf yaml-*
rm -rf libyaml-*
rm -rf rsync*

updateruby:
Expand Down
4 changes: 2 additions & 2 deletions build/win/Makefile
Expand Up @@ -5,8 +5,8 @@ build: testtag clean
unzip -q ruby19.zip -d tmp/LWFS/LWFS/.a
mkdir -p tmp/LWFS/LWFS/.a/lwfs
cp -a ../../{lib,lwfs.rb,lwfs.ru,lwfs.conf,tmpl} tmp/LWFS/LWFS/.a/lwfs
find tmp/LWFS | grep '/\.git.*' | xargs rm -rf
find tmp/LWFS | grep '/\.DS_Store' | xargs rm -rf
find tmp/LWFS -name '.git*' -print0 | xargs -0 rm -rf
find tmp/LWFS -name '.DS_Store' -print0 | xargs -0 rm -rf
chmod -R 755 tmp/LWFS
TAG=`cat ../TAG`; \
echo $$TAG > tmp/LWFS/LWFS/.a/lwfs/lib/LWFS_VERSION; \
Expand Down
6 changes: 3 additions & 3 deletions build/win/runtime/Makefile
@@ -1,9 +1,9 @@
# -*- mode: makefile-gmake; -*-

RUBY=http://dl.bintray.com/oneclick/rubyinstaller/ruby-1.9.3-p484-i386-mingw32.7z
RUBY=http://dl.bintray.com/oneclick/rubyinstaller/ruby-1.9.3-p545-i386-mingw32.7z
DEVKIT=https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
LIBJPEG=http://www.ijg.org/files/jpegsrc.v8d.tar.gz
LIBPNG=http://prdownloads.sourceforge.net/libpng/libpng-1.2.50.tar.gz
LIBJPEG=http://www.ijg.org/files/jpegsrc.v9a.tar.gz
LIBPNG=http://prdownloads.sourceforge.net/libpng/libpng-1.2.51.tar.gz
ZLIB=http://zlib.net/zlib-1.2.8.tar.gz
LIBICONV=http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
LIBXML2=http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz
Expand Down

0 comments on commit 12d0ad5

Please sign in to comment.