SHELL = @SHELL@

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
includedir = @includedir@
libdir = @libdir@
libexecdir = @libexecdir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
mandir = @mandir@
datarootdir = @datarootdir@
localstatedir = @localstatedir@

CC = @CC@
CFLAGS = @CFLAGS@ @CPPFLAGS@
DEFS = @defs@
INCDIR = -I. -I.. -I../.. -I../../src -I../src @INCDIR@ @mysql_includes@
LIBDIR = -L. @LIBDIR@ @LDFLAGS@ -L../src -L../../src
LIBS = @LIBS@ @mysql_libs@
RUNNING_USER = @RUNNING_USER@
RUNNING_GROUP = `@id_bin@ -gn $(RUNNING_USER)`
OBJS = 

INSTALL = @INSTALL@

all:

install:
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/Zend
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/bootstrap
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/controller
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/google-api
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/images
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/language
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/model
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/securimage
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/system
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/view
	$(INSTALL) -d -m 0755 $(DESTDIR)$(localstatedir)/piler/www/tmp
	$(INSTALL) $(srcdir)/.htaccess $(DESTDIR)$(localstatedir)/piler/www
	$(INSTALL) $(srcdir)/config.php $(DESTDIR)$(localstatedir)/piler/www
	$(INSTALL) $(srcdir)/index.php $(DESTDIR)$(localstatedir)/piler/www
	$(INSTALL) $(srcdir)/js.php $(DESTDIR)$(localstatedir)/piler/www
	$(INSTALL) $(srcdir)/qr.php $(DESTDIR)$(localstatedir)/piler/www
	$(INSTALL) $(srcdir)/ok.txt $(DESTDIR)$(localstatedir)/piler/www
	$(INSTALL) $(srcdir)/sso.php $(DESTDIR)$(localstatedir)/piler/www
	cp -R $(srcdir)/Zend/* $(DESTDIR)$(localstatedir)/piler/www/Zend
	cp -R $(srcdir)/bootstrap/* $(DESTDIR)$(localstatedir)/piler/www/bootstrap
	cp -R $(srcdir)/controller/* $(DESTDIR)$(localstatedir)/piler/www/controller
	cp -R $(srcdir)/google-api/* $(DESTDIR)$(localstatedir)/piler/www/google-api
	cp -R $(srcdir)/language/* $(DESTDIR)$(localstatedir)/piler/www/language
	cp -R $(srcdir)/model/* $(DESTDIR)$(localstatedir)/piler/www/model
	cp -R $(srcdir)/securimage/* $(DESTDIR)$(localstatedir)/piler/www/securimage
	cp -R $(srcdir)/system/* $(DESTDIR)$(localstatedir)/piler/www/system
	cp -R $(srcdir)/view/* $(DESTDIR)$(localstatedir)/piler/www/view
	cp -R $(srcdir)/tmp/* $(DESTDIR)$(localstatedir)/piler/www/tmp

clean:

distclean: clean
	rm -f Makefile
