1
0
This repository has been archived on 2024-07-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-07-22 01:58:46 -03:00

49 lines
906 B
Makefile
Executable File

#CROSS=mips-linux-
#CC=$(CROSS)gcc
AR=$(CROSS)ar
LD=$(CROSS)ld
STRIP=$(CROSS)strip
RANLIB=$(CROSS)ranlib
SIZE=$(CROSS)size
LIBDIR=$(CROSS_PATH)/lib
INCLUDE = -I$(KERNEL_DIR)/include
#CFLAGS= -mips1 -msoft-float -DETHCMD_DBG -DETHCMD_EXTENSION
#CFLAGS= -mips1 -msoft-float
ifneq ($(strip $(TCSUPPORT_CODE_SHRINK)),)
CFLAGS += -Os -DDBG
else
CFLAGS += -DDBG
endif
# If you want to support multiple radius server for multiple bssid, add following line,
#should modify later
CFLAGS += -DMULTIPLE_RADIUS
ifneq ($(TC_CFLAGS), )
CFLAGS+=$(TC_CFLAGS)
endif
ifeq ($(RT_8021X_EXT),1)
CFLAGS+= -DRT_8021X_EXT
endif
OBJS = rtdot1x.o eloop.o eapol_sm.o radius.o md5.o \
config.o ieee802_1x.o \
sta_info.o radius_client.o
EXECS= rtdot1xd
all: rtdot1xd
.c.o:
$(CC) -c $(CFLAGS) $<
rtdot1xd: $(OBJS)
$(CC) $(OBJS) -o $@
$(STRIP) --strip-unneeded $(EXECS)
clean:
rm -f *.o *.a $(EXECS)