Split up superiotool.c into multiple source files, one per vendor.

As there will be lots more supported Super I/Os soon, the file is
really getting way too big...

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2777 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2007-09-16 18:11:03 +00:00
parent 18c70d7222
commit 0120e1a3d8
6 changed files with 622 additions and 513 deletions

View File

@@ -28,16 +28,18 @@ PREFIX = /usr/local
CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-Werror-implicit-function-declaration
OBJS = fintek.o ite.o nsc.o superiotool.o
all: $(PROGRAM)
$(PROGRAM): $(PROGRAM).c
$(CC) $(CFLAGS) -o $@ $<
$(PROGRAM): $(OBJS)
$(CC) $(CFLAGS) -o $(PROGRAM) $(OBJS)
install: $(PROGRAM)
$(INSTALL) $(PROGRAM) $(PREFIX)/bin
clean:
rm -f $(PROGRAM)
rm -f $(PROGRAM) *.o
.PHONY: all install clean