Subversion Repositories HelenOS

Rev

Rev 4155 | Rev 4243 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4155 Rev 4166
Line 24... Line 24...
24
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
#
27
#
28
 
28
 
29
include ../../Makefile.config
29
include ../../../Makefile.config
30
 
30
 
31
DIRS = \
31
DIRS = \
32
	netif/lo \
32
	netif/lo \
33
	netif/dp8390 \
33
	netif/dp8390 \
34
	networking \
34
	networking \
Line 43... Line 43...
43
#		tl/udp \
43
#		tl/udp \
44
#		socket
44
#		socket
45
 
45
 
46
DIRS_ALL = $(DIRS) $(DIRS_MODULAR)
46
DIRS_ALL = $(DIRS) $(DIRS_MODULAR)
47
 
47
 
48
ifndef ($(NETWORKING))
-
 
49
	NETWORKING = modular
-
 
50
endif
-
 
51
 
-
 
52
ifeq ($(NETWORKING), modular)
48
ifeq ($(NETWORKING), module)
53
	BUILDS := $(addsuffix .build,$(DIRS_ALL))
-
 
54
else
-
 
55
	BUILDS := $(addsuffix .build,$(DIRS))
49
	BUILDS := $(addsuffix .build,$(DIRS))
-
 
50
else
-
 
51
	BUILDS := $(addsuffix .build,$(DIRS_ALL))
56
endif
52
endif
57
 
53
 
58
CLEANS := $(addsuffix .clean,$(DIRS_ALL))
54
CLEANS := $(addsuffix .clean,$(DIRS_ALL))
59
 
55
 
60
.PHONY: all build $(BUILDS) $(CLEANS) clean distclean
56
.PHONY: all build $(BUILDS) $(CLEANS) clean distclean