Mercurial > mplayer.hg
annotate libdha/Makefile @ 22837:2e506e1c8d85
Build libdha statically like all the other libraries.
author | diego |
---|---|
date | Sat, 31 Mar 2007 13:37:29 +0000 |
parents | 39cdbfe7d24e |
children | d391740ae689 |
rev | line source |
---|---|
3973 | 1 include ../config.mak |
2 | |
22837
2e506e1c8d85
Build libdha statically like all the other libraries.
diego
parents:
22791
diff
changeset
|
3 LIBNAME_MPLAYER = libdha.a |
3973 | 4 |
22573 | 5 SRCS_MPLAYER = libdha.c \ |
22574 | 6 mtrr.c \ |
7 pci.c \ | |
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 | 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 | 19 include ../mpcommon.mak |
20 | |
21821 | 21 pci_names.c: oth/pci.db |
22 LC_ALL=C $(AWK) -f pci_db2c.awk $< | |
4106 | 23 |
22578 | 24 test: pci.o |
22566 | 25 $(CC) test.c -o $@ $^ |
3973 | 26 |
22585 | 27 clean:: |
22837
2e506e1c8d85
Build libdha statically like all the other libraries.
diego
parents:
22791
diff
changeset
|
28 rm -f pci_*.c pci_*.h pci.db |