Home | History | Annotate | Download | only in winedlls
      1 TOP=../../../../../..
      2 D3D1X=../..
      3 include $(TOP)/configs/current
      4 CFLAGS=$(CXXFLAGS)
      5 
      6 default: 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 
     14 lib%.def: %.spec
     15 	winebuild -w --def -o $@ --export $<
     16 
     17 lib%.cross.a: %.spec
     18 	winebuild -m32  -b i586-mingw32msvc -w --implib -o $@ --export $<
     19 
     20 version.res: version.rc
     21 	wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -fo$@ $^
     22 
     23 include ../../../../Makefile.template
     24