# 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)

CXXFLAGS+=-I../../common -I../../backoffice/tuxreports/viewer
CXXFLAGS+=-I../../backoffice/tuxreports/ -I../../backoffice/documentos/
CXXFLAGS+=-I../common -I../../backoffice/almacen
CXXFLAGS+=-I../../backoffice/mesas -I../../backoffice/empresas/

.depends: 
	touch .depends

include .depends

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


dist: 
	rm -rf $(DISTBASE) || true
	mkdir -p $(DISTBASE)
	cp Makefile.scam $(DISTBASE)
	(cd bares && make dist)
	(cd common && make dist)
	(cd pagoremoto && make dist)
	(cd peluqueria && make dist)
	(cd supermercado && make dist)
	(cd ropa && make dist)
	(cd taller && make dist)
	(cd telefonia && make dist)
	(cd plan && make dist)


dist2: 
	rm -rf $(DISTBASE) || true
	mkdir -p $(DISTBASE)
	cp Makefile.scam $(DISTBASE)
	(cd bares && make dist)
	(cd common && make dist)
	(cd pagoremoto && make dist)
	(cd peluqueria && make dist)
	(cd supermercado && make dist)
	(cd ropa && make dist)
	(cd taller && make dist)
	(cd telefonia && make dist)
	(cd plan && make dist)


scam-all-local: 

scam-all-subdirs: 
	(cd bares && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd common && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd pagoremoto && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd peluqueria && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd supermercado && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd ropa && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd taller && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd telefonia && ( $(MAKE) .depends || true ) && $(MAKE) )
	(cd plan && ( $(MAKE) .depends || true ) && $(MAKE) )


distclean: clean
	@rm -f Makefile
	@rm -f *.pyc
	@(cd bares && $(MAKE) distclean)

	@(cd common && $(MAKE) distclean)

	@(cd pagoremoto && $(MAKE) distclean)

	@(cd peluqueria && $(MAKE) distclean)

	@(cd supermercado && $(MAKE) distclean)

	@(cd ropa && $(MAKE) distclean)

	@(cd taller && $(MAKE) distclean)

	@(cd telefonia && $(MAKE) distclean)

	@(cd plan && $(MAKE) distclean)



clean: 
	@rm -rf .depends
	@rm -rf *~
	@rm -rf *.o
	@(cd bares && touch .depends && $(MAKE) clean)
	@(cd common && touch .depends && $(MAKE) clean)
	@(cd pagoremoto && touch .depends && $(MAKE) clean)
	@(cd peluqueria && touch .depends && $(MAKE) clean)
	@(cd supermercado && touch .depends && $(MAKE) clean)
	@(cd ropa && touch .depends && $(MAKE) clean)
	@(cd taller && touch .depends && $(MAKE) clean)
	@(cd telefonia && touch .depends && $(MAKE) clean)
	@(cd plan && touch .depends && $(MAKE) clean)


install: 
	@(cd bares && $(MAKE) install)
	@(cd common && $(MAKE) install)
	@(cd pagoremoto && $(MAKE) install)
	@(cd peluqueria && $(MAKE) install)
	@(cd supermercado && $(MAKE) install)
	@(cd ropa && $(MAKE) install)
	@(cd taller && $(MAKE) install)
	@(cd telefonia && $(MAKE) install)
	@(cd plan && $(MAKE) install)


uninstall: 
	@(cd bares && $(MAKE) uninstall)
	@(cd common && $(MAKE) uninstall)
	@(cd pagoremoto && $(MAKE) uninstall)
	@(cd peluqueria && $(MAKE) uninstall)
	@(cd supermercado && $(MAKE) uninstall)
	@(cd ropa && $(MAKE) uninstall)
	@(cd taller && $(MAKE) uninstall)
	@(cd telefonia && $(MAKE) uninstall)
	@(cd plan && $(MAKE) uninstall)

