2022-02-17 07:14:30 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
MAKE = make
|
|
|
|
## =()<P = @<P>@>()=
|
|
|
|
P =
|
|
|
|
|
|
|
|
## =()<CC = @<CC>@>()=
|
|
|
|
CC = gcc
|
1995-09-12 03:07:18 +00:00
|
|
|
## =()<DEFS = @<DEFCARDS>@ @<KERNEL>@ -I../../include >()=
|
|
|
|
DEFS = -I../../streams -I../../compat -fomit-frame-pointer -funroll-loops -DKERNEL -D__KERNEL__ -DMODULE -DCONFIG_MODVERSIONS -I../../include
|
2022-02-17 07:14:30 +00:00
|
|
|
## =()<CFLAGS = @<CFLAGS>@ $(DEFS)>()=
|
|
|
|
CFLAGS = -O2 -Wall $(DEFS)
|
|
|
|
## =()<RANLIB = @<RANLIB>@>()=
|
|
|
|
RANLIB = ranlib
|
|
|
|
|
|
|
|
## =()<SYS = @<SYS>@>()=
|
|
|
|
SYS = linux
|
|
|
|
|
|
|
|
SOURCES = arnet.c
|
|
|
|
|
|
|
|
OBJ = arnet.o
|
|
|
|
|
|
|
|
all: $(OBJ)
|
|
|
|
|
|
|
|
install: all
|
|
|
|
@sh ../iftrue.sh "-d $(SYS)" "cd $(SYS); make"
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJ) $(ALL)
|
|
|
|
@sh ../iftrue.sh "-d $(SYS)" "cd $(SYS); make clean"
|
|
|
|
|
|
|
|
indent:
|
|
|
|
../indent.sh $(SOURCES)
|
|
|
|
|
|
|
|
depend: Makefile $(SOURCES)
|
|
|
|
$(CC) -M $(DEFS) $(SOURCES) > .depend
|
|
|
|
|
1995-09-12 03:07:18 +00:00
|
|
|
load:
|
2022-02-17 07:14:30 +00:00
|
|
|
insmod arnet.o
|
|
|
|
|
|
|
|
ifeq (.depend,$(wildcard .depend))
|
|
|
|
include .depend
|
|
|
|
endif
|
|
|
|
|