cgiconfig.mk 475 B

1234567891011121314151617181920
  1. DATABASE_HOSTNAME?= 127.0.0.1
  2. DATABASE_PORT?= 5432
  3. DATABASE_USER?= weatherdata
  4. DATABASE_PASSWORD?= secret_that_should_be_changed
  5. HTDOCS_ROOT?= /var/www/htdocs
  6. HTDOCS_PATH?= ${HTDOCS_ROOT}
  7. WWW_USER?= www
  8. WWW_GROUP?= www
  9. .if exists(localconfig.mk)
  10. .include <localconfig.mk>
  11. .endif
  12. CFLAGS+= -DDATABASE_HOSTNAME=\"${DATABASE_HOSTNAME}\" \
  13. -DDATABASE_PORT=\"${DATABASE_PORT}\" \
  14. -DDATABASE_USER=\"${DATABASE_USER}\" \
  15. -DDATABASE_PASSWORD=\"${DATABASE_PASSWORD}\"