~ubuntu-branches/ubuntu/wily/hwinfo/wily

« back to all changes in this revision

Viewing changes to src/isdn/cdb/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): James Vega
  • Date: 2006-11-03 07:28:15 UTC
  • mfrom: (1.2.1 upstream) (3.1.7 edgy)
  • Revision ID: james.westby@ubuntu.com-20061103072815-7g9d6kzk0xn54159
Add cpu.c-alpha_bogo patch, which fixes a FTBFS on alpha because of an
undefined variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TOPDIR          = ../../..
 
2
TARGETS         = mk_isdnhwdb isdn_cdb.h ISDN.CDB.hwdb
 
3
CLEANFILES      = isdn_cdb isdn_cdb.h lex.yy.c ISDN.CDB.txt mk_isdnhwdb ISDN.CDB.hwdb
 
4
 
 
5
include $(TOPDIR)/Makefile.common
 
6
 
 
7
ISDN.CDB.txt:
 
8
        if [ -f ISDN.$(ARCH).txt ]; then \
 
9
                ln -s ISDN.$(ARCH).txt ISDN.CDB.txt; \
 
10
        else \
 
11
                ln -s ISDN.ppc.txt ISDN.CDB.txt; \
 
12
        fi
 
13
 
 
14
isdn_cdb.h: isdn_cdb ISDN.CDB.txt
 
15
        rm -f isdn_cdb.h
 
16
        ./isdn_cdb ISDN.CDB.txt isdn_cdb.h
 
17
 
 
18
lex.yy.c: isdn_cdb.lex
 
19
        lex isdn_cdb.lex
 
20
 
 
21
isdn_cdb: isdn_cdb.o cdb_read.o
 
22
 
 
23
mk_isdnhwdb: mk_isdnhwdb.o cdb_read.o
 
24
 
 
25
cdb_read.o: cdb_read.c cdb_read.h
 
26
 
 
27
isdn_cdb.o: isdn_cdb.c cdb_read.h lex.yy.c
 
28
 
 
29
mk_isdnhwdb.o: mk_isdnhwdb.c cdb_read.h lex.yy.c
 
30
 
 
31
ISDN.CDB.hwdb: mk_isdnhwdb ISDN.CDB.txt
 
32
        rm -f  ISDN.CDB.hwdb
 
33
        ./mk_isdnhwdb ISDN.CDB.txt ISDN.CDB.hwdb