Move base into lib
This involves reverting dd267e8fc3
,
but that gets lost in the move.
This builds on Ubuntu and Windows at this time.
This commit is contained in:
@@ -6,7 +6,7 @@ if KCM
|
|||||||
kcm_dir = kcm
|
kcm_dir = kcm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS= include lib/roken base lib kuser kdc admin kadmin kpasswd
|
SUBDIRS= include lib kuser kdc admin kadmin kpasswd
|
||||||
SUBDIRS+= $(kcm_dir) appl tools tests packages etc po
|
SUBDIRS+= $(kcm_dir) appl tools tests packages etc po
|
||||||
|
|
||||||
if HEIMDAL_DOCUMENTATION
|
if HEIMDAL_DOCUMENTATION
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
thirdparty=thirdparty
|
thirdparty=thirdparty
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
SUBDIRS = include lib\roken base lib kuser kdc admin kadmin kpasswd appl doc \
|
SUBDIRS = include lib kuser kdc admin kadmin kpasswd appl doc \
|
||||||
tools tests packages etc $(thirdparty) packages\windows\installer
|
tools tests packages etc $(thirdparty) packages\windows\installer
|
||||||
|
|
||||||
!include windows/NTMakefile.w32
|
!include windows/NTMakefile.w32
|
||||||
|
@@ -244,7 +244,7 @@ LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
|
|||||||
LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIB_heimbase = $(top_builddir)/base/libheimbase.la
|
LIB_heimbase = $(top_builddir)/lib/base/libheimbase.la
|
||||||
|
|
||||||
if DCE
|
if DCE
|
||||||
LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
|
||||||
|
@@ -609,7 +609,7 @@ AC_CONFIG_FILES(Makefile \
|
|||||||
include/hcrypto/Makefile \
|
include/hcrypto/Makefile \
|
||||||
include/kadm5/Makefile \
|
include/kadm5/Makefile \
|
||||||
lib/Makefile \
|
lib/Makefile \
|
||||||
base/Makefile \
|
lib/base/Makefile \
|
||||||
lib/asn1/Makefile \
|
lib/asn1/Makefile \
|
||||||
lib/com_err/Makefile \
|
lib/com_err/Makefile \
|
||||||
lib/hcrypto/Makefile \
|
lib/hcrypto/Makefile \
|
||||||
|
@@ -23,6 +23,7 @@ endif
|
|||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
roken \
|
roken \
|
||||||
|
base \
|
||||||
vers \
|
vers \
|
||||||
$(dir_editline) \
|
$(dir_editline) \
|
||||||
$(dir_com_err) \
|
$(dir_com_err) \
|
||||||
|
@@ -40,7 +40,7 @@ dir_dce = kdfs
|
|||||||
dir_hcrypto = hcrypto
|
dir_hcrypto = hcrypto
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
SUBDIRS = vers com_err sl wind asn1 sqlite \
|
SUBDIRS = roken base vers com_err sl wind asn1 sqlite \
|
||||||
$(dir_hcrypto) hx509 krb5 heimdal ntlm kafs gssapi hdb \
|
$(dir_hcrypto) hx509 krb5 heimdal ntlm kafs gssapi hdb \
|
||||||
kadm5 $(dir_45) $(dir_otp) $(dir_dce) ..\packages\windows\assembly
|
kadm5 $(dir_45) $(dir_otp) $(dir_dce) ..\packages\windows\assembly
|
||||||
|
|
||||||
|
@@ -52,4 +52,4 @@ EXTRA_DIST = NTMakefile version-script.map
|
|||||||
|
|
||||||
base64.c:
|
base64.c:
|
||||||
$(RM) base64.c
|
$(RM) base64.c
|
||||||
$(LN_S) $(srcdir)/../lib/roken/base64.c .
|
$(LN_S) $(srcdir)/../roken/base64.c .
|
@@ -29,11 +29,11 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
RELDIR=base
|
RELDIR=lib\base
|
||||||
|
|
||||||
intcflags=-I$(SRCDIR) -I$(OBJ)
|
intcflags=-I$(SRCDIR) -I$(OBJ)
|
||||||
|
|
||||||
!include ../windows/NTMakefile.w32
|
!include ../../windows/NTMakefile.w32
|
||||||
|
|
||||||
INCFILES=$(INCDIR)\heimbase.h
|
INCFILES=$(INCDIR)\heimbase.h
|
||||||
|
|
@@ -60,6 +60,8 @@
|
|||||||
#define bindtextdomain(package, localedir)
|
#define bindtextdomain(package, localedir)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <roken.h>
|
||||||
|
|
||||||
#include "heimqueue.h"
|
#include "heimqueue.h"
|
||||||
#include "heim_threads.h"
|
#include "heim_threads.h"
|
||||||
#include "heimbase.h"
|
#include "heimbase.h"
|
@@ -53,11 +53,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#ifndef WIN32
|
#ifdef WIN32
|
||||||
#include <sys/file.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_IO_H
|
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
#else
|
||||||
|
#include <sys/file.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
@@ -96,7 +96,7 @@ libhx509_la_LIBADD = \
|
|||||||
$(LIB_hcrypto) \
|
$(LIB_hcrypto) \
|
||||||
$(top_builddir)/lib/asn1/libasn1.la \
|
$(top_builddir)/lib/asn1/libasn1.la \
|
||||||
$(top_builddir)/lib/wind/libwind.la \
|
$(top_builddir)/lib/wind/libwind.la \
|
||||||
$(top_builddir)/base/libheimbase.la \
|
$(top_builddir)/lib/base/libheimbase.la \
|
||||||
$(LIBADD_roken) \
|
$(LIBADD_roken) \
|
||||||
$(LIB_dlopen)
|
$(LIB_dlopen)
|
||||||
|
|
||||||
|
@@ -67,7 +67,7 @@ libkrb5_la_LIBADD = \
|
|||||||
$(top_builddir)/lib/asn1/libasn1.la \
|
$(top_builddir)/lib/asn1/libasn1.la \
|
||||||
$(top_builddir)/lib/ipc/libheim-ipcc.la \
|
$(top_builddir)/lib/ipc/libheim-ipcc.la \
|
||||||
$(top_builddir)/lib/wind/libwind.la \
|
$(top_builddir)/lib/wind/libwind.la \
|
||||||
$(top_builddir)/base/libheimbase.la \
|
$(top_builddir)/lib/base/libheimbase.la \
|
||||||
$(LIB_pkinit) \
|
$(LIB_pkinit) \
|
||||||
$(use_sqlite) \
|
$(use_sqlite) \
|
||||||
$(LIB_com_err) \
|
$(LIB_com_err) \
|
||||||
|
@@ -163,12 +163,11 @@ INCFILES = \
|
|||||||
$(INCDIR)\stdbool.h \
|
$(INCDIR)\stdbool.h \
|
||||||
$(INCDIR)\syslog.h \
|
$(INCDIR)\syslog.h \
|
||||||
$(INCDIR)\vis.h \
|
$(INCDIR)\vis.h \
|
||||||
|
!ifndef HAVE_STDINT_H
|
||||||
|
$(INCDIR)\stdint.h \
|
||||||
|
!endif
|
||||||
$(INCDIR)\xdbm.h
|
$(INCDIR)\xdbm.h
|
||||||
|
|
||||||
#!ifndef HAVE_STDINT_H
|
|
||||||
#INCFILES += $(INCDIR)\stdint.h
|
|
||||||
#!endif
|
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
-$(RM) $(XHEADERS)
|
-$(RM) $(XHEADERS)
|
||||||
|
|
||||||
|
@@ -104,7 +104,9 @@ typedef int rk_socket_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
#ifndef HAVE_STDINT_H
|
||||||
#include <intsafe.h>
|
#include <intsafe.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Declarations for Microsoft Visual C runtime on Windows */
|
/* Declarations for Microsoft Visual C runtime on Windows */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user