summaryrefslogtreecommitdiffstats
path: root/hw4/Makefile.am
blob: 62f22d8e4a1e24faea3f630acdc1837d3682e131 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
EXTRA_DIST = 
NULL = 

bin_PROGRAMS = cgish-httpd
noinst_LIBRARIES = libl4basic.a

libl4basic_a_SOURCES = \
    l4basic/memwrap.h   \
    l4basic/memwrap.c   \
    l4basic/l4common.h  \
    l4basic/l4list.h    \
    l4basic/l4list.c    \
    l4basic/l4str.h     \
    l4basic/l4str.c     \
    l4basic/l4posix.h   \
    l4basic/l4posix.c   \
    $(NULL)
libl4basic_a_CFLAGS = -pthread -I$(top_srcdir)/l4basic
libl4basic_a_CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
    
cgish_httpd_SOURCES = \
    chttpd/chttpd-log.h      \
    chttpd/chttpd-log.c      \
    chttpd/chttpd-socket.h   \
    chttpd/chttpd-socket.c   \
    chttpd/chttpd-server.h   \
    chttpd/chttpd-server.c   \
    chttpd/chttpd-conn.h     \
    chttpd/chttpd-conn.c     \
    $(NULL)
cgish_httpd_CFLAGS = -pthread -I$(top_srcdir)/l4basic -I$(top_srcdir)/chttpd
cgish_httpd_LDADD = $(top_builddir)/libl4basic.a