2002-01-04 10:32:26 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
2007-03-31 13:37:29 +00:00
|
|
|
LIBNAME_MPLAYER = libdha.a
|
2002-01-04 10:32:26 +00:00
|
|
|
|
2007-03-15 00:49:32 +00:00
|
|
|
SRCS_MPLAYER = libdha.c \
|
2007-03-15 00:50:52 +00:00
|
|
|
mtrr.c \
|
|
|
|
pci.c \
|
|
|
|
pci_names.c \
|
2006-03-25 10:38:37 +00:00
|
|
|
|
2002-12-20 21:07:27 +00:00
|
|
|
# If you want libdha to use svgalib_helper for hardware access,
|
|
|
|
# uncomment this statement, and change the -I to the correct directory
|
|
|
|
# that includes svgalib_helper.o:
|
2007-03-24 14:39:39 +00:00
|
|
|
#CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
|
2002-12-20 21:07:27 +00:00
|
|
|
|
2007-03-31 13:37:29 +00:00
|
|
|
libs: pci_names.c
|
2002-01-04 10:32:26 +00:00
|
|
|
|
2007-03-24 17:58:46 +00:00
|
|
|
dep depend:: pci_names.c
|
|
|
|
|
2007-03-15 09:19:30 +00:00
|
|
|
include ../mpcommon.mak
|
|
|
|
|
2007-01-06 15:08:04 +00:00
|
|
|
pci_names.c: oth/pci.db
|
|
|
|
LC_ALL=C $(AWK) -f pci_db2c.awk $<
|
2002-01-12 11:39:07 +00:00
|
|
|
|
2007-03-15 08:38:51 +00:00
|
|
|
test: pci.o
|
2007-03-14 22:38:42 +00:00
|
|
|
$(CC) test.c -o $@ $^
|
2002-01-04 10:32:26 +00:00
|
|
|
|
2007-03-15 09:19:30 +00:00
|
|
|
clean::
|
2007-04-01 12:30:17 +00:00
|
|
|
rm -f pci_*.c pci_*.h
|