MAKEFILES = $(wildcard doc/examples/Makefile*)
DAEMONS = src/sc_fetch src/sc_test src/sc_deliver
COMMANDS = src/sc_codegen src/sc_dbq
+CGI = src/sc_suwi
PHPLIBS = $(wildcard src/T/*.php)
PHPDBO = $(wildcard src/T/DBO/*.php)
PHPSCHEMA = $(wildcard src/T/DBO/schema/*.ini)
# Directorios
$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/sbin
$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/lib/cgi-bin
$(INSTALL) -d -m 0755 $(DESTDIR)/etc/sercom
$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/doc/sercom/examples
$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/php/T/DBO/schema
$(INSTALL) -m 0664 $(MAKEFILES) $(DESTDIR)/var/lib/sercom
$(INSTALL) -m 0755 $(DAEMONS) $(DESTDIR)$(PREFIX)/sbin
$(INSTALL) -m 0755 $(COMMANDS) $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) -m 0755 $(CGI) $(DESTDIR)$(PREFIX)/lib/cgi-bin
$(INSTALL) -m 0644 $(PHPLIBS) $(DESTDIR)$(PREFIX)/share/php/T
$(INSTALL) -m 0644 $(PHPDBO) $(DESTDIR)$(PREFIX)/share/php/T/DBO
$(INSTALL) -m 0644 $(PHPSCHEMA) $(DESTDIR)$(PREFIX)/share/php/T/DBO/schema