File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22lib_LTLIBRARIES = libsystemd.la
33libsystemd_la_SOURCES = sd-daemon.c sd-daemon.h
44libsystemd_la_LDFLAGS = -version-info 0:0:0
5+ libsystemd_la_CFLAGS = $(lite_CFLAGS )
6+ libsystemd_la_LIBADD = $(lite_LIBS )
57
68# pkg-config support
79pkgconfigdir = $(libdir ) /pkgconfig
810pkgconfig_DATA = libsystemd.pc
911
1012# Install header to systemd/ subdirectory
1113systemddir = $(includedir ) /systemd
12- systemd_HEADERS = sd-daemon.h
14+ systemd_HEADERS = sd-daemon.h
Original file line number Diff line number Diff line change 2323#include <sys/un.h>
2424#include <time.h>
2525#include <unistd.h>
26+ #ifdef _LIBITE_LITE
27+ # include <libite/lite.h>
28+ #else
29+ # include <lite/lite.h>
30+ #endif
2631
2732#include "sd-daemon.h"
2833
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ noinst_PROGRAMS = serv
33serv_SOURCES = serv.c
44serv_CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -I$(top_builddir )
55if LIBSYSTEMD
6- serv_CPPFLAGS += -I$(top_srcdir ) /libsystemd
6+ serv_CPPFLAGS += -I$(top_srcdir ) /libsystemd $( lite_CFLAGS )
77serv_SOURCES += $(top_srcdir ) /libsystemd/sd-daemon.c
8+ serv_LDADD = $(lite_LIBS )
89endif
You can’t perform that action at this time.
0 commit comments