Try to be smart about removing .la files.
[shibboleth/cpp-sp.git] / shib / Makefile.am
index 18a8e2e..bb1a6d3 100644 (file)
@@ -9,22 +9,12 @@ libshib_HEADERS = shib.h shib-threads.h
 noinst_HEADERS = internal.h
 
 libshib_la_SOURCES = \
-                    AAP.cpp \
-                    ClubShibPOSTProfile.cpp \
                     Constants.cpp \
-                    CredResolvers.cpp \
                     Metadata.cpp \
-                    SAMLBindingFactory.cpp \
+                    ReloadableXMLFile.cpp \
                     ShibConfig.cpp \
                     ShibPOSTProfile.cpp \
-                    ShibPOSTProfileFactory.cpp \
-                    ShibSOAPBinding.cpp \
-                    ScopedAttribute.cpp \
-                    SimpleAttribute.cpp \
-                    XML.cpp \
-                    XMLMetadata.cpp \
-                    XMLTrust.cpp \
-                    XMLCredentials.cpp \
+                    ShibBinding.cpp \
                     shib-threads.cpp
 
 
@@ -32,5 +22,8 @@ libshib_la_SOURCES = \
 # http://sources.redhat.com/autobook/autobook/autobook_91.html
 libshib_la_LDFLAGS = -version-info 5:0:0
 
+install-exec-hook:
+       for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done
+
 EXTRA_DIST = shib.dsp shib-threads-win32.cpp