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:
skarg
2016-11-21 14:55:43 +00:00
parent e21553e674
commit 7b2b8feb3a
+1 -8
View File
@@ -56,19 +56,12 @@ endif
endif
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
# (see http://www.gnu.org/software/automake/manual/make/Special-Targets.html)
.EXPORT_ALL_VARIABLES:
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:
$(MAKE) -s -C lib all