# Autogenerated by SCAM 0.7.0


scam-all: scam-all-subdirs scam-all-local
prefix=/usr/


#
# Now user added rules (maybe modified by scams)
#

UIC=/usr/share/qt4/bin/uic
NAME=librework
PACKAGE=librework-erp
CC=g++
CXXFLAGS=-I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include/QtGui -I/usr/share/qt4/include -DQT_THREAD_SUPPORT -I. -Dicon_dir=\"$(prefix)/share/apps/tpvtux/icons\" -Dhelp_dir=\"$(prefix)/share/apps/tpvtux/help\" -Dconf_dir=\"$(prefix)/share/apps/tpvtux/\" -Dtemplate_dir=\"$(prefix)/share/apps/tpvtux/template/\" -D__KDE__ -O2 -fPIC -DQT3_SUPPORT
CXX=g++
VERSION=3.0
LDFLAGS=-L/usr/lib/x86_64-linux-gnu -lQtSql
SCAM_CHECK_DEPENDS=yes
MOC=/usr/share/qt4/bin/moc
FULLNAME=librework-3.0

%.so:
	rm -f $@
	gcc -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS)


%.qm: %.ts
	lrelease $<


%.ts: remake-tsfiles
	lupdate `find .. -name "*.cpp"` -ts $@


remake-tsfiles: 
	touch $@

TS_INSTALLDIR=share/apps/tpvtux/ts

TS: tpvtux_ca.qm tpvtux_de.qm tpvtux_es.qm tpvtux_eu.qm tpvtux_fr.qm tpvtux_it.qm tpvtux_pt_BR.qm tpvtux_pt_PT.qm

tpvtux_ca.qm: tpvtux_ca.ts

tpvtux_de.qm: tpvtux_de.ts

tpvtux_es.qm: tpvtux_es.ts

tpvtux_eu.qm: tpvtux_eu.ts

tpvtux_fr.qm: tpvtux_fr.ts

tpvtux_it.qm: tpvtux_it.ts

tpvtux_pt_BR.qm: tpvtux_pt_BR.ts

tpvtux_pt_PT.qm: tpvtux_pt_PT.ts

.depends: 
	touch .depends

include .depends

# Additional tagets by scam:
DISTBASE=../.././librework-3.0/./src/ts


dist: 
	rm -rf $(DISTBASE) || true
	mkdir -p $(DISTBASE)
	cp Makefile.scam $(DISTBASE)


dist2: 
	rm -rf $(DISTBASE) || true
	mkdir -p $(DISTBASE)
	cp Makefile.scam $(DISTBASE)


scam-all-local: TS

scam-all-subdirs: 

distclean: clean
	@rm -f Makefile
	@rm -f *.pyc


clean: 
	@rm -rf remake-tsfiles
	@rm -rf remake-tsfiles
	@rm -rf remake-tsfiles
	@rm -rf .depends
	@rm -rf *~
	@rm -rf *.o


install: tpvtux_ca.qm tpvtux_de.qm tpvtux_es.qm tpvtux_eu.qm tpvtux_fr.qm tpvtux_it.qm tpvtux_pt_BR.qm tpvtux_pt_PT.qm
	mkdir -p $(prefix)/$(TS_INSTALLDIR)
	install tpvtux_ca.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_ca.qm
	install tpvtux_de.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_de.qm
	install tpvtux_es.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_es.qm
	install tpvtux_eu.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_eu.qm
	install tpvtux_fr.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_fr.qm
	install tpvtux_it.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_it.qm
	install tpvtux_pt_BR.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_pt_BR.qm
	install tpvtux_pt_PT.qm $(prefix)/$(TS_INSTALLDIR)/tpvtux_pt_PT.qm


uninstall: 
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_ca.qm
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_de.qm
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_es.qm
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_eu.qm
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_fr.qm
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_it.qm
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_pt_BR.qm
	rm -f $(prefix)/$(TS_INSTALLDIR)/tpvtux_pt_PT.qm

