Work on mods.
FossilOrigin-Name: 2933314d1c705fae5022e022409b5f77a878656baead522ceb629b7f648c8307
This commit is contained in:
@ -1,32 +1,8 @@
|
||||
include ../../Macros.mak
|
||||
include ../../Config.mak
|
||||
|
||||
OBJS=\
|
||||
mod_cipwap_ac.o
|
||||
|
||||
OBJS:=$(patsubst %.o,$(ARCH)/%.o,$(OBJS))
|
||||
|
||||
|
||||
CFLAGS = -Wall -g -O0 -D_REENTRANT -DWITH_IPV6 -DWITH_RMAC_SUPPORT -I ../../ -I../
|
||||
|
||||
|
||||
NAME=libcipwap.a
|
||||
LIBDIR=../../lib/$(ARCH)
|
||||
|
||||
SRCS = $(OBJS:.o=.c)
|
||||
include ../Mod.mak
|
||||
|
||||
$(ARCH)/%.o:%.c
|
||||
@mkdir -p $(ARCH)
|
||||
@echo " CC "$<
|
||||
@$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
$(LIBDIR)/$(NAME) : $(OBJS) $(MODOBJS)
|
||||
@mkdir -p $(LIBDIR)
|
||||
@echo " AR $(LIBDIR)/$(NAME)"
|
||||
@$(AR) rcs $(LIBDIR)/$(NAME) $(OBJS) $(MODOBJS)
|
||||
|
||||
|
||||
all: $(LIBDIR)/$(NAME)
|
||||
|
||||
clean:
|
||||
rm -rf $(ARCH)
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
#include "mod.h"
|
||||
#include "capwap/mod.h"
|
||||
#include "capwap/log.h"
|
||||
|
||||
#include "mod_cipwap.h"
|
||||
|
Reference in New Issue
Block a user