diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-09-22 19:33:54 +0200 |
---|---|---|
committer | Luca Barbieri <luca@luca-barbieri.com> | 2010-09-22 19:59:14 +0200 |
commit | 38da5c9cb636387539daaf5688c2a3badee32447 (patch) | |
tree | 27667ea0a4ff1d8939dad3783cdec0d0c7f554e6 /src/gallium/state_trackers/d3d1x/winedlls/Makefile.wine | |
parent | ab5e9a726d50b414718a248fd8625f1c6f269a49 (diff) |
d3d1x: add Wine dlls (tri, tex working, but no other testing)
Diffstat (limited to 'src/gallium/state_trackers/d3d1x/winedlls/Makefile.wine')
-rw-r--r-- | src/gallium/state_trackers/d3d1x/winedlls/Makefile.wine | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/d3d1x/winedlls/Makefile.wine b/src/gallium/state_trackers/d3d1x/winedlls/Makefile.wine new file mode 100644 index 0000000000..c9a06876c4 --- /dev/null +++ b/src/gallium/state_trackers/d3d1x/winedlls/Makefile.wine @@ -0,0 +1,23 @@ +TOP=../../../../../.. +D3D1X=../.. +include $(TOP)/configs/current +CFLAGS=$(CXXFLAGS) + +all: lib$(LIBNAME).def lib$(LIBNAME).cross.a $(LIBNAME).dll.so + +%.dll.fake: %.spec $(OBJECTS) version.res + wineg++ -m32 -fasynchronous-unwind-tables -shared $^ -o $@ $(LDADD) + +%.dll.so: %.spec $(OBJECTS) version.res + wineg++ -m32 -fasynchronous-unwind-tables -shared $^ -o $@ $(LDADD) + +lib%.def: %.spec + winebuild -w --def -o $@ --export $< + +lib%.cross.a: %.spec + winebuild -m32 -b i586-mingw32msvc -w --implib -o $@ --export $< + +version.res: version.rc + wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -fo$@ $^ + +include ../../../../Makefile.template |