Work on mods.

FossilOrigin-Name: 2933314d1c705fae5022e022409b5f77a878656baead522ceb629b7f648c8307
This commit is contained in:
7u83@mail.ru
2016-02-27 04:35:25 +00:00
parent 8f325f2f6f
commit a704463acf
11 changed files with 35 additions and 68 deletions

View File

@ -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)

View File

@ -1,5 +1,5 @@
#include "mod.h"
#include "capwap/mod.h"
#include "capwap/log.h"
#include "mod_cipwap.h"