diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2005-04-18 15:59:49 +0000 |
---|---|---|
committer | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2005-04-18 15:59:49 +0000 |
commit | f66a762344d77b8e4a4d50e68896638a234dc631 (patch) | |
tree | 9b3bf1632a7dd59c788d998b24efa084c9f6ea0a /extra/config/Makefile | |
parent | 5178925d7b23c6fd5c79d602c9e873cb9ba50ea2 (diff) |
Updated to match Linux 2.6.11.
Diffstat (limited to 'extra/config/Makefile')
-rw-r--r-- | extra/config/Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/extra/config/Makefile b/extra/config/Makefile index 822a483bc..65345d131 100644 --- a/extra/config/Makefile +++ b/extra/config/Makefile @@ -21,7 +21,11 @@ include $(TOPDIR)Rules.mak all: ncurses conf mconf +ifeq ($(shell uname),SunOS) +LIBS = -lcurses +else LIBS = -lncurses +endif ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) HOSTNCURSES += -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" else @@ -44,13 +48,16 @@ endif endif endif -CONF_SRC =conf.c -MCONF_SRC =mconf.c checklist.c menubox.c textbox.c yesno.c inputbox.c util.c msgbox.c -SHARED_SRC=zconf.tab.c -SHARED_DEPS:=lkc.h lkc_proto.h lkc_defs.h expr.h zconf.tab.h -CONF_OBJS =$(patsubst %.c,%.o, $(CONF_SRC)) -MCONF_OBJS=$(patsubst %.c,%.o, $(MCONF_SRC)) -SHARED_OBJS=$(patsubst %.c,%.o, $(SHARED_SRC)) +CONF_SRC = conf.c +MCONF_SRC = mconf.c +LXD_SRC = lxdialog/checklist.c lxdialog/menubox.c lxdialog/textbox.c \ + lxdialog/yesno.c lxdialog/inputbox.c lxdialog/util.c \ + lxdialog/msgbox.c +SHARED_SRC = zconf.tab.c +SHARED_DEPS := lkc.h lkc_proto.h lkc_defs.h expr.h zconf.tab.h +CONF_OBJS = $(patsubst %.c,%.o, $(CONF_SRC)) +MCONF_OBJS = $(patsubst %.c,%.o, $(MCONF_SRC) $(LXD_SRC)) +SHARED_OBJS = $(patsubst %.c,%.o, $(SHARED_SRC)) conf: $(CONF_OBJS) $(SHARED_OBJS) $(HOSTCC) $(NATIVE_LDFLAGS) $^ -o $@ |