Skip to content
Snippets Groups Projects
Commit bafc72c6 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now works fully with FreeBSD make.

Rev: src/modules/Makefile.in:1.24
parent abfe51bd
Branches
Tags
No related merge requests found
# $Id: Makefile.in,v 1.23 1998/08/08 12:15:24 grubba Exp $
# $Id: Makefile.in,v 1.24 1998/08/08 20:09:19 grubba Exp $
@SET_MAKE@
......@@ -15,15 +15,19 @@ MAKE_FLAGS = "prefix=$(prefix)" "exec_prefix=$(exec_prefix)" "CC=$(CC)" "OTHERFL
all: linker_options modlist.h modlist_headers.h
modules: $(MODULES)
$(MODULE_SEGMENTS) $(MODULE_LINKOPTS): modules
force:
$(MODULES) : force
@echo Making $@
@( cd $@ ; rm remake >/dev/null 2>&1 || : ; $(MAKE) $(MAKE_FLAGS) MODNAME=$@ || ( test -f remake && $(MAKE) $(MAKE_FLAGS) MODNAME=$@ ) ) || exit $$?
modules: force
@for a in $(MODULES) ; do \
echo Making $$a; \
( cd $$a; \
rm remake >/dev/null 2>&1 || : ; \
$(MAKE) $(MAKE_FLAGS) MODNAME=$$a || \
( test -f remake && $(MAKE) $(MAKE_FLAGS) MODNAME=$$a ) \
) || exit $$?; \
done
modlist.h: $(MODULE_SEGMENTS)
( for a in $(MODULES) ; do cat $$a/modlist_segment ; done ; ) >modlist.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment