X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/709a58224ea43109dc10bfd6a67de1e432174197..34d340d711a2b033f5da480ed7b5eb147679a588:/login.tproj/Makefile?ds=sidebyside diff --git a/login.tproj/Makefile b/login.tproj/Makefile index 5784e64..3f17ae0 100644 --- a/login.tproj/Makefile +++ b/login.tproj/Makefile @@ -12,6 +12,8 @@ NAME = login PROJECTVERSION = 2.8 PROJECT_TYPE = Tool +Embedded=$(shell tconf --test TARGET_OS_EMBEDDED) + HFILES = pathnames.h CFILES = klogin.c login.c @@ -25,7 +27,9 @@ MAKEFILE = tool.make NEXTSTEP_INSTALLDIR = /usr/bin WINDOWS_INSTALLDIR = /usr/bin PDO_UNIX_INSTALLDIR = /usr/bin +ifeq "$(Embedded)" "NO" LIBS = -lbsm -lpam -lpam_misc +endif DEBUG_LIBS = $(LIBS) PROF_LIBS = $(LIBS)