initial commit
[fcgi] / examples / Makefile.am
1 # $Id: Makefile.am,v 1.8 2001/12/22 03:16:21 robs Exp $
2
3 noinst_PROGRAMS     = authorizer        \
4                       echo              \
5                       echo-x            \
6                       log-dump          \
7                       size              \
8                       @THREADED@        \
9                       @ECHO_CPP@
10
11 EXTRA_PROGRAMS = threaded echo-cpp
12
13 INCLUDEDIR  = ../include
14 CPPFLAGS    = @CPPFLAGS@ -I$(top_srcdir)/include
15
16 INCLUDE_FILES   = $(INCLUDEDIR)/fastcgi.h    \
17                   $(INCLUDEDIR)/fcgiapp.h    \
18                   $(INCLUDEDIR)/fcgimisc.h   \
19                   $(INCLUDEDIR)/fcgi_stdio.h
20
21 LIBDIR      = ../libfcgi
22 LIBFCGI     = $(LIBDIR)/libfcgi.la
23
24 LDADD = $(LIBFCGI)
25
26 echo_SOURCES       = $(INCLUDE_FILES) echo.c
27 echo_x_SOURCES     = $(INCLUDE_FILES) echo-x.c
28 log_dump_SOURCES   = $(INCLUDE_FILES) log-dump.c
29 authorizer_SOURCES = $(INCLUDE_FILES) authorizer.c
30
31 threaded_SOURCES   = $(INCLUDE_FILES) threaded.c
32 threaded_CC        = @PTHREAD_CC@
33 threaded_CFLAGS    = @PTHREAD_CFLAGS@
34 threaded_LDFLAGS   = @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
35
36 echo_cpp_SOURCES = $(INCLUDE_FILES) $(INCLUDEDIR)/fcgio.h echo-cpp.cpp
37 echo_cpp_LDADD   = $(LIBDIR)/libfcgi++.la
38