source: mainline/uspace/app/lspci/libpci/Makefile@ 92413de

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 92413de was cb0ea39, checked in by Lenka Trochtova <trochtova.lenka@…>, 16 years ago

dd: initial import of the original svn branch

  • Property mode set to 100644
File size: 550 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
6LIBC_PREFIX=$(shell cd ../../../lib/libc; pwd)
7
8include $(LIBC_PREFIX)/Makefile.toolchain
9
10LIBS = $(LIBC_PREFIX)/libc.a
11CFLAGS += -I$(LIBC_PREFIX)/include -trigraphs
12
13OBJS=access.o generic.o names.o
14INCL=internal.h pci.h header.h sysdep.h types.h pci_ids.h
15
16PCILIB=libpci.a
17
18OBJS += i386-ports.o us2.o
19
20all: $(PCILIB)
21
22$(PCILIB): $(OBJS)
23 $(AR) rc $@ $(OBJS)
24
25%.o: %.c $(INCL)
26 $(CC) $(CFLAGS) -c $< -o $@
27
28clean:
29 -rm *.o libpci.a
Note: See TracBrowser for help on using the repository browser.