summaryrefslogtreecommitdiffstats
path: root/server/server.mk
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-03-06 03:11:20 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-03-06 11:13:07 -0500
commit0aae1a691b1037156ce3907ea5777e568e30201c (patch)
treef7ef06f0207e9e25b924605c4c866c4c980b5154 /server/server.mk
parent6b06539cfd1e95bfefe3e8bc107d2b85fff97109 (diff)
downloadsssd-0aae1a691b1037156ce3907ea5777e568e30201c.tar.gz
sssd-0aae1a691b1037156ce3907ea5777e568e30201c.tar.xz
sssd-0aae1a691b1037156ce3907ea5777e568e30201c.zip
Add userspace tools to manipulate accounts.
The first functional command is sss_useradd (Name is temporary, while looking for a better one)
Diffstat (limited to 'server/server.mk')
-rw-r--r--server/server.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/server/server.mk b/server/server.mk
index cd3b19adf..af052f454 100644
--- a/server/server.mk
+++ b/server/server.mk
@@ -75,6 +75,21 @@ $(LDAP_BE_OBJ): CFLAGS += $(LDAP_CFLAGS)
$(CRYPT_OBJ): CFLAGS += $(NSS_CFLAGS)
+TOOLS_OBJ = \
+ tools/tools_util.o
+
+USERADD_OBJ = \
+ tools/sss_useradd.o
+
+USERDEL_OBJ = \
+ tools/sss_userdel.o
+
+GROUPADD_OBJ = \
+ tools/sss_groupadd.o
+
+GROUPDEL_OBJ = \
+ tools/sss_groupdel.o
+
sbin/sssd: $(SERVER_OBJ) $(UTIL_OBJ)
$(CC) -o sbin/sssd $(SERVER_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
@@ -114,3 +129,8 @@ tests/sysdb-tests: $(SYSDB_TEST_OBJ) $(UTIL_OBJ)
tests/infopipe-tests: $(INFP_TEST_OBJ) $(UTIL_OBJ)
$(CC) -o tests/infopipe-tests $(INFP_TEST_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS) $(CHECK_LIBS)
+
+#Tools
+sbin/sss_useradd: $(USERADD_OBJ) $(TOOLS_OBJ) $(UTIL_OBJ)
+ $(CC) -o tools/sss_useradd $(USERADD_OBJ) $(TOOLS_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
+