source: mainline/uspace/srv/pci/libpci/Makefile@ 9a0367f

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 9a0367f was 9a0367f, checked in by Martin Decky <martin@…>, 17 years ago

configuration system overhaul (requires newt)

  • Property mode set to 100644
File size: 582 bytes
Line 
1# Makefile for The PCI Library
2# (c) 1999 Martin Mares <mj@ucw.cz>
3
4# Modified and ported to HelenOS by Jakub Jermar
5
6-include ../../../../Makefile.config
7
8LIBC_PREFIX=$(shell cd ../../../lib/libc; pwd)
9
10include $(LIBC_PREFIX)/Makefile.toolchain
11
12LIBS = $(LIBC_PREFIX)/libc.a
13CFLAGS += -I$(LIBC_PREFIX)/include -trigraphs
14
15OBJS=access.o generic.o names.o
16INCL=internal.h pci.h header.h sysdep.h types.h pci_ids.h
17
18PCILIB=libpci.a
19
20OBJS += i386-ports.o
21
22all: $(PCILIB)
23
24$(PCILIB): $(OBJS)
25 $(AR) rc $@ $(OBJS)
26
27%.o: %.c $(INCL)
28 $(CC) $(CFLAGS) -c $< -o $@
29
30clean:
31 -rm *.o libpci.a
Note: See TracBrowser for help on using the repository browser.