]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/Makefile.am
ui/ncurses: Abstract text-screen code from sysinfo screen
[petitboot] / ui / ncurses / Makefile.am
index 90b5cbf6f33314733c1ea0a184f59a1b08b2601f..c03bdb7f9b42b0933fff75ebfb83a0ed061d6045 100644 (file)
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/lib \
-       -I$(includedir) \
        $(DEFAULT_CPPFLAGS)
 
 AM_CFLAGS = \
        $(DEFAULT_CFLAGS)
 
-AM_LDFLAGS = -lmenu -lform -lncurses
-
 common_libs = \
        libpbnc.la \
        $(top_builddir)/ui/common/libpbui.la \
-       $(top_builddir)/lib/libpbcore.la
+       $(top_builddir)/lib/libpbcore.la \
+       @MENU_LIB@ @FORM_LIB@ @CURSES_LIB@
 
 noinst_LTLIBRARIES = libpbnc.la
 
 libpbnc_la_SOURCES = \
+       nc-config.c \
+       nc-config.h \
        nc-cui.c \
        nc-cui.h \
-       nc-ked.c \
-       nc-ked.h \
+       nc-boot-editor.c \
+       nc-boot-editor.h \
        nc-menu.c \
        nc-menu.h \
        nc-scr.c \
-       nc-scr.h
+       nc-scr.h \
+       nc-sysinfo.c \
+       nc-sysinfo.h \
+       nc-textscreen.c \
+       nc-textscreen.h \
+       nc-widgets.c \
+       nc-widgets.h
 
 sbin_PROGRAMS = petitboot-nc