/contrib/sdk/sources/Intel-2D/Makefile |
---|
1,15 → 1,14 |
CC=gcc |
LD = ld |
AR= ar |
LIBRARY= pixlib |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
STRIP = $(PREFIX)strip |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
PXFLAGS:= --version-script pixlib.ver --output-def $(LIBRARY).orig.def --out-implib $(LIBRARY).dll.a |
PXFLAGS:= --version-script pixlib.ver --out-implib $(LIBRARY).dll.a |
SNAFLAGS:= --version-script sna.ver --output-def sna.def |
UXAFLAGS:= --version-script uxa.ver --output-def uxa.def |
21,7 → 20,6 |
DEFINES:= -DHAS_DEBUG_FULL=0 -DSHOW_BATCH=0 -DDEBUG_DUMP=0 |
SRC_PIXLIB = pixlib.c |
SRC_SNA = \ |
66,6 → 64,7 |
OBJECTS= $(OBJ_SNA) |
DEFINES+= -DBUILD_SNA |
LIBS+= -lgcc |
LIBPATH+= -L/home/autobuild/tools/win32/mingw32/lib |
endif |
endif |
78,13 → 77,11 |
$(LIBRARY).dll: $(OBJ_PIXLIB) Makefile |
$(LD) $(LDFLAGS) $(PXFLAGS) $(LIBPATH) -o $@ $(OBJ_PIXLIB) $(LIBS) |
$(STRIP) $@ |
mv -f $@ ../../bin |
mv -f $(LIBRARY).dll.a ../../lib |
intel-sna.drv: $(OBJ_SNA) Makefile |
$(LD) $(LDFLAGS) $(SNAFLAGS) $(LIBPATH) -o $@ $(OBJ_SNA) $(LIBS) |
$(STRIP) $@ |
mv -f $@ ../../bin |
intel-uxa.drv: $(OBJ_UXA) Makefile |
/contrib/sdk/sources/Intel-2D/sna/sna.c |
---|
37,7 → 37,7 |
#include "config.h" |
#endif |
#include <memory.h> |
//#include <memory.h> |
#include <malloc.h> |
#include "i915_pciids.h" |
/contrib/sdk/sources/Intel-2D/sna/sna.h |
---|
46,7 → 46,7 |
#include "compiler.h" |
#include <memory.h> |
//#include <memory.h> |
#include <malloc.h> |
#include <errno.h> |
#include <kos32sys.h> |
/contrib/sdk/sources/Mesa/Makefile |
---|
1,23 → 1,24 |
export CC = kos32-gcc |
export AR = kos32-ar |
export LD = kos32-ld |
export STRIP = kos32-strip |
export SDK_DIR:= $(abspath ../..) |
EGL = egl |
CC = gcc |
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LD = ld |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T ../newlib/dll.lds --out-implib lib$(EGL).dll.a -e _DllStartup |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T ../newlib/dll.lds -e _DllStartup |
LDFLAGS+= --out-implib lib$(EGL).dll.a |
STRIP = $(PREFIX)strip |
export SDK_DIR:= $(abspath ../..) |
INC_MESA= -I../newlib/include -I./include -I./src -I./src/glsl -I./src/mesa -I./src/mapi |
INC_EGL= -I../newlib/include -I../../includes -I./include -I../libdrm -I../libdrm/include/drm -I./src/egl/main -I./src/gbm/backends/dri -I./src/gbm/main |
LIBPATH:= -L../../lib |
LIBPATH:= -L../../lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBS:= -ldll -ldrm.dll -lc.dll -lgcc |
40,18 → 41,18 |
$(EGL).dll: $(EGL_OBJS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ egl.def $(EGL_OBJS) $(LIBS) |
$(STRIP) $@ |
# $(STRIP) $@ |
# sed -e "s/ @[^ ]*//" egl1.def > egl.def |
mv -f $@ ../../bin |
mv -f lib$(EGL).dll.a ../../lib |
libglsl.a : $(GLSL_OBJS) Makefile |
ar cvrs libglsl.a $(GLSL_OBJS) |
$(AR) libglsl.a $(GLSL_OBJS) |
mv -f libglsl.a ../../lib |
libGL.dll: $(LIBGL_OBJS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(LIBGL_OBJS) $(LIBS) |
$(STRIP) $@ |
# $(STRIP) $@ |
# sed -e "s/ @[^ ]*//" egl1.def > egl.def |
mv -f $@ ../../bin |
mv -f libGL.dll.a ../../lib |
/contrib/sdk/sources/Mesa/src/egl/Makefile |
---|
1,4 → 1,3 |
CC = gcc |
SRC_DIR:=$(SDK_DIR)/sources |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
7,17 → 6,13 |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LD = ld |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T $(SRC_DIR)/newlib/dll.lds --out-implib libegl.dll.a -e _DllStartup |
STRIP = $(PREFIX)strip |
INC_EGL:= -I$(SRC_DIR)/newlib/include -I$(SDK_DIR)/includes -I$(SRC_DIR)/Mesa/include |
INC_EGL+= -I$(SRC_DIR)/libdrm -I$(SRC_DIR)/libdrm/include/drm -I./main |
INC_EGL+= -I$(MESA_SRC)/gbm/backends/dri -I$(MESA_SRC)/gbm/main |
LIBPATH:= -L$(SDK_DIR)/lib |
LIBPATH:= -L$(SDK_DIR)/lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBS:= -ldll -ldrm.dll -lc.dll -lgcc |
63,7 → 58,7 |
libegl.dll: $(EGL_OBJS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(MESA_SRC)/../egl.def $(EGL_OBJS) $(LIBS) |
$(STRIP) $@ |
# $(STRIP) $@ |
# sed -e "s/ @[^ ]*//" egl1.def > egl.def |
mv -f $@ $(SDK_DIR)/bin |
mv -f libegl.dll.a $(SDK_DIR)/lib |
/contrib/sdk/sources/Mesa/src/glsl/Makefile |
---|
1,4 → 1,3 |
CC = gcc |
SRC_DIR:=$(SDK_DIR)/sources |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
114,7 → 113,7 |
all: libglsl.a |
libglsl.a : $(GLSL_OBJS) Makefile |
ar cvrs libglsl.a $(GLSL_OBJS) |
$(AR) crs libglsl.a $(GLSL_OBJS) |
mv -f libglsl.a $(SDK_DIR)/lib |
%.o : %.c Makefile |
/contrib/sdk/sources/Mesa/src/mapi/Makefile |
---|
1,4 → 1,3 |
CC = gcc |
SRC_DIR:=$(SDK_DIR)/sources |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
7,16 → 6,13 |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LD = ld |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T $(SRC_DIR)/newlib/dll.lds --out-implib libGL.dll.a -e _DllStartup |
STRIP = $(PREFIX)strip |
INC_MESA:= -I$(SRC_DIR)/newlib/include -I$(SRC_DIR)/Mesa/include |
INC_MESA+= -I./src -I$(MESA_SRC)/glsl -I$(MESA_SRC)/mesa -I$(MESA_SRC)/mapi |
LIBPATH:= -L$(SDK_DIR)/lib |
LIBPATH:= -L$(SDK_DIR)/lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBS:= -ldll -ldrm.dll -lc.dll -lgcc |
45,7 → 41,7 |
libGL.dll: $(LIBGL_OBJS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ mesa.def $(LIBGL_OBJS) $(LIBS) |
$(STRIP) $@ |
# $(STRIP) $@ |
mv -f $@ $(SDK_DIR)/bin |
mv -f libGL.dll.a $(SDK_DIR)/lib |
/contrib/sdk/sources/Mesa/src/mesa/Makefile |
---|
1,4 → 1,3 |
CC = gcc |
SRC_DIR:=$(SDK_DIR)/sources |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
7,17 → 6,14 |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LD = ld |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T $(SRC_DIR)/newlib/dll.lds -e _DllStartup |
STRIP = $(PREFIX)strip |
INC_MESA:= -I$(SRC_DIR)/newlib/include -I$(SRC_DIR)/Mesa/include |
INC_MESA+= -I./ -I$(MESA_SRC)/glsl -I$(MESA_SRC)/mesa -I$(MESA_SRC)/mapi |
INC_MESA+= -I$(SRC_DIR)/libdrm -I$(MESA_SRC) -I$(SRC_DIR)/expat/lib |
INC_I965:= -I$(SRC_DIR)/libdrm/intel -I$(SRC_DIR)/libdrm/include/drm -I$(MESA_SRC)/mesa/drivers/dri/common |
LIBPATH:= -L$(SDK_DIR)/lib |
LIBPATH:= -L$(SDK_DIR)/lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBS:= -ldll -lglsl -lGL.dll -lsupc++ -lgcc_eh -ldrm.dll -lexpat -lc.dll -lgcc |
381,7 → 377,7 |
i965_dri.drv: $(I965_OBJS) $(MESA_OBJS) dri.def Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(I965_OBJS) $(MESA_OBJS) dri.def $(LIBS) |
$(STRIP) $@ |
# $(STRIP) $@ |
mv -f $@ $(SDK_DIR)/bin |
%.o : %.c Makefile |
/contrib/sdk/sources/cairo/cairo2.inc |
---|
File deleted |
/contrib/sdk/sources/cairo/Makefile |
---|
1,21 → 1,23 |
LIBRARY = cairo2 |
CC = gcc |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -c -O2 -ffast-math -Wall -Winline -Wno-attributes -fomit-frame-pointer |
LD = ld |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --version-script cairo.ver --output-def $(LIBRARY).orig.def --out-implib lib$(LIBRARY).dll.a |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --version-script cairo.ver --output-def $(LIBRARY).orig.def |
LDFLAGS+= --out-implib lib$(LIBRARY).dll.a |
STRIP = $(PREFIX)strip |
ARFLAGS = crs |
DEFINES = -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -U_MSC_VER -DHAVE_CONFIG_H=1 -DCAIRO_NO_MUTEX=1 |
INCLUDES = -I. -I../newlib/include -I../pixman -I../zlib -I../libpng -I../freetype/include |
LIBPATH:= -L../../lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBPATH:= -L../../lib |
LIBS:= -ldll -lgcc -lfreetype.dll -lz.dll -lpixman-1.dll -lpng16.dll -lc.dll |
CAIRO_SOURCES = \ |
154,16 → 156,15 |
ebox: lib$(LIBRARY).a $(LIBRARY).dll |
lib$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs lib$(LIBRARY).a $(OBJECTS) |
$(AR) $(ARFLAGS) lib$(LIBRARY).a $(OBJECTS) |
mv -f lib$(LIBRARY).a ../../lib |
$(LIBRARY).dll: $(OBJECTS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OBJECTS) $(LIBS) |
$(STRIP) $@ |
sed -e "s/ @[^ ]*//" $(LIBRARY).orig.def > $(LIBRARY).def |
sed -f ../newlib/cmd1.sed $(LIBRARY).def > mem |
sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
#sed -e "s/ @[^ ]*//" $(LIBRARY).orig.def > $(LIBRARY).def |
#sed -f ../newlib/cmd1.sed $(LIBRARY).def > mem |
#sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
mv -f $@ ../../bin |
mv -f lib$(LIBRARY).dll.a ../../lib |
/contrib/sdk/sources/eglut/Makefile |
---|
2,17 → 2,19 |
LIBRARY= libeglut |
IMPLIB= libeglut.dll.a |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
CC=gcc |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
AR= ar |
INCLUDES= -I. -I../newlib/include -I../Mesa/include -I../Mesa/src/gbm/main -I../libdrm/include |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib $(IMPLIB) |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
LDFLAGS+= --out-implib $(IMPLIB) |
LIBPATH:= -L../../lib |
LIBS:= -ldll -legl.dll -lgl.dll -lc.dll |
LIBS:= -ldll -legl.dll -lGL.dll -lc.dll |
DEFINES= -D__unix__ -DMESA_EGL_NO_X11_HEADERS |
32,7 → 34,7 |
all:$(LIBRARY).a $(LIBRARY).dll |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
$(AR) crs $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |
$(LIBRARY).dll: $(OBJECTS) Makefile |
/contrib/sdk/sources/expat/Makefile |
---|
1,11 → 1,13 |
CC=gcc |
LD= ld |
AR= ar |
LIBRARY= libexpat |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
ARFLAGS = crs |
INCLUDES= -I. -I../newlib/include |
DEFS = -DHAVE_EXPAT_CONFIG_H |
26,7 → 28,7 |
all:$(LIBRARY).a |
$(LIBRARY).a: $(OBJS) Makefile |
ar cvrs $(LIBRARY).a $(OBJS) |
$(AR) $(ARFLAGS) $(LIBRARY).a $(OBJS) |
mv -f $(LIBRARY).a ../../lib |
%.o : %.c Makefile |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-bitstream-filters.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-codecs.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/formats.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/general.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/mips.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/avoptions_codec.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/git-howto.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffplay.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libswresample.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-devices.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/platform.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/fftools-common-opts.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/developer.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-protocols.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavutil.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/demuxers.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libswscale.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-bitstream-filters.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-codecs.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/doxy-wrapper.sh |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/encoders.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/issue_tracker.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/avutil.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-filters.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-scaler.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-utils.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavdevice.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/print_options.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/devices.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/muxers.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/protocols.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/authors.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/multithreading.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavdevice.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/tablegen.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/decoders.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/indevs.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/outdevs.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/APIchanges |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-resampler.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-devices.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffserver.conf |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-utils.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/default.css |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavcodec.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffprobe.xsd |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/filters.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/build_system.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/viterbi.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/fate.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/rate_distortion.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavformat.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/filter_design.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/fate.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/t2h.init |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/git-howto.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/swresample.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/resampler.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/utils.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavutil.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-resampler.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/config.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/nut.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/metadata.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/demuxing.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/pc-uninstalled/libavformat.pc |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/pc-uninstalled/libswscale.pc |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/pc-uninstalled/libswresample.pc |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/pc-uninstalled/libavutil.pc |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/pc-uninstalled/libavcodec.pc |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/pc-uninstalled/libavdevice.pc |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/decoding_encoding.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/resampling_audio.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/filtering_audio.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/scaling_video.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/muxing.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/filtering_video.c |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/README |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/examples/Makefile |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavformat.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/faq.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/Doxyfile |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/doxy/doxy_stylesheet.css |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/doxy/header.html |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/doxy/footer.html |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-formats.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/fate_config.sh.template |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/metadata.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/RELEASE_NOTES |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/bitstream_filters.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffserver.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffprobe.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-scaler.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-formats.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libswscale.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/avoptions_format.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/soc.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavcodec.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/errno.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/snow.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/optimization.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/ffmpeg-protocols.pod |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/codecs.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/texi2pod.pl |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libavfilter.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/Makefile |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/swscale.txt |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/scaler.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/doc/libswresample.texi |
---|
File deleted |
/contrib/sdk/sources/ffmpeg/Makefile |
---|
165,8 → 165,8 |
check: all alltools examples testprogs fate |
include $(SRC_PATH)/doc/Makefile |
include $(SRC_PATH)/tests/Makefile |
#include $(SRC_PATH)/doc/Makefile |
#include $(SRC_PATH)/tests/Makefile |
$(sort $(OBJDIRS)): |
$(Q)mkdir -p $@ |
/contrib/sdk/sources/ffmpeg/config.h |
---|
1,7 → 1,7 |
/* Automatically generated by configure - do not modify! */ |
#ifndef FFMPEG_CONFIG_H |
#define FFMPEG_CONFIG_H |
#define FFMPEG_CONFIGURATION "--disable-static --enable-shared --disable-network --disable-debug --enable-memalign-hack --enable-gpl --disable-avx --disable-fma4 --disable-programs --extra-cflags=-I/d/kos/kolibri/programs/develop/libraries/newlib/include --disable-pthreads --disable-w32threads --extra-cflags=-U_Win32 --extra-cflags=-U_WIN32 --extra-cflags=-U__MINGW32__ --enable-runtime-cpudetect --disable-encoders --disable-muxers --disable-protocols --enable-protocol=file --disable-devices --disable-postproc --disable-avfilter --disable-hwaccels" |
#define FFMPEG_CONFIGURATION "--disable-static --enable-shared --disable-network --disable-debug --enable-memalign-hack --enable-gpl --disable-avx --disable-fma4 --disable-programs --extra-cflags=-I/d/kos/kolibri/programs/develop/libraries/newlib/include --disable-pthreads --disable-w32threads --extra-cflags=-U_Win32 --extra-cflags=-U_WIN32 --extra-cflags=-U__MINGW32__ --enable-runtime-cpudetect --disable-encoders --disable-muxers --disable-protocols --enable-protocol=file --disable-devices --disable-postproc --disable-avfilter --disable-hwaccels --disable-doc" |
#define FFMPEG_LICENSE "GPL version 2 or later" |
#define FFMPEG_DATADIR "/usr/local/share/ffmpeg" |
#define AVCONV_DATADIR "/usr/local/share/ffmpeg" |
/contrib/sdk/sources/ffmpeg/config.mak |
---|
16,10 → 16,10 |
endif |
CC_IDENT=gcc 4.8.1 (GCC) |
ARCH=x86 |
CC=gcc |
CXX=g++ |
AS=gcc |
LD=ld |
CC = kos32-gcc |
CXX= kos32-g++ |
AS = kos32-gcc |
LD = kos32-ld |
DEPCC=gcc |
DEPCCFLAGS= $(CPPFLAGS) |
DEPAS=gcc |
26,15 → 26,15 |
DEPASFLAGS= $(CPPFLAGS) |
YASM=nasm |
DEPYASM=nasm |
AR=ar |
AR=kos32-ar |
ARFLAGS=rc |
AR_O=$@ |
RANLIB=: |
STRIP=strip |
STRIP=kos32-strip |
CP=cp -p |
LN_S=ln -s -f |
CPPFLAGS= -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=32 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ |
CFLAGS= -I../newlib/include -U_Win32 -U_WIN32 -U__MINGW32__ -std=c99 -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O2 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla |
CFLAGS= -I../newlib/include -I../zlib -U_Win32 -U_WIN32 -U__MINGW32__ -std=c99 -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O2 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla |
CXXFLAGS= -D__STDC_CONSTANT_MACROS |
ASFLAGS= -I../newlib/include -U_Win32 -U_WIN32 -U__MINGW32__ |
AS_C=-c |
48,9 → 48,9 |
LD_LIB=-l% |
LD_PATH=-L |
DLLTOOL=dlltool |
LDFLAGS=-L../../lib --output-def $$(@:$(SLIBSUF)=.orig.def) -nostdlib --enable-runtime-pseudo-reloc |
LDFLAGS=-L../../lib -L/home/autobuild/tools/win32/mingw32/lib --output-def $$(@:$(SLIBSUF)=.orig.def) -nostdlib --enable-runtime-pseudo-reloc |
LDFLAGS-ffserver=-Wl,-E |
SHFLAGS=-shared -s -T../newlib/dll.lds -Map map -Bsymbolic --entry _DllStartup --image-base 0 --out-implib $(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) --version-script $(SUBDIR)lib$(NAME).ver -ldll |
SHFLAGS=-shared -s -T../newlib/dll.lds -Bsymbolic --entry _DllStartup --image-base 0 --out-implib $(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) --version-script $(SUBDIR)lib$(NAME).ver -ldll |
YASMFLAGS=-f win32 -DPREFIX |
BUILDSUF= |
PROGSSUF= |
/contrib/sdk/sources/freetype/freetype.inc |
---|
File deleted |
/contrib/sdk/sources/freetype/mem |
---|
File deleted |
/contrib/sdk/sources/freetype/Makefile |
---|
1,17 → 1,20 |
LIBRARY = freetype |
CC = gcc |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -Wall -Winline -fomit-frame-pointer |
LD = ld |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib lib$(LIBRARY).dll.a |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
LDFLAGS+= --out-implib lib$(LIBRARY).dll.a |
STRIP = $(PREFIX)strip |
ARFLAGS = crs |
INCLUDES= -I../newlib/include -I./include -I./include/freetype/config |
LIBPATH:= -L../../lib |
LIBPATH:= -L../../lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBS:= -ldll -lc.dll -lgcc |
73,14 → 76,14 |
ebox:lib$(LIBRARY).a $(LIBRARY).dll |
lib$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs lib$(LIBRARY).a $(OBJECTS) |
$(AR) cvrs lib$(LIBRARY).a $(OBJECTS) |
mv -f lib$(LIBRARY).a ../../lib |
$(LIBRARY).dll: lib$(LIBRARY).def $(OBJECTS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ lib$(LIBRARY).def $(OBJECTS) $(LIBS) |
$(STRIP) $@ |
sed -f ../newlib/cmd1.sed lib$(LIBRARY).def > mem |
sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
#sed -f ../newlib/cmd1.sed lib$(LIBRARY).def > mem |
#sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
mv -f $@ ../../bin |
mv -f lib$(LIBRARY).dll.a ../../lib |
89,7 → 92,6 |
$(CC) $(INCLUDES) $(CFLAGS) $(DEFINES) -o $@ $< |
clean: |
-rm -f *.o |
/contrib/sdk/sources/freetype/docs/VERSION.DLL |
---|
File deleted |
/contrib/sdk/sources/gcc_eh/Makefile |
---|
1,19 → 1,18 |
LIBRARY= libgcc_eh |
CC=gcc |
CPP=g++ |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
CPP= kos32-g++ |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
LD = ld |
ARFLAG = crs |
AR= ar |
STRIP = $(PREFIX)strip |
INCLUDES= -I. -I../newlib/include |
LIBS:= -ldll -lc.dll |
24,22 → 23,17 |
unwind-dw2.c \ |
unwind-dw2-fde.c |
OBJECTS = $(patsubst %.cc, %.o, $(patsubst %.c, %.o, $(SOURCES))) |
# targets |
all:$(LIBRARY).a |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
$(AR) cvrs $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |
%.o : %.c Makefile |
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
/contrib/sdk/sources/gcc_eh/config/i386/w32-unwind.h |
---|
82,8 → 82,8 |
Note that this implementation follows closely the same principles as the |
GNU/Linux and OSF ones. */ |
#define WIN32_MEAN_AND_LEAN |
#include <windows.h> |
//#define WIN32_MEAN_AND_LEAN |
//#include <windows.h> |
/* Patterns found experimentally to be on a Windows signal handler */ |
/* In a standard exception filter */ |
123,6 → 123,7 |
_Unwind_FrameState *fs) |
{ |
#if 0 |
void * ctx_ra_ = (void *)(context->ra); /* return address */ |
void * ctx_cfa_ = (void *)(context->cfa); /* context frame address */ |
unsigned char * pc_ = (unsigned char *) ctx_ra_; |
209,4 → 210,7 |
} |
else |
return _URC_END_OF_STACK; |
#endif |
return _URC_NO_REASON; |
} |
/contrib/sdk/sources/libdrm/Makefile |
---|
1,46 → 1,42 |
CC=gcc |
LD = ld |
AR= ar |
LIBRARY= libdrm |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
STRIP = kos32-strip |
STRIP = $(PREFIX)strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -march=i686 -O2 -fomit-frame-pointer |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --version-script libdrm.ver --image-base=0 --out-implib $(LIBRARY).dll.a |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --version-script libdrm.ver --image-base=0 |
LDFLAGS+= --out-implib $(LIBRARY).dll.a |
ARFLAGS = crs |
INCLUDES= -I. -I./include/drm -I../newlib/include |
LIBPATH:= -L../../lib |
LIBPATH:= -L../../lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBS:= -ldll -lc.dll |
DEFINES= |
SOURCES = xf86drm.c \ |
intel/intel_bufmgr.c \ |
intel/intel_bufmgr_gem.c |
OBJECTS = $(patsubst %.c, %.o, $(SOURCES)) |
# targets |
all:$(LIBRARY).a $(LIBRARY).dll |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
$(AR) $(ARFLAGS) $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |
$(LIBRARY).dll: $(OBJECTS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OBJECTS) $(LIBS) |
$(STRIP) $@ |
mv -f $@ ../../bin |
mv -f $(LIBRARY).dll.a ../../lib |
/contrib/sdk/sources/libpng/mem |
---|
File deleted |
/contrib/sdk/sources/libpng/Makefile |
---|
1,17 → 1,17 |
LIBRARY= libpng16 |
CC=gcc |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
STRIP = kos32-strip |
LD = ld |
CFLAGS = -UWIN32 -UWindows -U_WINDOWS -U_WIN32 -U__WIN32__ -c -O2 -fomit-frame-pointer |
AR= ar |
LDFLAGS= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
LDFLAGS+= --out-implib $(LIBRARY).dll.a |
STRIP = $(PREFIX)strip |
ARFLAGS:= crs |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib $(LIBRARY).dll.a |
INCLUDES= -I. -I../newlib/include -I../zlib |
LIBPATH:= -L../../lib |
46,14 → 46,14 |
ebox:$(LIBRARY).a $(LIBRARY).dll |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
$(AR) $(ARFLAGS) $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |
$(LIBRARY).dll: libpng16.def $(OBJECTS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ libpng16.def $(OBJECTS) $(LIBS) |
$(STRIP) $@ |
sed -f ../newlib/cmd1.sed libpng16.def > mem |
sed -f ../newlib/cmd2.sed mem >libpng.inc |
#sed -f ../newlib/cmd1.sed libpng16.def > mem |
#sed -f ../newlib/cmd2.sed mem >libpng.inc |
mv -f $@ ../../bin |
mv -f $(LIBRARY).dll.a ../../lib |
/contrib/sdk/sources/libsupc++/Makefile |
---|
1,25 → 1,22 |
LIBRARY= libsupc++ |
CC=gcc |
CPP=g++ |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
CPP= kos32-g++ |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
LD = ld |
ARFLAGS= crs |
AR= ar |
STRIP = $(PREFIX)strip |
INCLUDES= -I. -I../newlib/include |
LIBS:= -ldll -lc.dll |
DEFINES= -DIN_GCC -DUSE_EMUTLS=1 -D_GLIBCXX_HAVE_TLS |
DEFINES= -DIN_GCC -DUSE_EMUTLS=1 |
SOURCES = gthr_mutex.c \ |
bad_alloc.cc \ |
class_type_info.cc \ |
53,19 → 50,14 |
OBJECTS = $(patsubst %.cc, %.o, $(patsubst %.c, %.o, $(SOURCES))) |
# targets |
all:$(LIBRARY).a |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
$(AR) $(ARFLAGS) $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |
%.o : %.c Makefile |
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
76,6 → 68,3 |
clean: |
-rm -f *.o |
/contrib/sdk/sources/newlib/libc.inc |
---|
File deleted |
/contrib/sdk/sources/newlib/mem |
---|
File deleted |
/contrib/sdk/sources/newlib/Makefile |
---|
1,11 → 1,14 |
CC = gcc |
AR = ar rc |
LD = ld |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
CFLAGS = -c -O2 -fomit-frame-pointer -DBUILD_DLL |
LDFLAGS = -nostdlib -shared -s -T libcdll.lds --output-def libc.orig.def --out-implib libc.dll.a --image-base 0 |
LDFLAGS = -shared -s -T libcdll.lds --out-implib libc.dll.a --image-base 0 |
#LDFLAGS+= --output-def libc.orig.def |
ARFLAGS = crs |
LIBC_TOPDIR = . |
LIBC_INCLUDES = $(LIBC_TOPDIR)/include |
15,7 → 18,7 |
INCLUDES:= -I $(LIBC_INCLUDES) |
LIBPATH:= -L ../../lib |
LIBPATH:= -L../../lib -L/home/autobuild/tools/win32/mingw32/lib |
STATIC_SRCS:= \ |
crt/start.S \ |
54,7 → 57,6 |
crt/thread.S \ |
crt/tls.S \ |
crt/setjmp.S \ |
crt/assert.c \ |
crt/cpu_features.c \ |
ctype/ctype_.c \ |
ctype/isascii.c \ |
139,6 → 141,8 |
__call_atexit.c \ |
abort.c \ |
abs.c \ |
assert.c \ |
atexit.c \ |
atof.c \ |
atoi.c \ |
atol.c \ |
375,9 → 379,9 |
$(NAME).dll: $(LIB_OBJS) $(SRC_DEP) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(LIB_OBJS) -lgcc --version-script libc.ver |
sed -e "s/ @[^ ]*//" libc.orig.def > libc.def |
sed -f cmd2.sed libc.def > mem |
sed -f newlib.sed mem > libc.inc |
#sed -e "s/ @[^ ]*//" libc.orig.def > libc.def |
#sed -f cmd2.sed libc.def > mem |
#sed -f newlib.sed mem > libc.inc |
install: libc.dll libc.dll.a libapp.a libdll.a |
mv -f libc.dll ../../bin |
386,16 → 390,16 |
mv -f libdll.a ../../lib |
libapp.a: $(LIBCRT_OBJS) Makefile |
$(AR) libapp.a $(LIBCRT_OBJS) |
$(AR) $(ARFLAGS) libapp.a $(LIBCRT_OBJS) |
libdll.a: $(LIBDLL_OBJS) Makefile |
$(AR) libdll.a $(LIBDLL_OBJS) |
$(AR) $(ARFLAGS) libdll.a $(LIBDLL_OBJS) |
static: $(NAME).a |
$(NAME).a: $(LIB_OBJS) $(SRC_DEP) Makefile |
$(AR) $(NAME).a $(LIB_OBJS) |
$(AR) $(ARFLAGS) $(NAME).a $(LIB_OBJS) |
/contrib/sdk/sources/newlib/Makefile.ebox |
---|
374,7 → 374,7 |
$(NAME).dll: $(LIB_OBJS) $(SRC_DEP) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(LIB_OBJS) -lgcc --version-script libc.ver |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(LIB_OBJS) --version-script libc.ver |
sed -e "s/ @[^ ]*//" libc.orig.def > libc.def |
sed -f cmd2.sed libc.def > mem |
sed -f newlib.sed mem > libc.inc |
/contrib/sdk/sources/newlib/crt/assert.c |
---|
File deleted |
/contrib/sdk/sources/newlib/crt/crt3.c |
---|
18,7 → 18,7 |
#include <string.h> |
#include <stdio.h> |
/* |
typedef void (*ctp)(); |
static void __do_global_ctors () |
{ |
32,9 → 32,10 |
c++; |
} |
} |
*/ |
void *load_libc(); |
void __main (){}; |
//void __main (){}; |
void* get_entry_point(void *raw); |
/contrib/sdk/sources/newlib/crt/emutls.c |
---|
26,7 → 26,6 |
#include <stdlib.h> |
#include <malloc.h> |
#include <memory.h> |
#include <errno.h> |
#include <gthr.h> |
/contrib/sdk/sources/newlib/crt/pseudo-reloc.c |
---|
19,7 → 19,6 |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdarg.h> |
#include <memory.h> |
extern char __RUNTIME_PSEUDO_RELOC_LIST__; |
extern char __RUNTIME_PSEUDO_RELOC_LIST_END__; |
/contrib/sdk/sources/newlib/libc.def |
---|
2,6 → 2,7 |
_Balloc |
_Bfree |
_Exit DATA |
__assert |
__assert_func |
__ctype_ptr__ DATA |
__emutls_get_address |
13,7 → 14,6 |
__signbitf |
__srget_r |
__swbuf_r |
_assert |
_atoi_r |
_atol_r |
_buf_findstr |
171,6 → 171,7 |
atanf |
atanh |
atanhf |
atexit |
atof |
atoi |
atol |
/contrib/sdk/sources/newlib/libc.orig.def |
---|
2,18 → 2,18 |
_Balloc @1 |
_Bfree @2 |
_Exit @3 DATA |
__assert_func @4 |
__ctype_ptr__ @5 DATA |
__emutls_get_address @6 |
__errno @7 |
__fpclassifyd @8 |
__fpclassifyf @9 |
__mutex_lock @10 |
__signbitd @11 |
__signbitf @12 |
__srget_r @13 |
__swbuf_r @14 |
_assert @15 |
__assert @4 |
__assert_func @5 |
__ctype_ptr__ @6 DATA |
__emutls_get_address @7 |
__errno @8 |
__fpclassifyd @9 |
__fpclassifyf @10 |
__mutex_lock @11 |
__signbitd @12 |
__signbitf @13 |
__srget_r @14 |
__swbuf_r @15 |
_atoi_r @16 |
_atol_r @17 |
_buf_findstr @18 |
171,338 → 171,339 |
atanf @170 |
atanh @171 |
atanhf @172 |
atof @173 |
atoi @174 |
atol @175 |
bsearch @176 |
calloc @177 |
cbrt @178 |
cbrtf @179 |
ceil @180 |
ceilf @181 |
clearerr @182 |
clock @183 |
close @184 |
copysign @185 |
copysignf @186 |
cos @187 |
cosf @188 |
cosh @189 |
coshf @190 |
create_file @191 |
create_image @192 |
create_thread @193 |
ctime @194 |
ctime_r @195 |
debugwrite @196 |
delete_file @197 |
difftime @198 |
diprintf @199 |
div @200 |
dprintf @201 |
drem @202 |
dremf @203 |
entry @204 DATA |
envz_get @205 |
erf @206 |
erfc @207 |
erfcf @208 |
erff @209 |
exit @210 |
exp @211 |
exp10 @212 |
exp10f @213 |
exp2 @214 |
exp2f @215 |
expf @216 |
expm1 @217 |
expm1f @218 |
fabs @219 |
fabsf @220 |
fclose @221 |
fdim @222 |
fdimf @223 |
fdopen @224 |
fflush @225 |
fgetc @226 |
fgets @227 |
fileno @228 |
finite @229 |
finitef @230 |
fiprintf @231 |
fiscanf @232 |
floor @233 |
floorf @234 |
fma @235 |
fmaf @236 |
fmax @237 |
fmaxf @238 |
fmin @239 |
fminf @240 |
fmod @241 |
fmodf @242 |
fopen @243 |
fprintf @244 |
fputc @245 |
fputs @246 |
fputwc @247 |
fread @248 |
free @249 |
freopen @250 |
frexp @251 |
frexpf @252 |
fscanf @253 |
fseek @254 |
fseeko @255 |
fstat @256 |
ftell @257 |
ftello @258 |
fwrite @259 |
gamma @260 |
gamma_r @261 |
gammaf @262 |
gammaf_r @263 |
get_entry_point @264 |
get_fileinfo @265 |
get_proc_address @266 |
getenv @267 |
gettimeofday @268 |
gmtime @269 |
gmtime_r @270 |
hypot @271 |
hypotf @272 |
ilogb @273 |
ilogbf @274 |
infinity @275 |
infinityf @276 |
init_global_reent @277 |
init_loader @278 |
init_reent @279 |
isalnum @280 |
isalpha @281 |
isascii @282 |
isblank @283 |
iscntrl @284 |
isdigit @285 |
isgraph @286 |
isinf @287 |
isinff @288 |
islower @289 |
isnan @290 |
isnanf @291 |
isprint @292 |
ispunct @293 |
isspace @294 |
isupper @295 |
iswalnum @296 |
iswalpha @297 |
iswblank @298 |
iswcntrl @299 |
iswctype @300 |
iswdigit @301 |
iswgraph @302 |
iswlower @303 |
iswprint @304 |
iswpunct @305 |
iswspace @306 |
iswupper @307 |
iswxdigit @308 |
isxdigit @309 |
j0 @310 |
j0f @311 |
j1 @312 |
j1f @313 |
jn @314 |
jnf @315 |
ldexp @316 |
ldexpf @317 |
lgamma @318 |
lgamma_r @319 |
lgammaf @320 |
lgammaf_r @321 |
libc_crt_startup @322 |
link_app @323 |
link_image @324 |
llrint @325 |
llrintf @326 |
llrintl @327 |
llround @328 |
llroundf @329 |
load_library @330 |
loader_env @331 DATA |
localeconv @332 |
localtime @333 |
localtime_r @334 |
log @335 |
log10 @336 |
log10f @337 |
log1p @338 |
log1pf @339 |
log2 @340 |
log2f @341 |
logb @342 |
logbf @343 |
logf @344 |
longjmp @345 |
lrint @346 |
lrintf @347 |
lrintl @348 |
lround @349 |
lroundf @350 |
lseek @351 |
malloc @352 |
matherr @353 |
mbrtowc @354 |
mbtowc @355 |
memalign @356 |
memchr @357 |
memcmp @358 |
memcpy @359 |
memmove @360 |
memset @361 |
mktime @362 |
modf @363 |
modff @364 |
nan @365 |
nanf @366 |
nearbyint @367 |
nearbyintf @368 |
nextafter @369 |
nextafterf @370 |
open @371 |
path_list @372 DATA |
pow @373 |
pow10 @374 |
pow10f @375 |
powf @376 |
printf @377 |
putc @378 |
putchar @379 |
puts @380 |
qsort @381 |
raise @382 |
rand @383 |
rand_r @384 |
read @385 |
read_file @386 |
realloc @387 |
remainder @388 |
remainderf @389 |
remove @390 |
remquo @391 |
remquof @392 |
rename @393 |
rint @394 |
rintf @395 |
rintl @396 |
round @397 |
roundf @398 |
scalb @399 |
scalbf @400 |
scalbln @401 |
scalblnf @402 |
scalbn @403 |
scalbnf @404 |
seed48 @405 |
set_file_size @406 |
setjmp @407 |
setlocale @408 |
setvbuf @409 |
signal @410 |
significand @411 |
significandf @412 |
sin @413 |
sincos @414 |
sincosf @415 |
sinf @416 |
sinh @417 |
sinhf @418 |
siprintf @419 |
sniprintf @420 |
snprintf @421 |
sprintf @422 |
sqrt @423 |
sqrtf @424 |
srand @425 |
srand48 @426 |
sscanf @427 |
stpcpy @428 |
stpncpy @429 |
strcasecmp @430 |
strcasestr @431 |
strcat @432 |
strchr @433 |
strcmp @434 |
strcoll @435 |
strcpy @436 |
strcspn @437 |
strdup @438 |
strerror @439 |
strftime @440 |
strlen @441 |
strncasecmp @442 |
strncat @443 |
strncmp @444 |
strncpy @445 |
strndup @446 |
strnlen @447 |
strpbrk @448 |
strrchr @449 |
strsep @450 |
strspn @451 |
strstr @452 |
strtod @453 |
strtof @454 |
strtok @455 |
strtok_r @456 |
strtol @457 |
strtoll @458 |
strtoul @459 |
strtoull @460 |
strupr @461 |
system @462 |
tan @463 |
tanf @464 |
tanh @465 |
tanhf @466 |
tempnam @467 |
tgamma @468 |
tgammaf @469 |
time @470 |
tls_alloc @471 DATA |
tmpfile @472 |
tmpnam @473 |
toascii @474 |
tolower @475 |
toupper @476 |
towctrans @477 |
towlower @478 |
towupper @479 |
trunc @480 |
truncf @481 |
ungetc @482 |
user_alloc @483 |
validate_pe @484 |
vasniprintf @485 |
vasnprintf @486 |
vdiprintf @487 |
vdprintf @488 |
vfiprintf @489 |
vfiscanf @490 |
vfprintf @491 |
vfscanf @492 |
vscanf @493 |
vsnprintf @494 |
vsprintf @495 |
vsscanf @496 |
wcrtomb @497 |
wctrans @498 |
wctype @499 |
write @500 |
write_file @501 |
y0 @502 |
y0f @503 |
y1 @504 |
y1f @505 |
yn @506 |
ynf @507 |
atexit @173 |
atof @174 |
atoi @175 |
atol @176 |
bsearch @177 |
calloc @178 |
cbrt @179 |
cbrtf @180 |
ceil @181 |
ceilf @182 |
clearerr @183 |
clock @184 |
close @185 |
copysign @186 |
copysignf @187 |
cos @188 |
cosf @189 |
cosh @190 |
coshf @191 |
create_file @192 |
create_image @193 |
create_thread @194 |
ctime @195 |
ctime_r @196 |
debugwrite @197 |
delete_file @198 |
difftime @199 |
diprintf @200 |
div @201 |
dprintf @202 |
drem @203 |
dremf @204 |
entry @205 DATA |
envz_get @206 |
erf @207 |
erfc @208 |
erfcf @209 |
erff @210 |
exit @211 |
exp @212 |
exp10 @213 |
exp10f @214 |
exp2 @215 |
exp2f @216 |
expf @217 |
expm1 @218 |
expm1f @219 |
fabs @220 |
fabsf @221 |
fclose @222 |
fdim @223 |
fdimf @224 |
fdopen @225 |
fflush @226 |
fgetc @227 |
fgets @228 |
fileno @229 |
finite @230 |
finitef @231 |
fiprintf @232 |
fiscanf @233 |
floor @234 |
floorf @235 |
fma @236 |
fmaf @237 |
fmax @238 |
fmaxf @239 |
fmin @240 |
fminf @241 |
fmod @242 |
fmodf @243 |
fopen @244 |
fprintf @245 |
fputc @246 |
fputs @247 |
fputwc @248 |
fread @249 |
free @250 |
freopen @251 |
frexp @252 |
frexpf @253 |
fscanf @254 |
fseek @255 |
fseeko @256 |
fstat @257 |
ftell @258 |
ftello @259 |
fwrite @260 |
gamma @261 |
gamma_r @262 |
gammaf @263 |
gammaf_r @264 |
get_entry_point @265 |
get_fileinfo @266 |
get_proc_address @267 |
getenv @268 |
gettimeofday @269 |
gmtime @270 |
gmtime_r @271 |
hypot @272 |
hypotf @273 |
ilogb @274 |
ilogbf @275 |
infinity @276 |
infinityf @277 |
init_global_reent @278 |
init_loader @279 |
init_reent @280 |
isalnum @281 |
isalpha @282 |
isascii @283 |
isblank @284 |
iscntrl @285 |
isdigit @286 |
isgraph @287 |
isinf @288 |
isinff @289 |
islower @290 |
isnan @291 |
isnanf @292 |
isprint @293 |
ispunct @294 |
isspace @295 |
isupper @296 |
iswalnum @297 |
iswalpha @298 |
iswblank @299 |
iswcntrl @300 |
iswctype @301 |
iswdigit @302 |
iswgraph @303 |
iswlower @304 |
iswprint @305 |
iswpunct @306 |
iswspace @307 |
iswupper @308 |
iswxdigit @309 |
isxdigit @310 |
j0 @311 |
j0f @312 |
j1 @313 |
j1f @314 |
jn @315 |
jnf @316 |
ldexp @317 |
ldexpf @318 |
lgamma @319 |
lgamma_r @320 |
lgammaf @321 |
lgammaf_r @322 |
libc_crt_startup @323 |
link_app @324 |
link_image @325 |
llrint @326 |
llrintf @327 |
llrintl @328 |
llround @329 |
llroundf @330 |
load_library @331 |
loader_env @332 DATA |
localeconv @333 |
localtime @334 |
localtime_r @335 |
log @336 |
log10 @337 |
log10f @338 |
log1p @339 |
log1pf @340 |
log2 @341 |
log2f @342 |
logb @343 |
logbf @344 |
logf @345 |
longjmp @346 |
lrint @347 |
lrintf @348 |
lrintl @349 |
lround @350 |
lroundf @351 |
lseek @352 |
malloc @353 |
matherr @354 |
mbrtowc @355 |
mbtowc @356 |
memalign @357 |
memchr @358 |
memcmp @359 |
memcpy @360 |
memmove @361 |
memset @362 |
mktime @363 |
modf @364 |
modff @365 |
nan @366 |
nanf @367 |
nearbyint @368 |
nearbyintf @369 |
nextafter @370 |
nextafterf @371 |
open @372 |
path_list @373 DATA |
pow @374 |
pow10 @375 |
pow10f @376 |
powf @377 |
printf @378 |
putc @379 |
putchar @380 |
puts @381 |
qsort @382 |
raise @383 |
rand @384 |
rand_r @385 |
read @386 |
read_file @387 |
realloc @388 |
remainder @389 |
remainderf @390 |
remove @391 |
remquo @392 |
remquof @393 |
rename @394 |
rint @395 |
rintf @396 |
rintl @397 |
round @398 |
roundf @399 |
scalb @400 |
scalbf @401 |
scalbln @402 |
scalblnf @403 |
scalbn @404 |
scalbnf @405 |
seed48 @406 |
set_file_size @407 |
setjmp @408 |
setlocale @409 |
setvbuf @410 |
signal @411 |
significand @412 |
significandf @413 |
sin @414 |
sincos @415 |
sincosf @416 |
sinf @417 |
sinh @418 |
sinhf @419 |
siprintf @420 |
sniprintf @421 |
snprintf @422 |
sprintf @423 |
sqrt @424 |
sqrtf @425 |
srand @426 |
srand48 @427 |
sscanf @428 |
stpcpy @429 |
stpncpy @430 |
strcasecmp @431 |
strcasestr @432 |
strcat @433 |
strchr @434 |
strcmp @435 |
strcoll @436 |
strcpy @437 |
strcspn @438 |
strdup @439 |
strerror @440 |
strftime @441 |
strlen @442 |
strncasecmp @443 |
strncat @444 |
strncmp @445 |
strncpy @446 |
strndup @447 |
strnlen @448 |
strpbrk @449 |
strrchr @450 |
strsep @451 |
strspn @452 |
strstr @453 |
strtod @454 |
strtof @455 |
strtok @456 |
strtok_r @457 |
strtol @458 |
strtoll @459 |
strtoul @460 |
strtoull @461 |
strupr @462 |
system @463 |
tan @464 |
tanf @465 |
tanh @466 |
tanhf @467 |
tempnam @468 |
tgamma @469 |
tgammaf @470 |
time @471 |
tls_alloc @472 DATA |
tmpfile @473 |
tmpnam @474 |
toascii @475 |
tolower @476 |
toupper @477 |
towctrans @478 |
towlower @479 |
towupper @480 |
trunc @481 |
truncf @482 |
ungetc @483 |
user_alloc @484 |
validate_pe @485 |
vasniprintf @486 |
vasnprintf @487 |
vdiprintf @488 |
vdprintf @489 |
vfiprintf @490 |
vfiscanf @491 |
vfprintf @492 |
vfscanf @493 |
vscanf @494 |
vsnprintf @495 |
vsprintf @496 |
vsscanf @497 |
wcrtomb @498 |
wctrans @499 |
wctype @500 |
write @501 |
write_file @502 |
y0 @503 |
y0f @504 |
y1 @505 |
y1f @506 |
yn @507 |
ynf @508 |
/contrib/sdk/sources/newlib/stdlib/assert.c |
---|
0,0 → 1,76 |
/* |
FUNCTION |
<<assert>>---macro for debugging diagnostics |
INDEX |
assert |
ANSI_SYNOPSIS |
#include <assert.h> |
void assert(int <[expression]>); |
DESCRIPTION |
Use this macro to embed debuggging diagnostic statements in |
your programs. The argument <[expression]> should be an |
expression which evaluates to true (nonzero) when your program |
is working as you intended. |
When <[expression]> evaluates to false (zero), <<assert>> |
calls <<abort>>, after first printing a message showing what |
failed and where: |
. Assertion failed: <[expression]>, file <[filename]>, line <[lineno]>, function: <[func]> |
If the name of the current function is not known (for example, |
when using a C89 compiler that does not understand __func__), |
the function location is omitted. |
The macro is defined to permit you to turn off all uses of |
<<assert>> at compile time by defining <<NDEBUG>> as a |
preprocessor variable. If you do this, the <<assert>> macro |
expands to |
. (void(0)) |
RETURNS |
<<assert>> does not return a value. |
PORTABILITY |
The <<assert>> macro is required by ANSI, as is the behavior |
when <<NDEBUG>> is defined. |
Supporting OS subroutines required (only if enabled): <<close>>, <<fstat>>, |
<<getpid>>, <<isatty>>, <<kill>>, <<lseek>>, <<read>>, <<sbrk>>, <<write>>. |
*/ |
#include <assert.h> |
#include <stdlib.h> |
#include <stdio.h> |
#ifndef HAVE_ASSERT_FUNC |
/* func can be NULL, in which case no function information is given. */ |
void |
_DEFUN (__assert_func, (file, line, func, failedexpr), |
const char *file _AND |
int line _AND |
const char *func _AND |
const char *failedexpr) |
{ |
fiprintf(stderr, |
"assertion \"%s\" failed: file \"%s\", line %d%s%s\n", |
failedexpr, file, line, |
func ? ", function: " : "", func ? func : ""); |
abort(); |
/* NOTREACHED */ |
} |
#endif /* HAVE_ASSERT_FUNC */ |
void |
_DEFUN (__assert, (file, line, failedexpr), |
const char *file _AND |
int line _AND |
const char *failedexpr) |
{ |
__assert_func (file, line, NULL, failedexpr); |
/* NOTREACHED */ |
} |
/contrib/sdk/sources/newlib/stdlib/atexit.c |
---|
0,0 → 1,66 |
/* |
* Copyright (c) 1990 Regents of the University of California. |
* All rights reserved. |
* |
* %sccs.include.redist.c% |
*/ |
/* |
FUNCTION |
<<atexit>>---request execution of functions at program exit |
INDEX |
atexit |
ANSI_SYNOPSIS |
#include <stdlib.h> |
int atexit (void (*<[function]>)(void)); |
TRAD_SYNOPSIS |
#include <stdlib.h> |
int atexit ((<[function]>) |
void (*<[function]>)(); |
DESCRIPTION |
You can use <<atexit>> to enroll functions in a list of functions that |
will be called when your program terminates normally. The argument is |
a pointer to a user-defined function (which must not require arguments and |
must not return a result). |
The functions are kept in a LIFO stack; that is, the last function |
enrolled by <<atexit>> will be the first to execute when your program |
exits. |
There is no built-in limit to the number of functions you can enroll |
in this list; however, after every group of 32 functions is enrolled, |
<<atexit>> will call <<malloc>> to get space for the next part of the |
list. The initial list of 32 functions is statically allocated, so |
you can always count on at least that many slots available. |
RETURNS |
<<atexit>> returns <<0>> if it succeeds in enrolling your function, |
<<-1>> if it fails (possible only if no space was available for |
<<malloc>> to extend the list of functions). |
PORTABILITY |
<<atexit>> is required by the ANSI standard, which also specifies that |
implementations must support enrolling at least 32 functions. |
Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, |
<<lseek>>, <<read>>, <<sbrk>>, <<write>>. |
*/ |
#include <stdlib.h> |
#include "atexit.h" |
/* |
* Register a function to be performed at exit. |
*/ |
int |
_DEFUN (atexit, |
(fn), |
_VOID _EXFNPTR(fn, (_VOID))) |
{ |
return __register_exitproc (__et_atexit, fn, NULL, NULL); |
} |
/contrib/sdk/sources/pixman/pixman-1.inc |
---|
File deleted |
/contrib/sdk/sources/pixman/mem |
---|
File deleted |
/contrib/sdk/sources/pixman/Makefile |
---|
1,17 → 1,20 |
LIBRARY = pixman-1 |
CC = gcc |
CC = kos32-gcc |
AR = kos32-ar |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -Wall -Winline -fomit-frame-pointer |
LD = ld |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib lib$(LIBRARY).dll.a |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
LDFLAGS+= --out-implib lib$(LIBRARY).dll.a |
STRIP = $(PREFIX)strip |
ARFLAGS = cvrs |
INCLUDES= -I. -I../newlib/include |
LIBPATH:= -L../../lib |
LIBPATH:= -L../../lib -L/home/autobuild/tools/win32/mingw32/lib |
LIBS:= -ldll -lc.dll -lgcc |
64,14 → 67,13 |
ebox:$lib(LIBRARY).a $(LIBRARY).dll |
lib$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs lib$(LIBRARY).a $(OBJECTS) |
$(AR) $(ARFLAGS) lib$(LIBRARY).a $(OBJECTS) |
mv -f lib$(LIBRARY).a ../../lib |
$(LIBRARY).dll: $(LIBRARY).def $(OBJECTS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(LIBRARY).def $(OBJECTS) $(LIBS) |
$(STRIP) $@ |
sed -f ../newlib/cmd1.sed $(LIBRARY).def > mem |
sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
#sed -f ../newlib/cmd1.sed $(LIBRARY).def > mem |
#sed -f ../newlib/cmd2.sed mem >$(LIBRARY).inc |
mv -f $@ ../../bin |
mv -f lib$(LIBRARY).dll.a ../../lib |
/contrib/sdk/sources/zlib/mem |
---|
File deleted |
/contrib/sdk/sources/zlib/Makefile |
---|
11,21 → 11,20 |
SHAREDLIB = libz.dll |
IMPLIB = libz.dll.a |
PREFIX = |
CC = $(PREFIX)gcc |
CC = kos32-gcc |
LD = kos32-ld |
AR = kos32-ar |
STRIP = kos32-strip |
CFLAGS = $(LOC) -U_Win32 -U_WIN32 -U__MINGW32__ -O2 -Wall -fomit-frame-pointer |
AS = $(CC) |
ASFLAGS = $(LOC) -Wall |
LD = ld |
LDFLAGS = $(LOC) |
AR = $(PREFIX)ar |
ARFLAGS = rcs |
STRIP = $(PREFIX)strip |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib $(IMPLIB) |
INCLUDES= -I../newlib/include |
61,8 → 60,8 |
$(SHAREDLIB): zlib.def $(OBJS) $(OBJA) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ zlib.def $(OBJS) $(OBJA) $(LIBS) |
$(STRIP) $@ |
sed -f ../newlib/cmd1.sed zlib.def > mem |
sed -f ../newlib/cmd2.sed mem >zlib.inc |
#sed -f ../newlib/cmd1.sed zlib.def > mem |
#sed -f ../newlib/cmd2.sed mem >zlib.inc |
mv -f libz.dll ../../bin |
mv -f libz.dll.a ../../lib |