[Mplayer-cvslog] CVS: main/libdha Makefile,1.2,1.3

Nick Kurshev nick at mplayer.dev.hu
Sat Jan 12 12:39:10 CET 2002


Update of /cvsroot/mplayer/main/libdha
In directory mplayer:/var/tmp.root/cvs-serv4280

Modified Files:
	Makefile 
Log Message:
Gawk generator

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile	7 Jan 2002 09:28:20 -0000	1.2
+++ Makefile	12 Jan 2002 11:39:07 -0000	1.3
@@ -7,7 +7,7 @@
 SHORTNAME = libdha.so
 LIBNAME = libdha-$(VERSION).so
 
-SRCS=libdha.c pci.c
+SRCS=libdha.c pci.c pci_names.c
 OBJS=$(SRCS:.c=.o)
 
 CFLAGS  = $(OPTFLAGS) -fPIC -I. -I.. -Wall -W
@@ -25,6 +25,10 @@
 
 all:    $(LIBNAME) $(SHORTNAME)
 
+pci_names.c:
+	gzip -d -c oth/pci.db.gz >pci.db
+	gawk -f pci_db2c.awk pci.db
+
 test:
 	$(CC) test.c -o test $(SHORTNAME)
 
@@ -33,6 +37,7 @@
 
 distclean:
 	rm -f Makefile.bak *.o *.so test *~ .depend
+	rm -f pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h pci.db
 
 dep:    depend
 




More information about the MPlayer-cvslog mailing list