2 # Makefile to build MPlayer's DLL loader
5 # by RĂ©mi Denis-Courmont <rem # videolan.org>
8 # All other files in this directory (and subdirectories) are copyrighted
9 # by their respective owner(s).
13 noinst_LTLIBRARIES = libloader.la
16 # TODO: real check for vsscanf() and <sys/mmap.h>
17 AM_CPPFLAGS = -D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 \
18 -DWIN32_PATH=\"\" -DTRACE\(...\)=\(void\)0
19 AM_CFLAGS = -fno-PIC -U_FILE_OFFSET_BITS \
20 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
22 noinst_HEADERS = com.h driver.h ext.h ldt_keeper.h loader.h registry.h \
23 win32.h wineacm.h wrapper.h qtx/qtxsdk/components.h \
24 wine/avifmt.h wine/basetsd.h wine/debugtools.h wine/driver.h \
25 wine/heap.h wine/mmreg.h wine/module.h wine/msacmdrv.h wine/msacm.h \
26 wine/pe_image.h wine/poppack.h wine/pshpack1.h wine/pshpack2.h \
27 wine/vfw.h wine/winbase.h wine/windef.h wine/winerror.h \
28 wine/winestring.h wine/winnt.h wine/winreg.h wine/winuser.h
30 libloader_la_SOURCES = ldt_keeper.c pe_image.c module.c ext.c win32.c \
31 driver.c pe_resource.c resource.c registry.c afl.c vfl.c \
32 wrapper.S stubs.s kludge.c
33 libloader_la_LIBADD = -lpthread