##
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements.  See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License.  You may obtain a copy of the License at
##
##      http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
##

ACLOCAL_AMFLAGS =-I m4

if COND_THIN_CLIENT
  MAYBE_THIN_CLIENT = thin-client
  MAYBE_NETWORK = network
endif

if COND_ODBC
  MAYBE_ODBC = odbc
  MAYBE_NETWORK = network
endif

if COND_CORE
  MAYBE_CORE = core
  MAYBE_JNI = jni
endif

if COND_NODE
  MAYBE_CORE = core
  MAYBE_JNI = jni
  MAYBE_NODE = ignite
endif

SUBDIRS = \
    common \
    binary \
    $(MAYBE_NETWORK) \
    $(MAYBE_JNI) \
    $(MAYBE_ODBC) \
    $(MAYBE_CORE) \
    $(MAYBE_THIN_CLIENT) \
    $(MAYBE_NODE)

DIST_SUBDIRS = \
    common \
    binary \
    network \
    jni \
    odbc \
    core \
    thin-client \
    ignite
