📄 makefile
字号:
# Makefile for Quicknet Linux Drivers # Version 0.3.4 12/20/99## This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version# 2 of the License, or (at your option) any later version.# # Authors: Greg Herlein <gherlein@quicknet.net># Ed Okerson <eokerson@quicknet.net> #VER:=$(shell uname -r)## Comment/uncomment the following line to enable/disable debugging#DEBUG = y## Change it here or specify it on the "make" commandlineINCLUDEDIR = /usr/include#ifeq ($(DEBUG),y) DEBFLAGS = -O -g -DIXJ_DEBUGelse DEBFLAGS = -O2endif#CFLAGS = -D__KERNEL__ -DMODULE -Wall $(DEBFLAGS) -I$(INCLUDEDIR)#all: ixj-pnp# @echo -e "\n\nChoose either \"make ixj-pnp\" (for isapnp support) \nor \"make ixj-manual (manual card configuration required)\neither will install the modules after they are built\n\n"headers-install: install -c telephony.h /usr/src/linux/include/linux/ install -c ixjuser.h /usr/src/linux/include/linux/# ixj-pnp: headers-install phonedev.o isapnp ixj-w-isapnp isapnp installixj-pnp: phonedev.o isapnp ixj-w-isapnp isapnp installixj-manual: headers-install phonedev.o ixj-wo-isapnp installixj-w-isapnp : ixj.c ixj.h ixjuser.h ${CC} ${CFLAGS} -o ixj.o -c ixj.c -DCONFIG_ISAPNPixj-wo-isapnp : ixj.c ixj.h ixjuser.h ${CC} ${CFLAGS} -o ixj.o -c ixj.c phonedev.o: phonedev.c phonedev.h ${CC} ${CFLAGS} -DEXPORT_SYMTAB -o $@ -c phonedev.cisapnp : isapnp/isapnp.o ( cd isapnp ; ${MAKE} ; ${MAKE} install )install: (./phone_dev_create) mkdir -p /lib/modules/$(VER)/misc /lib/modules/misc install -c ixj.o /lib/modules/$(VER)/misc install -c phonedev.o /lib/modules/$(VER)/misc depmod -avclean: rm -f *.o *~ core
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -