Merge up from branch.
[shibboleth/cpp-sp.git] / oncrpc / Makefile.am
index 3b8e46d..85cfbfd 100644 (file)
@@ -3,8 +3,6 @@ AUTOMAKE_OPTIONS = foreign
 
 SUBDIRS = . rpc
 
-AM_CFLAGS = -D_rpc_dtablesize=getdtablesize
-
 lib_LTLIBRARIES = liboncrpc.la
 
 liboncrpc_la_SOURCES = \
@@ -45,7 +43,7 @@ liboncrpc_la_SOURCES = \
 
 # this is different from the project version
 # http://sources.redhat.com/autobook/autobook/autobook_91.html
-liboncrpc_la_LDFLAGS = -version-info 1:0:0
+liboncrpc_la_LDFLAGS = -version-info 2:0:0
 
 EXTRA_DIST = \
   .cvsignore \
@@ -53,6 +51,7 @@ EXTRA_DIST = \
   makefile.nt \
   oncbcimp.def \
   oncrpc.def \
+  oncrpc.dsp \
   oncrpc.rc \
   oncrpcbc.def \
   bcopy.c \
@@ -60,5 +59,8 @@ EXTRA_DIST = \
   getrpcen.c \
   getrpcpo.c \
   nt.c \
-  portmap.c
+  portmap.c \
+  resource.h
 
+install-exec-hook:
+       for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done