File: Makefile.am

package info (click to toggle)
modemp3d 0.1-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,688 kB
  • ctags: 1,472
  • sloc: ansic: 12,007; sh: 2,838; makefile: 341; yacc: 285; sed: 93; lex: 33; perl: 31; xml: 10
file content (29 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (10)
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

INCLUDES = -DCONFIGDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" \
	-I$(top_srcdir)/directx/include -I$(top_srcdir)/directx/include/directx6

if DIRECTX
BUILT_SOURCES = libddraw.a libdsound.a libdinput.a libdplayx.a

noinst_LIBRARIES = libdinput1.a
libdinput1_a_SOURCES = dinput.c

endif

libddraw.a libdsound.a libdplayx.a: libddraw.def libdsound.def libdplayx.def
	for i in ddraw dsound dplayx; do \
	  $(DLLTOOL) --as $(AS) -k --dllname $$i.dll --output-lib lib$$i.a --def $(srcdir)/lib$$i.def; \
	done

libdinput.a: libdinput1.a libdinput.def
	$(DLLTOOL) --as $(AS) -k --dllname dinput.dll --output-lib $@ --def $(srcdir)/libdinput.def
	$(AR) xv libdinput1.a dinput.$(OBJEXT)
	$(AR) rv $@ dinput.$(OBJEXT)
	$(RM) -f $<

EXTRA_DIST = libddraw.def libdinput.def libdplayx.def libdsound.def dinput.c \
	fixdirectx.sh deunion.pl include/directx.h

# include/mmsystem.h include/objbase.h

CLEANFILES = libddraw.a libdinput.a libdplayx.a libdsound.a