summaryrefslogtreecommitdiff
path: root/src/libw32dll/Makefile.am
blob: e4d54930f48f7c22abb49987b6601fdf21bb2aa4 (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
CFLAGS = @CFLAGS@ -I$(srcdir)/wine

DEBUG_CFLAGS = @DEBUG_CFLAGS@ -I$(srcdir)/wine

SUBDIRS = wine DirectShow

if HAVE_W32DLL
w32dll_codec = xineplug_decode_w32dll.la
endif

LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic

libdir = $(XINE_PLUGINDIR)

##
# IMPORTANT:
# ---------
# All of xine codecs should be named like the scheme "xineplug_decode_"
#
lib_LTLIBRARIES = $(w32dll_codec)

xineplug_decode_w32dll_la_SOURCES = w32codec.c
xineplug_decode_w32dll_la_LDFLAGS = -avoid-version -module
xineplug_decode_w32dll_la_LIBADD = $(top_builddir)/src/libw32dll/wine/libwine.la \
        $(top_builddir)/src/xine-engine/libxine.la \
	$(top_builddir)/src/libw32dll/DirectShow/libds_filter.la @KSTAT_LIBS@

noinst_HEADERS = w32codec.h libwin32.h

debug:
	@list='$(SUBDIRS)'; for subdir in $$list; do \
	  (cd $$subdir && $(MAKE) $@) || exit;\
	done;
	@$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"

install-debug: debug
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

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