]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - term-utils/Makemodule.am
Merge branch 'libeconf' of https://github.com/thkukuk/util-linux
[thirdparty/util-linux.git] / term-utils / Makemodule.am
index b5c0d834e7ab761116e13211ce6ae5dbec31e1b4..b5b7487ca991e19a21e95f04c7c347bd99e9a5ef 100644 (file)
@@ -1,12 +1,12 @@
 if BUILD_SCRIPT
 usrbin_exec_PROGRAMS += script
 dist_man_MANS += term-utils/script.1
-script_SOURCES = term-utils/script.c lib/monotonic.c
+script_SOURCES = term-utils/script.c \
+                lib/pty-session.c \
+                include/pty-session.h \
+                lib/monotonic.c
 script_CFLAGS = $(AM_CFLAGS) -Wno-format-y2k
-script_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS)
-if HAVE_UTIL
-script_LDADD += -lutil
-endif
+script_LDADD = $(LDADD) libcommon.la $(MATH_LIBS) $(REALTIME_LIBS) -lutil
 if HAVE_UTEMPTER
 script_LDADD += -lutempter
 endif
@@ -33,9 +33,9 @@ scriptlive_SOURCES = term-utils/scriptlive.c \
                       term-utils/script-playutils.c \
                       term-utils/script-playutils.h \
                       lib/pty-session.c \
-                      nclude/pty-session.h \
+                      include/pty-session.h \
                       lib/monotonic.c
-scriptlive_LDADD = $(LDADD) libcommon.la $(MATH_LIBS) -lutil
+scriptlive_LDADD = $(LDADD) libcommon.la $(MATH_LIBS) $(REALTIME_LIBS) -lutil
 endif # BUILD_SCRIPTLIVE