mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-28 01:47:18 +01:00
- New input daemon option, 'service_name' to easily configure micro-service - service_name used with 'dm_' prefix in process name - service_name with 'dm_' prefix and '_inst' suffix for forked instance updater - Unified signal handler for micro-service and main process - Cli argument '-m' overloaded to support module name in place of plugin path - Test alignments and improvements
20 lines
463 B
Makefile
20 lines
463 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/plugins/
|
|
cp -f *.json /usr/share/bbfdm/plugins
|
|
|
|
clean:
|
|
rm -fv *.o $(LIB)
|