-#
-# Generated by the NeXT Project Builder.
-#
-# NOTE: Do NOT change this file -- Project Builder maintains it.
-#
-# Put all of your customizations in files called Makefile.preamble
-# and Makefile.postamble (both optional), and Makefile will include them.
-#
+Project = shell_cmds
-NAME = shell_cmds
+Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
-PROJECTVERSION = 2.8
-PROJECT_TYPE = Aggregate
-
-SUBPROJECTS = locate
-
-TOOLS = alias apply basename chroot date dirname echo env expr false\
- find getopt hostname id jot kill killall lastcomm logname mktemp\
- nice nohup printenv printf pwd renice script shlock sleep su\
+SubProjects = alias apply basename chroot date dirname echo env expr false \
+ find getopt hostname id jot kill killall lastcomm locate logname mktemp \
+ nice nohup printenv printf pwd renice script shlock sleep \
tee test time true uname users w whereis which who xargs yes
-OTHERSRCS = PROJECT Makefile.preamble Makefile Makefile.postamble Manpages/builtin.1
-
-MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
-CODE_GEN_STYLE = DYNAMIC
-MAKEFILE = aggregate.make
-LIBS =
-DEBUG_LIBS = $(LIBS)
-PROF_LIBS = $(LIBS)
-
-
-NEXTSTEP_PB_CFLAGS = -Wall -mdynamic-no-pic
-
-
-NEXTSTEP_BUILD_OUTPUT_DIR = /tmp/$(NAME)/Build
-
-NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc
-WINDOWS_OBJCPLUS_COMPILER = $(DEVDIR)/gcc
-PDO_UNIX_OBJCPLUS_COMPILER = $(NEXTDEV_BIN)/gcc
-NEXTSTEP_JAVA_COMPILER = /usr/bin/javac
-WINDOWS_JAVA_COMPILER = $(JDKBINDIR)/javac.exe
-PDO_UNIX_JAVA_COMPILER = $(NEXTDEV_BIN)/javac
-
-include $(MAKEFILEDIR)/platform.make
-
--include Makefile.preamble
-
-include $(MAKEFILEDIR)/$(MAKEFILE)
-
--include Makefile.postamble
-
--include Makefile.dependencies
+ifeq ($(Embedded),NO)
+# su requires PAM
+SubProjects += su
+endif
+
+MANPAGES = Manpages/builtin.1
+
+include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
+
+BUILTIN_LINKS = alias.1 \
+ alloc.1 \
+ bg.1 \
+ bind.1 \
+ bindkey.1 \
+ break.1 \
+ breaksw.1 \
+ builtins.1 \
+ case.1 \
+ cd.1 \
+ chdir.1 \
+ command.1 \
+ complete.1 \
+ continue.1 \
+ default.1 \
+ dirs.1 \
+ do.1 \
+ done.1 \
+ echotc.1 \
+ elif.1 \
+ else.1 \
+ end.1 \
+ endif.1 \
+ endsw.1 \
+ esac.1 \
+ eval.1 \
+ exec.1 \
+ exit.1 \
+ export.1 \
+ fc.1 \
+ fg.1 \
+ fi.1 \
+ filetest.1 \
+ for.1 \
+ foreach.1 \
+ getopts.1 \
+ glob.1 \
+ goto.1 \
+ hash.1 \
+ hashstat.1 \
+ history.1 \
+ hup.1 \
+ if.1 \
+ jobid.1 \
+ jobs.1 \
+ limit.1 \
+ log.1 \
+ logout.1 \
+ ls-F.1 \
+ notify.1 \
+ onintr.1 \
+ popd.1 \
+ pushd.1 \
+ read.1 \
+ readonly.1 \
+ rehash.1 \
+ repeat.1 \
+ return.1 \
+ sched.1 \
+ set.1 \
+ setenv.1 \
+ settc.1 \
+ setty.1 \
+ setvar.1 \
+ shift.1 \
+ source.1 \
+ stop.1 \
+ suspend.1 \
+ switch.1 \
+ telltc.1 \
+ then.1 \
+ times.1 \
+ trap.1 \
+ type.1 \
+ ulimit.1 \
+ umask.1 \
+ unalias.1 \
+ uncomplete.1 \
+ unhash.1 \
+ unlimit.1 \
+ unset.1 \
+ unsetenv.1 \
+ until.1 \
+ wait.1 \
+ where.1 \
+ while.1
+
+after_install:
+ @echo Installing manpage links...
+ @for manpage in $(BUILTIN_LINKS); do \
+ $(LN) -f $(DSTROOT)/usr/share/man/man1/builtin.1 $(DSTROOT)/usr/share/man/man1/$${manpage}; \
+ done