# This Makefile automaticly generated by /disk2/local2/src/xmlwrapp-0.5.0/tools/mkmf
# File created on: Thu Sep  8 13:35:05 2005
# DO NOT EDIT THIS FILE!


all:
	@(cd src; ${MAKE})
	@(cd examples; ${MAKE})

clean: 
	@(cd src; ${MAKE} clean)
	@(cd examples; ${MAKE} clean)

realclean:
	@(cd src; ${MAKE} realclean)
	@(cd examples; ${MAKE} realclean)
	rm -f Makefile

test:
	@(cd src; ${MAKE} test)
	@(cd examples; ${MAKE} test)

install: all
	mkdir -p /usr/local/bin
	mkdir -p /usr/local/include
	mkdir -p /usr/local/lib
	mkdir -p /usr/local/lib/pkgconfig
	cp xmlwrapp-config /usr/local/bin/xmlwrapp-config
	chmod 755 /usr/local/bin/xmlwrapp-config
	cp xmlwrapp.pc /usr/local/lib/pkgconfig/xmlwrapp.pc
	chmod 644 /usr/local/lib/pkgconfig/xmlwrapp.pc
	mkdir -p /usr/local/include/xmlwrapp
	cp -r include/xmlwrapp/* /usr/local/include/xmlwrapp
	find /usr/local/include/xmlwrapp -type d | xargs chmod 755
	find /usr/local/include/xmlwrapp -type f | xargs chmod 644
	mkdir -p /usr/local/include/xsltwrapp
	cp -r include/xsltwrapp/* /usr/local/include/xsltwrapp
	find /usr/local/include/xsltwrapp -type d | xargs chmod 755
	find /usr/local/include/xsltwrapp -type f | xargs chmod 644
	cp src/libxml/libxmlwrapp.a /usr/local/lib/libxmlwrapp.a
	chmod 755 /usr/local/lib/libxmlwrapp.a
	cp src/libxslt/libxsltwrapp.a /usr/local/lib/libxsltwrapp.a
	chmod 755 /usr/local/lib/libxsltwrapp.a
	cp src/libxml/libxmlwrapp.so /usr/local/lib/libxmlwrapp.so.5
	chmod 755 /usr/local/lib/libxmlwrapp.so.5
	rm -f /usr/local/lib/libxmlwrapp.so
	(cd /usr/local/lib; ln -s libxmlwrapp.so.5 libxmlwrapp.so)
	cp src/libxslt/libxsltwrapp.so /usr/local/lib/libxsltwrapp.so.2
	chmod 755 /usr/local/lib/libxsltwrapp.so.2
	rm -f /usr/local/lib/libxsltwrapp.so
	(cd /usr/local/lib; ln -s libxsltwrapp.so.2 libxsltwrapp.so)

