summaryrefslogtreecommitdiff
path: root/src/libw32dll/wine/Makefile.am
blob: 9cb51a5a28f090ba491ea387fa370746161bf547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
EXTRA_DIST = stubs.s

noinst_LTLIBRARIES = $(wine_lib)

##
##
CFLAGS = @CFLAGS@ $(X_CFLAGS) -fno-omit-frame-pointer \
	-Wmissing-prototypes -Wimplicit-function-declaration \
	-DWIN32_PATH=\"@w32_path@\" -I$(srcdir)/.. -D__WINE__ \
	-Ddbg_printf=__vprintf -DTRACE=__vprintf -fno-omit-frame-pointer

DEBUG_CFLAGS = @DEBUG_CFLAGS@ $(X_CFLAGS) -fno-omit-frame-pointer \
	-Wmissing-prototypes -Wimplicit-function-declaration \
	-DWIN32_PATH=\\\"@w32_path@\\\" -I$(srcdir)/.. -D__WINE__ \
	-Ddbg_printf=__vprintf -DTRACE=__vprintf -fno-omit-frame-pointer


if HAVE_W32DLL
wine_lib = libwine.la
endif

libwine_la_SOURCES = afl.c       elfdll.c    module.c    pe_resource.c  \
		     resource.c  win32.c     driver.c    ext.c          \
		     pe_image.c  registry.c  vfl.c       ldt_keeper.c     
libwine_la_LIBADD = stubs.lo

noinst_HEADERS = avifmt.h      elfdll.h    msacm.h     pshpack1.h   winbase.h \
		 winnt.h       basetsd.h   heap.h      msacmdrv.h   pshpack2.h\
		 windef.h      winreg.h    ldt.h       ntdef.h      ext.h     \
		 pshpack4.h    windows.h   winuser.h   debugtools.h mmreg.h   \
		 pe_image.h    pshpack8.h  winerror.h  driver.h     module.h  \
		 poppack.h     vfw.h       loader.h    registry.h   win32.h   \
		 wineacm.h     winestring.h resource.h ldt_keeper.h com.h

stubs.lo: stubs.s
	$(CC) -c $(srcdir)/stubs.s -o stubs.lo

debug:
	@$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"

mostlyclean-generic:
	-rm -f *~ \#* .*~ .\#*

maintainer-clean-generic:
	-@echo "This command is intended for maintainers to use;"
	-@echo "it deletes files that may require special tools to rebuild."
	-rm -f Makefile.in