AUTOMAKE_OPTIONS = nostdinc CPPFLAGS_ALL_COMMON = \ -I$(abs_builddir) \ -I$(abs_builddir)/../lib \ -I$(abs_srcdir) \ -I$(abs_srcdir)/../lib \ -I$(includedir) LDFLAGS_ALL_COMMON = -L$(abs_builddir) -L$(abs_builddir)/../lib -L$(libdir) ################################################## # MAIN LIBRARY ################################################## CPPFLAGS_LIB_COMMON = $(CPPFLAGS_ALL_COMMON) LDFLAGS_LIB_COMMON = $(LDFLAGS_ALL_COMMON) -no-undefined LIBADD_LIB_COMMON = $(LIBM) bin_PROGRAMS = mio-execd mio_execd_SOURCES = execd.c mio_execd_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) mio_execd_LDFLAGS = $(LDFLAGS_LIB_COMMON) mio_execd_LDADD = $(LIBADD_LIB_COMMON) -lmio $(SSL_LIBS) $(SOCKET_LIBS) $(SENDFILE_LIBS) bin_PROGRAMS += mio-t01 mio_t01_SOURCES = t01.c mio_t01_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) mio_t01_LDFLAGS = $(LDFLAGS_LIB_COMMON) mio_t01_LDADD = $(LIBADD_LIB_COMMON) -lmio $(SSL_LIBS) $(SOCKET_LIBS) $(SENDFILE_LIBS) bin_PROGRAMS += mio-t02 mio_t02_SOURCES = t02.c mio_t02_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) mio_t02_LDFLAGS = $(LDFLAGS_LIB_COMMON) mio_t02_LDADD = $(LIBADD_LIB_COMMON) -lmio $(SSL_LIBS) $(SOCKET_LIBS) $(SENDFILE_LIBS) bin_PROGRAMS += mio-t03 mio_t03_SOURCES = t03.c mio_t03_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) mio_t03_LDFLAGS = $(LDFLAGS_LIB_COMMON) mio_t03_LDADD = $(LIBADD_LIB_COMMON) -lmio $(SSL_LIBS) $(SOCKET_LIBS) $(SENDFILE_LIBS) bin_PROGRAMS += mio-t04 mio_t04_SOURCES = t04.c mio_t04_CPPFLAGS = $(CPPFLAGS_LIB_COMMON) mio_t04_LDFLAGS = $(LDFLAGS_LIB_COMMON) mio_t04_LDADD = $(LIBADD_LIB_COMMON) -lmio $(SSL_LIBS) $(SOCKET_LIBS) $(SENDFILE_LIBS)