/contrib/sdk/sources/Makefile |
---|
File deleted |
\ No newline at end of file |
/contrib/sdk/sources/libdrm/Makefile |
---|
1,11 → 1,13 |
CC=gcc |
LD = ld |
AR= ar |
LIBRARY= libdrm |
CC=gcc |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
LD = ld |
AR= ar |
STRIP = $(PREFIX)strip |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --version-script libdrm.ver --image-base=0 --out-implib $(LIBRARY).dll.a |
/contrib/sdk/sources/Intel-2D/Makefile |
---|
1,11 → 1,13 |
CC=gcc |
LD = ld |
AR= ar |
LIBRARY= pixlib |
CC=gcc |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
LD = ld |
AR= ar |
STRIP = $(PREFIX)strip |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
/contrib/sdk/sources/ffmpeg/config.mak |
---|
34,7 → 34,7 |
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 -U_Win32 -U_WIN32 -U__MINGW32__ -std=c99 -march=pentium-mmx -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 |
/contrib/sdk/sources/cairo/Makefile |
---|
5,7 → 5,7 |
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 --out-implib $(LIBRARY).dll.a |
STRIP = $(PREFIX)strip |
149,13 → 149,13 |
# targets |
all: lib$(LIBRARY).a $(LIBRARY).dll |
all: $(LIBRARY).a $(LIBRARY).dll |
ebox: lib$(LIBRARY).a $(LIBRARY).dll |
ebox: $(LIBRARY).a $(LIBRARY).dll |
lib$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs lib$(LIBRARY).a $(OBJECTS) |
mv -f lib$(LIBRARY).a ../../lib |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |
$(LIBRARY).dll: $(OBJECTS) Makefile |
165,7 → 165,7 |
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 |
mv -f $(LIBRARY).dll.a ../../lib |
%.o : %.c |
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< |
/contrib/sdk/sources/pixman/Makefile |
---|
59,14 → 59,15 |
# targets |
all:lib$(LIBRARY).a $(LIBRARY).dll |
all:$(LIBRARY).a $(LIBRARY).dll |
ebox:$lib(LIBRARY).a $(LIBRARY).dll |
ebox:$(LIBRARY).a $(LIBRARY).dll |
lib$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs lib$(LIBRARY).a $(OBJECTS) |
mv -f lib$(LIBRARY).a ../../lib |
$(LIBRARY).a: $(OBJECTS) Makefile |
ar cvrs $(LIBRARY).a $(OBJECTS) |
mv -f $(LIBRARY).a ../../lib |
$(LIBRARY).dll: $(LIBRARY).def $(OBJECTS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(LIBRARY).def $(OBJECTS) $(LIBS) |
$(STRIP) $@ |
/contrib/sdk/sources/zlib/Makefile |
---|
8,7 → 8,7 |
# For conditions of distribution and use, see copyright notice in zlib.h |
STATICLIB = libz.a |
SHAREDLIB = libz.dll |
SHAREDLIB = zlib.dll |
IMPLIB = libz.dll.a |
PREFIX = |
26,6 → 26,8 |
STRIP = $(PREFIX)strip |
LDIMPORT:= -nostdlib --out-implib libzimp.a |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --out-implib $(IMPLIB) |
INCLUDES= -I../newlib/include |
63,7 → 65,7 |
$(STRIP) $@ |
sed -f ../newlib/cmd1.sed zlib.def > mem |
sed -f ../newlib/cmd2.sed mem >zlib.inc |
mv -f libz.dll ../../bin |
mv -f zlib.dll ../../bin |
mv -f libz.dll.a ../../lib |