Do not make router by default on Linux since it relies on libconfig and that is not installed by default and the make fails.
This commit is contained in:
@@ -56,19 +56,12 @@ endif
|
|||||||
endif
|
endif
|
||||||
CFLAGS = $(WARNINGS) $(DEBUGGING) $(OPTIMIZATION) $(STANDARDS) $(INCLUDES) $(DEFINES)
|
CFLAGS = $(WARNINGS) $(DEBUGGING) $(OPTIMIZATION) $(STANDARDS) $(INCLUDES) $(DEFINES)
|
||||||
|
|
||||||
DEMO_LINUX =
|
|
||||||
ifeq (${BACNET_PORT},linux)
|
|
||||||
ifneq (${OSTYPE},cygwin)
|
|
||||||
DEMO_LINUX=router
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Export the variables defined here to all subprocesses
|
# Export the variables defined here to all subprocesses
|
||||||
# (see http://www.gnu.org/software/automake/manual/make/Special-Targets.html)
|
# (see http://www.gnu.org/software/automake/manual/make/Special-Targets.html)
|
||||||
.EXPORT_ALL_VARIABLES:
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
|
||||||
all: library demos gateway router-ipv6 ${DEMO_LINUX}
|
all: library demos gateway router-ipv6 ${DEMO_LINUX}
|
||||||
.PHONY : all library demos router gateway router-ipv6 ${DEMO_LINUX} clean
|
.PHONY : all library demos router gateway router-ipv6 clean
|
||||||
|
|
||||||
library:
|
library:
|
||||||
$(MAKE) -s -C lib all
|
$(MAKE) -s -C lib all
|
||||||
|
|||||||
Reference in New Issue
Block a user