#! gmake ## AbiWord ## Copyright (C) 2008 AbiSource Corporation B.V. ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version 2 ## of the License, or (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. # specify here which backends to build BUILD_TCP_BACKEND=1 BUILD_SERVICE_BACKEND=0 # ======================== ifeq ($(BUILD_TCP_BACKEND),1) BACKEND_INCLUDES += -DABICOLLAB_HANDLER_TCP BACKEND_LIBS+= RCFLAGS += -DABICOLLAB_HANDLER_TCP endif ifeq ($(BUILD_SERVICE_BACKEND),1) BACKEND_INCLUDES += -DABICOLLAB_HANDLER_SERVICE $(shell pkg-config --cflags libsoup-2.4) -DSOUP24 -D_WIN32_WINNT=0x0500 BACKEND_LIBS += $(shell pkg-config --libs libsoup-2.4 gnutls) BACKEND_LIBS += -lgcrypt ## for some reason, -lgcrypt does not get added by pkg-config when using gnutls RCFLAGS += -DABICOLLAB_HANDLER_SERVICE endif