40 lines
1.4 KiB
Makefile
40 lines
1.4 KiB
Makefile
|
|
bin_PROGRAMS = subrelayd subrelay-shell
|
||
|
|
|
||
|
|
noinst_HEADERS = \
|
||
|
|
$(top_srcdir)/include/ilib/config.h \
|
||
|
|
$(top_srcdir)/include/ilib/ipc.h \
|
||
|
|
$(top_srcdir)/include/ilib/mail_engine.h \
|
||
|
|
$(top_srcdir)/include/ilib/mail_processor.h \
|
||
|
|
$(top_srcdir)/include/ilib/pending.h \
|
||
|
|
$(top_srcdir)/include/ilib/splay.h \
|
||
|
|
$(top_srcdir)/include/ilib/subscribers.h \
|
||
|
|
$(top_srcdir)/include/ilib/template.h
|
||
|
|
|
||
|
|
# ------------------------------------------------------------------------------
|
||
|
|
# subrelayd Daemon
|
||
|
|
# ------------------------------------------------------------------------------
|
||
|
|
subrelayd_SOURCES = \
|
||
|
|
subrelayd.c \
|
||
|
|
splay.c \
|
||
|
|
subscribers.c \
|
||
|
|
pending.c \
|
||
|
|
config.c \
|
||
|
|
template.c \
|
||
|
|
mail_engine.c \
|
||
|
|
mail_processor.c \
|
||
|
|
ipc.c
|
||
|
|
|
||
|
|
# Include internal header search path and PKG_CHECK libcurl flags
|
||
|
|
subrelayd_CPPFLAGS = -I$(top_srcdir)/include -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE $(CURL_CFLAGS)
|
||
|
|
subrelayd_CFLAGS = -Wall -Wextra -pedantic -std=c99
|
||
|
|
subrelayd_LDADD = $(CURL_LIBS)
|
||
|
|
|
||
|
|
# ------------------------------------------------------------------------------
|
||
|
|
# subrelay-shell CLI Tool
|
||
|
|
# ------------------------------------------------------------------------------
|
||
|
|
subrelay_shell_SOURCES = \
|
||
|
|
subrelay-shell.c
|
||
|
|
|
||
|
|
subrelay_shell_CFLAGS = -Wall -Wextra -pedantic -std=c99
|
||
|
|
subrelay_shell_CPPFLAGS = -I$(top_srcdir)/include -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE
|