Fix important comment in kernel/arch/sparc64/src/proc/scheduler.c.
[helenos.git] / uspace / pci / libpci / Makefile
blob5a95101d296cc684bcb0f6b366896bc4102aba7d
1 # Makefile for The PCI Library
2 # (c) 1999 Martin Mares <mj@ucw.cz>
4 # Modified and ported to HelenOS by Jakub Jermar
6 LIBC_PREFIX=$(shell cd ../../libc; pwd)
8 include $(LIBC_PREFIX)/Makefile.toolchain
10 LIBS = $(LIBC_PREFIX)/libc.a
11 CFLAGS += -I$(LIBC_PREFIX)/include -trigraphs
13 OBJS=access.o generic.o names.o
14 INCL=internal.h pci.h header.h sysdep.h types.h pci_ids.h
16 PCILIB=libpci.a
18 OBJS += i386-ports.o
20 all: $(PCILIB)
22 $(PCILIB): $(OBJS)
23 $(AR) rc $@ $(OBJS)
25 %.o: %.c $(INCL)
26 $(CC) $(CFLAGS) -c $< -o $@
28 clean:
29 -rm *.o libpci.a