Makefile.wine revision 743e505315b6be851618caed61981d7c1617bf45
1TOP=../../../../../..
2D3D1X=../..
3include $(TOP)/configs/current
4CFLAGS=$(CXXFLAGS)
5
6default: lib$(LIBNAME).def lib$(LIBNAME).cross.a $(LIBNAME).dll.so
7
8%.dll.fake: %.spec $(OBJECTS) version.res
9	wineg++ -m32 -fasynchronous-unwind-tables -shared $^ -o $@ $(LDADD)
10
11%.dll.so: %.spec $(OBJECTS) version.res
12	wineg++ -m32 -fasynchronous-unwind-tables -shared $^ -o $@ $(LDADD)
13
14lib%.def: %.spec
15	winebuild -w --def -o $@ --export $<
16
17lib%.cross.a: %.spec
18	winebuild -m32  -b i586-mingw32msvc -w --implib -o $@ --export $<
19
20version.res: version.rc
21	wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -fo$@ $^
22
23include ../../../../Makefile.template
24