📄 makefile
字号:
# Makefile for The PCI Library# (c) 1999--2007 Martin Mares <mj@ucw.cz>include config.mkOBJS=access.o generic.o dump.o names.o filter.oINCL=internal.h pci.h config.h header.h sysdep.h types.hPCILIB=libpci.aPCILIBPC=libpci.pcifdef PCI_HAVE_PM_LINUX_SYSFSOBJS += sysfs.oendififdef PCI_HAVE_PM_LINUX_PROCOBJS += proc.oendififdef PCI_HAVE_PM_INTEL_CONFOBJS += i386-ports.oendififdef PCI_HAVE_PM_DUMPOBJS += dump.oendififdef PCI_HAVE_PM_FBSD_DEVICEOBJS += fbsd-device.oCFLAGS += -I/usr/src/sysifdef FREEBSD_SYSCFLAGS += -I${FREEBSD_SYS}endifendififdef PCI_HAVE_PM_OBSD_DEVICEOBJS += obsd-device.oendififdef PCI_HAVE_PM_AIX_DEVICEOBJS += aix-device.oendififdef PCI_HAVE_PM_NBSD_LIBPCIOBJS += nbsd-libpci.oPCILIB=libpciutils.aendifall: $(PCILIB) $(PCILIBPC)$(PCILIB): $(OBJS) rm -f $@ $(AR) rcs $@ $^ $(RANLIB) $@$(PCILIBPC): $(PCILIBPC).in sed <$< >$@ -e 's,@PREFIX@,$(PREFIX),' \ -e 's,@INCDIR@,$(INCDIR),' \ -e 's,@LIBDIR@,$(LIBDIR),' \ -e 's,@IDSDIR@,$(IDSDIR),' \ -e 's,@VERSION@,$(VERSION),' \ -e 's,@LIBZ@,$(LIBZ),'access.o: access.c $(INCL)i386-ports.o: i386-ports.c $(INCL) i386-io-hurd.h i386-io-linux.h i386-io-sunos.hproc.o: proc.c $(INCL) pread.hsysfs.o: sysfs.c $(INCL) pread.hgeneric.o: generic.c $(INCL)syscalls.o: syscalls.c $(INCL)obsd-device.o: obsd-device.c $(INCL)fbsd-device.o: fbsd-device.c $(INCL)aix-device.o: aix-device.c $(INCL)dump.o: dump.c $(INCL)names.o: names.c $(INCL)filter.o: filter.c $(INCL)nbsd-libpci.o: nbsd-libpci.c $(INCL)example: example.c $(PCILIB)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -