1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 21:31:52 +00:00
mpv/libdha/Makefile
diego d898f5c990 Build libdha statically like all the other libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22855 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 13:37:29 +00:00

29 lines
603 B
Makefile

include ../config.mak
LIBNAME_MPLAYER = libdha.a
SRCS_MPLAYER = libdha.c \
mtrr.c \
pci.c \
pci_names.c \
# 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:
#CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
libs: pci_names.c
dep depend:: pci_names.c
include ../mpcommon.mak
pci_names.c: oth/pci.db
LC_ALL=C $(AWK) -f pci_db2c.awk $<
test: pci.o
$(CC) test.c -o $@ $^
clean::
rm -f pci_*.c pci_*.h pci.db