summaryrefslogtreecommitdiffstats
path: root/src/ccapi/lib/unix
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-02-18 18:20:41 +0000
committerKen Raeburn <raeburn@mit.edu>2009-02-18 18:20:41 +0000
commita08353096de4ae17bc7a242d97f6665353b81061 (patch)
tree767052b1b8790c0ab832e5d9027802a00b4efb9a /src/ccapi/lib/unix
parentd9f547b4670abb3aa5cba348ce44cc0c60d57071 (diff)
downloadkrb5-a08353096de4ae17bc7a242d97f6665353b81061.tar.gz
krb5-a08353096de4ae17bc7a242d97f6665353b81061.tar.xz
krb5-a08353096de4ae17bc7a242d97f6665353b81061.zip
Some fixups and stubs for building ccapi on UNIX, and dependencies.
(Doesn't make a complete working implementation, but it mostly compiles.) Does *not* include the changes to actually cause the ccapi code to get built in normal UNIX builds. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22023 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/lib/unix')
-rw-r--r--src/ccapi/lib/unix/Makefile.in5
-rw-r--r--src/ccapi/lib/unix/deps1
-rw-r--r--src/ccapi/lib/unix/stubs.c10
3 files changed, 15 insertions, 1 deletions
diff --git a/src/ccapi/lib/unix/Makefile.in b/src/ccapi/lib/unix/Makefile.in
index 2651fad39..383159f2f 100644
--- a/src/ccapi/lib/unix/Makefile.in
+++ b/src/ccapi/lib/unix/Makefile.in
@@ -2,10 +2,13 @@ thisconfigdir=../../..
myfulldir=ccapi/lib/unix
mydir=ccapi/lib/unix
BUILDTOP=$(REL)..$(S)..$(S)..
+LOCALINCLUDES= -I$(srcdir)/.. -I$(srcdir)/../../common
+
+STLIBOBJS= stubs.o
+OBJS= $(OUTPRE)stubs.$(OBJEXT)
all-unix:: all-libobjs
clean-unix:: clean-libobjs
@libobj_frag@
-# +++ Dependency line eater +++
diff --git a/src/ccapi/lib/unix/deps b/src/ccapi/lib/unix/deps
new file mode 100644
index 000000000..2feac3c9d
--- /dev/null
+++ b/src/ccapi/lib/unix/deps
@@ -0,0 +1 @@
+# No dependencies here.
diff --git a/src/ccapi/lib/unix/stubs.c b/src/ccapi/lib/unix/stubs.c
new file mode 100644
index 000000000..3afd8f10e
--- /dev/null
+++ b/src/ccapi/lib/unix/stubs.c
@@ -0,0 +1,10 @@
+#include <errno.h>
+#include "ccapi_os_ipc.h"
+
+cc_int32 cci_os_ipc_thread_init (void)
+{
+ return EINVAL;
+}
+void cci_os_ipc_thread_fini (void)
+{
+}