diff --git a/src/mod/Makefile b/src/mod/Makefile index 6c9cdcb6..6680a2e0 100644 --- a/src/mod/Makefile +++ b/src/mod/Makefile @@ -13,10 +13,12 @@ install: $(foreach dir, $(PROJECTS), $(MAKE) -C $(dir) modules_install;) /sbin/depmod +distclean maintainer-clean: clean + # This target is needed to generate the upstream tarball. # It's not a standard Kbuild target. distdir: mkdir -p ${distdir} cp -r * ${distdir} -.PHONY: $(PROJECTS) $(OTHER_TARGETS) install dist +.PHONY: $(PROJECTS) $(OTHER_TARGETS) install dist distclean maintainer-clean diff --git a/src/usr/iptables/Makefile b/src/usr/iptables/Makefile index d40534d2..c2b28f09 100644 --- a/src/usr/iptables/Makefile +++ b/src/usr/iptables/Makefile @@ -37,7 +37,7 @@ lib%.so: lib%.o ${CC} -shared -fPIC ${LDFLAGS} -o $@ $^; lib%.o: lib%.c ${CC} ${DEFAULT_CFLAGS} ${CPPFLAGS} ${CFLAGS} -D_INIT=lib$*_init -fPIC -c -o $@ $<; -clean distclean: +clean distclean maintainer-clean: rm -f *.so distdir: mkdir -p ${distdir}