annotate libdha/Makefile @ 22884:3f571edb7550

restored previous definition of -mpegopts :drop and :tsaf (r22900); they were there for a good reason
author nicodvb
date Sun, 01 Apr 2007 21:54:18 +0000
parents e15beff67d91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3973
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
1 include ../config.mak
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
2
22837
2e506e1c8d85 Build libdha statically like all the other libraries.
diego
parents: 22791
diff changeset
3 LIBNAME_MPLAYER = libdha.a
3973
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
4
22573
749da6290adc Use standard variable names for SRCS and OBJS.
diego
parents: 22572
diff changeset
5 SRCS_MPLAYER = libdha.c \
22574
fc29f62bcb0e whitespace cosmetics
diego
parents: 22573
diff changeset
6 mtrr.c \
fc29f62bcb0e whitespace cosmetics
diego
parents: 22573
diff changeset
7 pci.c \
fc29f62bcb0e whitespace cosmetics
diego
parents: 22573
diff changeset
8 pci_names.c \
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9
8503
9dbb9c710480 svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;)
alex
parents: 8461
diff changeset
10 # If you want libdha to use svgalib_helper for hardware access,
9dbb9c710480 svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;)
alex
parents: 8461
diff changeset
11 # uncomment this statement, and change the -I to the correct directory
9dbb9c710480 svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;)
alex
parents: 8461
diff changeset
12 # that includes svgalib_helper.o:
22782
142a2a3b7218 Get rid of useless conditional, using svgalib_helper now requires modifying
diego
parents: 22781
diff changeset
13 #CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
8503
9dbb9c710480 svgalib kernelhelper support (based on patch by Matan Ziv-Av <matan@svgalib.org>) and some reordering/cleanup (part #1 ;)
alex
parents: 8461
diff changeset
14
22837
2e506e1c8d85 Build libdha statically like all the other libraries.
diego
parents: 22791
diff changeset
15 libs: pci_names.c
3973
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
16
22791
39cdbfe7d24e Fix make depend: Declare extra dependencies before the rule.
diego
parents: 22784
diff changeset
17 dep depend:: pci_names.c
39cdbfe7d24e Fix make depend: Declare extra dependencies before the rule.
diego
parents: 22784
diff changeset
18
22585
98a00e3b8a65 Reuse common parts of all Makefiles.
diego
parents: 22584
diff changeset
19 include ../mpcommon.mak
98a00e3b8a65 Reuse common parts of all Makefiles.
diego
parents: 22584
diff changeset
20
22864
e15beff67d91 Move pci.db out of its single-file subdirectory.
diego
parents: 22863
diff changeset
21 pci_names.c: pci.db
21821
2a0a1f974172 Fix dependencies for pci_names.c.
diego
parents: 21230
diff changeset
22 LC_ALL=C $(AWK) -f pci_db2c.awk $<
4106
64c1e79575df Gawk generator
nick
parents: 4030
diff changeset
23
22578
a7af240446d3 Fix test program linkage.
diego
parents: 22576
diff changeset
24 test: pci.o
22566
206456738325 Simplify rules using make shorthands.
diego
parents: 22342
diff changeset
25 $(CC) test.c -o $@ $^
3973
138800dfbe22 preliminary support of direct hardware access
nick
parents:
diff changeset
26
22585
98a00e3b8a65 Reuse common parts of all Makefiles.
diego
parents: 22584
diff changeset
27 clean::
22863
d391740ae689 Do not remove or ignore pci.db.
diego
parents: 22837
diff changeset
28 rm -f pci_*.c pci_*.h