summaryrefslogtreecommitdiff
path: root/server/server.mk
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-02-24 19:28:40 -0500
committerSimo Sorce <ssorce@redhat.com>2009-02-24 21:00:56 -0500
commit98531e56318b65eb1bb6883fdfe12e771d8a1efe (patch)
treea339a5948604ff62cfafd62a9682130f30df689e /server/server.mk
parent4c6c0f77a505b6b0790cfa8eedd3133abebd4edb (diff)
downloadsssd-98531e56318b65eb1bb6883fdfe12e771d8a1efe.tar.gz
sssd-98531e56318b65eb1bb6883fdfe12e771d8a1efe.tar.bz2
sssd-98531e56318b65eb1bb6883fdfe12e771d8a1efe.zip
Add PAM responder
Also move responders under server/responder with shared code in server/responder/common Signed-off-by: Simo Sorce <ssorce@redhat.com>
Diffstat (limited to 'server/server.mk')
-rw-r--r--server/server.mk44
1 files changed, 34 insertions, 10 deletions
diff --git a/server/server.mk b/server/server.mk
index 744dc243..386f56f1 100644
--- a/server/server.mk
+++ b/server/server.mk
@@ -15,6 +15,12 @@ UTIL_OBJ = \
db/sysdb.o \
db/sysdb_sync.o
+RESPONDER_UTIL_OBJ = \
+ responder/common/responder_dp.o \
+ responder/common/responder_packet.o \
+ responder/common/responder_common.o \
+ responder/common/responder_cmd.o
+
SERVER_OBJ = \
monitor/monitor.o
@@ -27,11 +33,13 @@ DP_BE_OBJ = \
PROXY_BE_OBJ = \
providers/proxy.o
+LDAP_BE_OBJ = \
+ providers/ldap_be.o
+
NSSSRV_OBJ = \
- nss/nsssrv.o \
- nss/nsssrv_packet.o \
- nss/nsssrv_cmd.o \
- nss/nsssrv_dp.o
+ responder/nss/nsssrv.o \
+ responder/nss/nsssrv_cmd.o \
+ responder/nss/nsssrv_dp.o
INFOPIPE_OBJ = \
infopipe/infopipe.o \
@@ -51,17 +59,29 @@ SYSDB_TEST_OBJ = \
INFP_TEST_OBJ = \
tests/infopipe-tests.o
+PAMSRV_OBJ = \
+ responder/pam/pamsrv.o \
+ responder/pam/pamsrv_cmd.o \
+ responder/pam/pamsrv_dp.o
+
+PAMSRV_UTIL_OBJ = responder/pam/pamsrv_util.o
+
+PAM = -lpam
+
sbin/sssd: $(SERVER_OBJ) $(UTIL_OBJ)
$(CC) -o sbin/sssd $(SERVER_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
-sbin/sssd_nss: $(NSSSRV_OBJ) $(UTIL_OBJ)
- $(CC) -o sbin/sssd_nss $(NSSSRV_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
+sbin/sssd_nss: $(NSSSRV_OBJ) $(UTIL_OBJ) $(RESPONDER_UTIL_OBJ)
+ $(CC) -o sbin/sssd_nss $(NSSSRV_OBJ) $(UTIL_OBJ) $(RESPONDER_UTIL_OBJ) $(LDFLAGS) $(LIBS)
+
+sbin/sssd_pam: $(PAMSRV_OBJ) $(UTIL_OBJ) $(RESPONDER_UTIL_OBJ) $(PAMSRV_UTIL_OBJ)
+ $(CC) -o sbin/sssd_pam $(PAMSRV_OBJ) $(UTIL_OBJ) $(PAMSRV_UTIL_OBJ) $(RESPONDER_UTIL_OBJ) $(LDFLAGS) $(LIBS)
-sbin/sssd_dp: $(DP_OBJ) $(UTIL_OBJ)
- $(CC) -o sbin/sssd_dp $(DP_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
+sbin/sssd_dp: $(DP_OBJ) $(UTIL_OBJ) $(PAMSRV_UTIL_OBJ)
+ $(CC) -o sbin/sssd_dp $(DP_OBJ) $(UTIL_OBJ) $(PAMSRV_UTIL_OBJ) $(LDFLAGS) $(LIBS)
sbin/sssd_be: $(DP_BE_OBJ) $(UTIL_OBJ)
- $(CC) -Wl,-E -o sbin/sssd_be $(DP_BE_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
+ $(CC) -Wl,-E -o sbin/sssd_be $(DP_BE_OBJ) $(UTIL_OBJ) $(PAMSRV_UTIL_OBJ) $(LDFLAGS) $(LIBS) $(PAM)
sbin/sssd_info: $(INFOPIPE_OBJ) $(UTIL_OBJ)
$(CC) -o sbin/sssd_info $(INFOPIPE_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
@@ -70,9 +90,13 @@ sbin/sssd_pk: $(POLKIT_OBJ) $(UTIL_OBJ)
$(CC) -o sbin/sssd_pk $(POLKIT_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
lib/$(PROXY_BE_SOBASE): $(PROXY_BE_OBJ)
- $(SHLD) $(SHLD_FLAGS) $(SONAMEFLAG)$(PROXY_BE_SONAME) -o lib/$(PROXY_BE_SOLIB) $(PROXY_BE_OBJ) $(LDFLAGS) $(LIBS)
+ $(SHLD) $(SHLD_FLAGS) $(SONAMEFLAG)$(PROXY_BE_SONAME) -o lib/$(PROXY_BE_SOLIB) $(PROXY_BE_OBJ) $(LDFLAGS) $(LIBS) $(PAM_LIBS)
ln -fs $(PROXY_BE_SOLIB) $@
+lib/$(LDAP_BE_SOBASE): $(LDAP_BE_OBJ)
+ $(SHLD) $(SHLD_FLAGS) $(SONAMEFLAG)$(LDAP_BE_SONAME) -o lib/$(LDAP_BE_SOLIB) $(LDAP_BE_OBJ) $(LDFLAGS) $(LIBS) $(LDAP_LIBS)
+ ln -fs $(LDAP_BE_SOLIB) $@
+
lib/$(MEMBEROF_SOBASE): $(MEMBEROF_OBJ)
$(SHLD) $(SHLD_FLAGS) $(SONAMEFLAG)$(MEMBEROF_SONAME) -o lib/$(MEMBEROF_SOLIB) $(MEMBEROF_OBJ) $(LDFLAGS) $(LDB_LIBS)
ln -fs $(MEMBEROF_SOLIB) $@