make_rules
来自「实现vpn网关用来建立 IP虚拟隧道」· 代码 · 共 40 行
TXT
40 行
## Universal TUN/TAP device driver.# Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com>## 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.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## $Id: make_rules,v 1.2 2001/02/02 03:51:35 maxk Exp $#all: moduleinclude $(KDIR)/.configinclude $(KDIR)/arch/$(ARCH)/MakefileCFLAGS := $(CFLAGS) $(DEFS) -O2 -DMODULE -D__KERNEL__ -I$(HPATH) -I. \ -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing ifdef CONFIG_SMPCFLAGS += -D__SMP__endififdef CONFIG_MODVERSIONSCFLAGS += -DMODVERSIONS -include $(HPATH)/linux/modversions.hendifmodule: tun.otun.o: tun.c if_tun.hkernel: module $(INSTALL) -d -m 755 -o root -g root $(MDIR) $(INSTALL) -m 644 -o root -g root tun.o $(MDIR) $(DEPMOD) -a
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?