2014-04-11 07:53:42 +02:00
|
|
|
|
|
|
|
DLL_DIR:= $(abspath ../bin)
|
|
|
|
|
2016-09-22 18:14:35 +02:00
|
|
|
LIB_DIR:= /home/autobuild/tools/win32/lib
|
2014-04-11 07:53:42 +02:00
|
|
|
|
|
|
|
# targets
|
|
|
|
|
2016-09-22 18:14:35 +02:00
|
|
|
all: libsync newlib zlib libpng libjpeg freetype pixman cairo \
|
2016-11-04 07:36:45 +01:00
|
|
|
libdrm pixlib ffmpeg expat \
|
2016-09-22 18:14:35 +02:00
|
|
|
Mesa eglut vaapi sound
|
2015-07-23 12:10:52 +02:00
|
|
|
|
|
|
|
libsync: $(LIB_DIR)/libsync.a
|
|
|
|
|
|
|
|
$(LIB_DIR)/libsync.a:
|
|
|
|
$(MAKE) -C libsync
|
|
|
|
|
|
|
|
#####################################
|
2014-04-11 07:53:42 +02:00
|
|
|
|
2016-09-22 18:14:35 +02:00
|
|
|
newlib: $(DLL_DIR)/libc.dll $(LIB_DIR)/libc.dll.a $(LIB_DIR)/libdll.a
|
2014-04-11 07:53:42 +02:00
|
|
|
|
2016-09-22 18:14:35 +02:00
|
|
|
$(DLL_DIR)/libc.dll $(LIB_DIR)/libc.dll.a $(LIB_DIR)/libdll.a:
|
2014-05-21 22:47:51 +02:00
|
|
|
$(MAKE) -C newlib/libc shared
|
|
|
|
$(MAKE) -C newlib/libc install
|
2014-04-11 07:53:42 +02:00
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
zlib: $(DLL_DIR)/libz.dll $(LIB_DIR)/libz.a $(LIB_DIR)/libz.dll.a
|
|
|
|
|
2014-04-11 08:02:05 +02:00
|
|
|
$(DLL_DIR)/libz.dll $(LIB_DIR)/libz.a $(LIB_DIR)/libz.dll.a: newlib
|
2014-04-11 07:53:42 +02:00
|
|
|
$(MAKE) -C zlib
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
libpng: $(DLL_DIR)/libpng16.dll $(LIB_DIR)/libpng16.dll.a $(LIB_DIR)/libpng16.a
|
|
|
|
|
2014-04-11 08:02:05 +02:00
|
|
|
$(DLL_DIR)/libpng16.dll $(LIB_DIR)/libpng16.dll.a $(LIB_DIR)/libpng16.a: newlib zlib
|
2014-04-11 07:53:42 +02:00
|
|
|
$(MAKE) -C libpng
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
2016-09-22 18:14:35 +02:00
|
|
|
libjpeg: $(DLL_DIR)/libjpeg.dll $(LIB_DIR)/libjpeg.dll.a $(LIB_DIR)/libjpeg.a
|
|
|
|
|
|
|
|
$(DLL_DIR)/libjpeg.dll $(LIB_DIR)/libjpeg.dll.a $(LIB_DIR)/libjpeg.a: newlib zlib
|
|
|
|
$(MAKE) -C libjpeg
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
2014-04-11 07:53:42 +02:00
|
|
|
freetype: $(DLL_DIR)/freetype.dll $(LIB_DIR)/libfreetype.dll.a $(LIB_DIR)/libfreetype.a
|
|
|
|
|
2014-04-11 08:02:05 +02:00
|
|
|
$(DLL_DIR)/freetype.dll $(LIB_DIR)/libfreetype.dll.a $(LIB_DIR)/libfreetype.a: newlib
|
2014-04-11 07:53:42 +02:00
|
|
|
$(MAKE) -C freetype
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
pixman: $(DLL_DIR)/pixman-1.dll $(LIB_DIR)/libpixman-1.dll.a $(LIB_DIR)/libpixman-1.a
|
|
|
|
|
2014-04-11 08:02:05 +02:00
|
|
|
$(DLL_DIR)/pixman-1.dll $(LIB_DIR)/libpixman-1.dll.a $(LIB_DIR)/libpixman-1.a: newlib
|
2014-04-11 07:53:42 +02:00
|
|
|
$(MAKE) -C pixman
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
cairo: $(DLL_DIR)/cairo2.dll $(LIB_DIR)/libcairo2.dll.a $(LIB_DIR)/libcairo2.a
|
|
|
|
|
|
|
|
$(DLL_DIR)/cairo2.dll $(LIB_DIR)/libcairo2.dll.a $(LIB_DIR)/libcairo2.a:\
|
|
|
|
newlib freetype zlib pixman libpng
|
|
|
|
$(MAKE) -C cairo
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
libdrm: $(DLL_DIR)/libdrm.dll $(LIB_DIR)/libdrm.dll.a $(LIB_DIR)/libdrm.a
|
|
|
|
|
2014-04-11 08:02:05 +02:00
|
|
|
$(DLL_DIR)/libdrm.dll $(LIB_DIR)/libdrm.dll.a $(LIB_DIR)/libdrm.a: newlib
|
2014-04-11 07:53:42 +02:00
|
|
|
$(MAKE) -C libdrm
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
2015-07-23 12:10:52 +02:00
|
|
|
pixlib: $(LIB_DIR)/libpixlib3.a
|
2014-04-11 07:53:42 +02:00
|
|
|
|
2015-07-23 12:10:52 +02:00
|
|
|
$(LIB_DIR)/libpixlib3.a: newlib libdrm Mesa
|
|
|
|
$(MAKE) -C pixlib-3
|
2014-04-11 07:53:42 +02:00
|
|
|
|
2014-04-13 09:30:25 +02:00
|
|
|
#####################################
|
|
|
|
|
2016-02-05 23:15:19 +01:00
|
|
|
vaapi: $(DLL_DIR)/i65-video.dll $(DLL_DIR)/libva.dll
|
|
|
|
|
|
|
|
$(DLL_DIR)/i65-video.dll : newlib libdrm
|
|
|
|
$(MAKE) -C vaapi/intel-driver-1.6.2
|
|
|
|
|
|
|
|
$(DLL_DIR)/libva.dll : newlib libdrm
|
|
|
|
$(MAKE) -C vaapi/libva-1.6.2
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
ffmpeg: $(DLL_DIR)/avcodec-56.dll $(DLL_DIR)/avdevice-56.dll \
|
|
|
|
$(DLL_DIR)/avformat-56.dll $(DLL_DIR)/avutil-54.dll \
|
|
|
|
$(DLL_DIR)/swresample-1.dll $(DLL_DIR)/swscale-3.dll \
|
2014-04-13 09:30:25 +02:00
|
|
|
$(LIB_DIR)/libavcodec.dll.a $(LIB_DIR)/libavdevice.dll.a \
|
|
|
|
$(LIB_DIR)/libavformat.dll.a $(LIB_DIR)/libavutil.dll.a \
|
|
|
|
$(LIB_DIR)/libswresample.dll.a $(LIB_DIR)/libswscale.dll.a
|
|
|
|
|
2016-02-05 23:15:19 +01:00
|
|
|
$(DLL_DIR)/avcodec-56.dll $(DLL_DIR)/avdevice-56.dll \
|
|
|
|
$(DLL_DIR)/avformat-56.dll $(DLL_DIR)/avutil-54.dll \
|
|
|
|
$(DLL_DIR)/swresample-1.dll $(DLL_DIR)/swscale-3.dll \
|
2014-04-13 09:30:25 +02:00
|
|
|
$(LIB_DIR)/libavcodec.dll.a $(LIB_DIR)/libavdevice.dll.a \
|
|
|
|
$(LIB_DIR)/libavformat.dll.a $(LIB_DIR)/libavutil.dll.a \
|
2016-02-05 23:15:19 +01:00
|
|
|
$(LIB_DIR)/libswresample.dll.a $(LIB_DIR)/libswscale.dll.a : newlib vaapi
|
|
|
|
$(MAKE) -C ffmpeg/ffmpeg-2.8
|
2014-04-13 09:30:25 +02:00
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
libsupc++: $(LIB_DIR)/libsupc++.a
|
|
|
|
|
|
|
|
$(LIB_DIR)/libsupc++.a: newlib
|
2014-09-21 19:27:30 +02:00
|
|
|
$(MAKE) -C libstdc++-v3/libsupc++
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
libstdc++: $(LIB_DIR)/libstdc++.a
|
|
|
|
|
|
|
|
$(LIB_DIR)/libstdc++.a: newlib
|
|
|
|
$(MAKE) -C libstdc++-v3
|
2014-04-13 09:30:25 +02:00
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
expat: $(LIB_DIR)/libexpat.a
|
|
|
|
|
|
|
|
$(LIB_DIR)/libexpat.a: newlib
|
|
|
|
$(MAKE) -C expat
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
Mesa: $(DLL_DIR)/libGL.dll $(DLL_DIR)/libegl.dll $(DLL_DIR)/i965_dri.drv
|
|
|
|
|
|
|
|
$(DLL_DIR)/libGL.dll $(DLL_DIR)/libegl.dll $(DLL_DIR)/i965_dri.drv \
|
|
|
|
$(LIB_DIR)/libGL.dll.a $(LIB_DIR)/libegl.dll.a \
|
2016-11-04 07:36:45 +01:00
|
|
|
$(LIB_DIR)/libglsl.a: newlib libdrm expat
|
2015-07-23 12:10:52 +02:00
|
|
|
$(MAKE) -C Mesa/mesa-9.2.5
|
2014-04-13 09:30:25 +02:00
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
|
|
|
eglut: $(DLL_DIR)/libeglut.dll $(LIB_DIR)/libeglut.dll.a $(LIB_DIR)/libeglut.a
|
|
|
|
|
|
|
|
$(DLL_DIR)/libeglut.dll $(LIB_DIR)/libeglut.dll.a $(LIB_DIR)/libeglut.a : newlib Mesa
|
|
|
|
$(MAKE) -C eglut
|
2014-08-07 13:48:01 +02:00
|
|
|
|
|
|
|
#####################################
|
|
|
|
|
2015-07-23 12:10:52 +02:00
|
|
|
|
2014-08-07 13:48:01 +02:00
|
|
|
sound: $(LIB_DIR)/libsound.a
|
|
|
|
|
|
|
|
$(LIB_DIR)/libsound.a :
|
|
|
|
$(MAKE) -C sound
|
2014-04-11 07:53:42 +02:00
|
|
|
|