Makefile revision ae37c3585f6f14475ef449773165c153d4f9ea38
#
# The contents of this file are subject to the terms of the Common Development and
# Distribution License (the License). You may not use this file except in compliance with the
# License.
#
# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
# specific language governing permission and limitations under the License.
#
# When distributing Covered Software, include this CDDL Header Notice in each file and include
# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
# Header, with the fields enclosed by brackets [] replaced by your own identifying
# information: "Portions copyright [year] [name of copyright owner]".
#
# Copyright 2014 - 2015 ForgeRock AS.
#
# make options:
# 64=1 builds 64bit binary
# DEBUG=1 builds debug binary version
64=1
DEBUG=1
CD := cd
EXEC :=
BUILD_MACHINE := $(shell hostname)
PATHSEP=\\
SUB=/
else
ECHO := echo
CD := cd
EXEC := ./
BUILD_MACHINE := $(shell hostname)
PATHSEP=/
SUB=%
COMPILEOPTS=-c -o $@
OBJ=o
ifdef 64
else
OS_BITS :=
CFLAGS := $(COMPILEFLAG)I.$(PS)source $(COMPILEFLAG)I.$(PS)zlib $(COMPILEFLAG)I.$(PS)expat $(COMPILEFLAG)I.$(PS)pcre \
SOURCES := $(filter-out $(ADMIN_SOURCES), $(wildcard source/*.c)) $(wildcard expat/*.c) $(wildcard pcre/*.c) $(wildcard zlib/*.c)
$(APACHE_OUT_OBJS): CFLAGS += $(COMPILEFLAG)Iextlib/$(OS_ARCH)/apache24/include $(COMPILEFLAG)Iextlib/$(OS_ARCH)_$(OS_MARCH)/apache24/include -DAPACHE2 -DAPACHE24
.DEFAULT_GOAL := all
build: $(OBJDIR)$(PS)expat $(OBJDIR)$(PS)pcre $(OBJDIR)$(PS)zlib $(OBJDIR)$(PS)source$(PS)apache $(OBJDIR)$(PS)source$(PS)iis $(OBJDIR)$(PS)source$(PS)varnish $(OBJDIR)$(PS)source$(PS)tests $(OBJECTS)
@$(ECHO) "[***** Building Apache agent archive *****]"
iiszip: clean build iis $(OBJDIR)$(PS)agentadmin $(OBJDIR)$(PS)mod_iis_openam.dll $(OBJDIR)$(PS)mod_iis_openam.pdb
@$(ECHO) "[***** Building IIS agent archive *****]"
####################################################################################
# This section generated by make_dependencies.sh
####################################################################################
#
source$(PS)admin.$(OBJ): source$(PS)version.h source$(PS)list.h source$(PS)net_client.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)cache.$(OBJ): source$(PS)list.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)config.$(OBJ): source$(PS)list.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)log.$(OBJ): source$(PS)version.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)net_client.$(OBJ): source$(PS)net_client.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)net_client_ssl.$(OBJ): source$(PS)net_client.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)net_ops.$(OBJ): source$(PS)list.h source$(PS)net_client.h source$(PS)utility.h source$(PS)version.h source$(PS)am.h source$(PS)platform.h
source$(PS)policy_xml.$(OBJ): source$(PS)list.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)process.$(OBJ): source$(PS)list.h source$(PS)thread.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)session_saml.$(OBJ): source$(PS)list.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)session_xml.$(OBJ): source$(PS)list.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)shared.$(OBJ): source$(PS)list.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)thread.$(OBJ): source$(PS)thread.h source$(PS)version.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)utility.$(OBJ): source$(PS)thread.h source$(PS)list.h source$(PS)error.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
source$(PS)worker.$(OBJ): source$(PS)list.h source$(PS)utility.h source$(PS)am.h source$(PS)platform.h
#
####################################################################################
# End of section generated by make_dependencies.sh
####################################################################################