net: add MPLS header structure
[dpdk.git] / mk / rte.gnuconfigure.mk
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 include $(RTE_SDK)/mk/internal/rte.build-pre.mk
5 include $(RTE_SDK)/mk/internal/rte.install-pre.mk
6 include $(RTE_SDK)/mk/internal/rte.clean-pre.mk
7
8 # VPATH contains at least SRCDIR
9 VPATH += $(SRCDIR)
10 _BUILD = configure
11 _INSTALL = $(INSTALL-FILES-y) $(SYMLINK-FILES-y)
12 _CLEAN = doclean
13
14 .PHONY: all
15 all: install
16
17 .PHONY: install
18 install: build _postinstall
19
20 _postinstall: build
21
22 .PHONY: build
23 build: _postbuild
24
25 configure:
26         $(Q)cd $(CONFIGURE_PATH) ; \
27         ./configure --prefix $(CONFIGURE_PREFIX) $(CONFIGURE_ARGS) ; \
28         make ; \
29         make install
30
31 .PHONY: clean
32 clean: _postclean
33
34 .PHONY: doclean
35 doclean:
36         $(Q)cd $(CONFIGURE_PATH) ; make clean
37         $(Q)rm -f $(_INSTALL_TARGETS) $(_CLEAN_TARGETS)
38
39 include $(RTE_SDK)/mk/internal/rte.build-post.mk
40 include $(RTE_SDK)/mk/internal/rte.install-post.mk
41 include $(RTE_SDK)/mk/internal/rte.clean-post.mk
42
43 .PHONY: FORCE
44 FORCE: