aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd/common.make
blob: d82cbfb7c5f9e78a8d826dbf7a2f3f2ffc2e0f17 (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-2010 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)