From 58d97b5e271bc0d7507eab5b9bd2902181864e02 Mon Sep 17 00:00:00 2001 From: "Daniel F. Dickinson" Date: Fri, 3 Aug 2018 12:36:51 -0400 Subject: modules: Split luci-mod-full Move some common elements to luci-base, and otherwise make three packages out of status, system, and network. They were mostly separated already, but there were some shared elements between status and network that are now in luci-base. Signed-off-by: Daniel F. Dickinson --- modules/luci-mod-status/src/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/luci-mod-status/src/Makefile (limited to 'modules/luci-mod-status/src/Makefile') diff --git a/modules/luci-mod-status/src/Makefile b/modules/luci-mod-status/src/Makefile new file mode 100644 index 0000000000..d6ed8c6e46 --- /dev/null +++ b/modules/luci-mod-status/src/Makefile @@ -0,0 +1,14 @@ +%.o: %.c + $(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -c -o $@ $< + +clean: + rm -f luci-bwc *.o + +luci-bwc: luci-bwc.o + $(CC) $(LDFLAGS) -o $@ $^ -ldl + +compile: luci-bwc + +install: compile + mkdir -p $(DESTDIR)/usr/bin + cp luci-bwc $(DESTDIR)/usr/bin/luci-bwc -- cgit v1.2.3