summaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd/common.make
blob: 0c37247f0f3bc303c255167fcb829d3385d7fc74 (plain)
1
2
3
4
5
6
7
8
9
10
11
# file      : examples/build/xsd/common.make
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2006-2011 Code Synthesis Tools CC
# license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

XSD := $(shell if test -x $(root)/../bin/xsd; \
               then echo $(root)/../bin/xsd; \
               else echo xsd; fi)

override CPPFLAGS += $(shell if test -d $(root)/../libxsd; \
                             then echo -I$(root)/../libxsd; fi)