Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > fc62b1a09d3a2a2032c7fe6d982e91e3 > files > 338

xsd-3.3.0-2.fc14.i686.rpm

root := ../../..

include $(root)/build/cxx/rules.make
include $(root)/build/xsd/tree-rules.make


override XSDFLAGS += --generate-ostream --generate-serialization

override LIBS += -lz

# Build.
#
driver: driver.o library.o compressed-format-target.o compressed-input-source.o

library.o: library.cxx library.hxx
driver.o: driver.cxx library.hxx compressed-format-target.hxx \
compressed-input-source.hxx
compressed-format-target.o: compressed-format-target.cxx
compressed-input-source.o: compressed-input-source.cxx

library.cxx library.hxx: library.xsd


# Test
#
.PHONY: test
test: driver library.xml.gz
	./driver library.xml.gz


# Clean.
#
.PHONY: clean
clean:
	rm -f library.o library.?xx driver.o compressed-format-target.o \
compressed-input-source.o driver out.xml.gz