mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-27 17:37:17 +01:00
* All core Data Model move to core micro-service * New bbfdmd daemon to use async call to optimize RPCs handling
20 lines
488 B
Makefile
20 lines
488 B
Makefile
LIB = libbbfdm_test_ext.so
|
|
|
|
LIB_OBJS = device.o deviceinfo.o extension.o firewall.o x_test_com_dropbear.o
|
|
LIB_CFLAGS = $(CFLAGS) -Wall -Werror -fPIC -I /usr/local/include/
|
|
LIB_LDFLAGS = $(LDFLAGS) -lbbfdm-api
|
|
|
|
%.o: %.c
|
|
$(CC) $(LIB_CFLAGS) $(FPIC) -c -o $@ $<
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(LIB_OBJS)
|
|
$(CC) $(LIB_CFLAGS) $(LIB_LDFLAGS) -shared -o $@ $^
|
|
|
|
install:
|
|
cp -f $(LIB) /usr/share/bbfdm/micro_services/core/
|
|
cp -f *.json /usr/share/bbfdm/micro_services/core/
|
|
|
|
clean:
|
|
rm -fv *.o $(LIB)
|