EXTRA_DIST = README pci_db2c.awk SUBDIRS = bin kernelhelper oth sysdep AM_CFLAGS = @STATIC@ if HAVE_VIDIX dha_lib = libdha.la endif awk_generated = pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h noinst_LTLIBRARIES = $(dha_lib) libdha_la_SOURCES = libdha.c mtrr.c pci.c pci_names.c mmi.c ports.c irq.c cpu_flush.c EXTRA_PROGRAMS = test test_SOURCES = test.c test_LDADD = $(top_builddir)/src/video_out/libdha/libdha.la noinst_HEADERS = AsmMacros.h config.h libdha.h pci_ids.h pci_names.h pci_vendors.h ## for OpenBSD LIBS += -li386 ## We have to create some files, on the fly, this is why this rule is needed. pci_db2c.awk: oth/pci.db: $(awk_generated): pci_db2c.awk oth/pci.db $(AWK) -f $(top_srcdir)/src/video_out/libdha/pci_db2c.awk \ $(top_srcdir)/src/video_out/libdha/oth/pci.db pci_names.lo: $(awk_generated) source='$*.c' object='$@' libtool=yes \ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \ $(CCDEPMODE) $(depcomp) \ $(LTCOMPILE) -c -o $@ `test -f $*.c || echo '$(srcdir)/'`$*.c debug: @$(MAKE) CFLAGS="$(DEBUG_CFLAGS) @STATIC@ -DXINE_COMPILE" install-debug: debug @list='$(SUBDIRS)'; for subdir in $$list; do \ (cd $$subdir && $(MAKE) $@) || exit;\ done; @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am mostlyclean-generic: -rm -f *~ \#* .*~ .\#* test -rm -f $(awk_generated) 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