|
|
|
@ -51,17 +51,20 @@ else
@@ -51,17 +51,20 @@ else
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
ifneq (, $(findstring darwin, $(SYS))) |
|
|
|
|
DAEMON_SRC += $(DAEMON_SRC_DIR)/DaemonUnix.cpp |
|
|
|
|
ifeq ($(HOMEBREW),1) |
|
|
|
|
include Makefile.homebrew |
|
|
|
|
else |
|
|
|
|
include Makefile.osx |
|
|
|
|
endif |
|
|
|
|
else ifneq (, $(findstring linux, $(SYS))$(findstring gnu, $(SYS))) |
|
|
|
|
DAEMON_SRC += $(DAEMON_SRC_DIR)/DaemonUnix.cpp |
|
|
|
|
include Makefile.linux |
|
|
|
|
else ifneq (, $(findstring freebsd, $(SYS))$(findstring openbsd, $(SYS))) |
|
|
|
|
DAEMON_SRC += $(DAEMON_SRC_DIR)/DaemonUnix.cpp |
|
|
|
|
include Makefile.bsd |
|
|
|
|
else ifneq (, $(findstring mingw, $(SYS))$(findstring windows-gnu, $(SYS))$(findstring cygwin, $(SYS))) |
|
|
|
|
DAEMON_SRC += Win32/Win32App.cpp Win32/Win32Service.cpp Win32/Win32NetState.cpp |
|
|
|
|
DAEMON_SRC += $(DAEMON_SRC_DIR)/DaemonWin32.cpp Win32/Win32App.cpp Win32/Win32Service.cpp Win32/Win32NetState.cpp |
|
|
|
|
include Makefile.mingw |
|
|
|
|
else # not supported
|
|
|
|
|
$(error Not supported platform) |
|
|
|
|