]> git.saurik.com Git - apple/system_cmds.git/blobdiff - login.tproj/Makefile
system_cmds-431.tar.gz
[apple/system_cmds.git] / login.tproj / Makefile
index 5784e64bcc2db65ae8e19d64f07e657ff378ffed..3f17ae0b0c8d8e3fa4f53381584f2e988ab60d3c 100644 (file)
@@ -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)