Makefile 438 B

123456789101112131415161718192021222324
  1. # outut cgi
  2. .PATH: ${.CURDIR}/..
  3. PREFIX?= /var/www/cgi-bin/
  4. BINDIR= ${DESTDIR}${PREFIX}
  5. DAEMON= ${BINDIR}/${PROG}
  6. PROG= output
  7. SRCS= output.c db.c util.c
  8. LDADD+= -lm -lkcgi -lutil -lssl -ltls -lcrypto -lz
  9. LDADD+= ${PGLIBS}
  10. LDSTATIC= ${STATIC}
  11. #DPADD+= ${LIBUTIL} ${LIBCRYPTO} ${LIBSSL} ${LIBTLS}
  12. NOMAN= 1
  13. # include site settings
  14. .include "cgiconfig.mk"
  15. # include CFLAGS/LDFLAGS
  16. .include "cflags.mk"
  17. .include <bsd.prog.mk>