blob: c9a06876c44db08ad6eca3e07fb77839807d94f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
|