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