autoconfiscate the building of the shar
authorDerek Atkins <derek@ihtfp.com>
Fri, 4 Oct 2002 02:02:02 +0000 (02:02 +0000)
committerDerek Atkins <derek@ihtfp.com>
Fri, 4 Oct 2002 02:02:02 +0000 (02:02 +0000)
Makefile.am
configure.ac
shar/.gitignore [new file with mode: 0644]
shar/Makefile.am [new file with mode: 0644]
shar/shar.c
shib-target/Makefile.am
shib-target/shib-target.h

index 4183188..5df3bb9 100644 (file)
@@ -2,4 +2,4 @@
 
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = schemas shib eduPerson shib-target test
+SUBDIRS = schemas shib eduPerson shib-target shar test
index 375009d..c7e0aac 100644 (file)
@@ -115,5 +115,5 @@ AC_TRY_LINK(
 
 # output makefiles
 AC_OUTPUT(Makefile shib/Makefile schemas/Makefile eduPerson/Makefile \
-                  shib-target/Makefile test/Makefile)
+                  shib-target/Makefile test/Makefile shar/Makefile )
 
diff --git a/shar/.gitignore b/shar/.gitignore
new file mode 100644 (file)
index 0000000..f836e97
--- /dev/null
@@ -0,0 +1,5 @@
+/.libs
+/.deps
+/Makefile
+/Makefile.in
+/shar
\ No newline at end of file
diff --git a/shar/Makefile.am b/shar/Makefile.am
new file mode 100644 (file)
index 0000000..64007c1
--- /dev/null
@@ -0,0 +1,10 @@
+## $Id$
+
+AUTOMAKE_OPTIONS = foreign
+
+bin_PROGRAMS = shar
+
+shar_SOURCES = shar.c
+
+shar_LDADD = $(top_builddir)/shib-target/libshib-target.la \
+       $(top_builddir)/shib/libshib.la
index ede61f8..15fa657 100644 (file)
@@ -10,7 +10,7 @@
 #include <unistd.h>
 #include <stdio.h>
 
-#include "shib-target.h"
+#include <shib-target/shib-target.h>
 
 extern void shibrpc_prog_1(struct svc_req *, SVCXPRT *);
 
index 73c974d..af219e3 100644 (file)
@@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign
 
 lib_LTLIBRARIES = libshib-target.la
 
-libshib_targetdir = $(includedir)/shib
+libshib_targetdir = $(includedir)/shib-target
 libshib_target_HEADERS = shib-target.h shibrpc.h
 
 libshib_target_la_SOURCES = \
index aaf1377..366ddfd 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef SHIB_COMMON_H
 #define SHIB_COMMON_H
 
-#include "shibrpc.h"
+#include <shib-target/shibrpc.h>
 
 #ifdef __cplusplus
 extern "C" {