This commit is contained in:
dmose%netscape.com 2002-06-13 22:02:08 +00:00
Родитель c029f15fc2
Коммит 64210eb246
3 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -391,7 +391,7 @@ ifeq ($(OS_ARCH), OSF1)
SO_FILES_TO_REMOVE=so_locations SO_FILES_TO_REMOVE=so_locations
endif endif
ifneq (,$(filter BeOS Darwin,$(OS_ARCH))) ifneq (,$(filter BeOS Darwin NetBSD,$(OS_ARCH)))
LINK_DLL = $(MKSHLIB) $(OBJS) LINK_DLL = $(MKSHLIB) $(OBJS)
endif endif

Просмотреть файл

@ -213,6 +213,10 @@ ifeq ($(OS_ARCH), BeOS)
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lbe EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lbe
endif endif
ifeq ($(OS_ARCH), NetBSD)
EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME)
endif
########################################################################### ###########################################################################
ifeq ($(USE_DLL_EXPORTS_FILE), 1) ifeq ($(USE_DLL_EXPORTS_FILE), 1)
@ -257,7 +261,7 @@ $(LIBLDAP): $(OBJS) $(LIBDIR) $(LDAP_EXPORT_DEFS) $(DEF_FILE)
ifdef SO_FILES_TO_REMOVE ifdef SO_FILES_TO_REMOVE
-$(RM) $(SO_FILES_TO_REMOVE) -$(RM) $(SO_FILES_TO_REMOVE)
endif endif
ifneq (,$(filter AIX Linux HP-UX Darwin BeOS QNX, $(OS_ARCH))) ifneq (,$(filter AIX Linux HP-UX Darwin BeOS QNX NetBSD, $(OS_ARCH)))
$(LINK_LIB) ../liblber/$(OBJDIR_NAME)/*.a $(LINK_LIB) ../liblber/$(OBJDIR_NAME)/*.a
else else
ifeq ($(OS_ARCH),OS2) ifeq ($(OS_ARCH),OS2)

Просмотреть файл

@ -173,7 +173,7 @@ struct prldap_errormap_entry {
#define ETXTBSY -1 #define ETXTBSY -1
#endif #endif
#if defined(BSDI) || defined(OPENBSD) #if defined(BSDI) || defined(OPENBSD) || defined (NETBSD)
#define ENOTSUP -1 #define ENOTSUP -1
#endif #endif
@ -183,7 +183,7 @@ struct prldap_errormap_entry {
#if defined(__hpux) || defined(_AIX) || defined(OSF1) || defined(DARWIN) || \ #if defined(__hpux) || defined(_AIX) || defined(OSF1) || defined(DARWIN) || \
defined(BEOS) || defined(FREEBSD) || defined(BSDI) || defined(VMS) || \ defined(BEOS) || defined(FREEBSD) || defined(BSDI) || defined(VMS) || \
defined(OPENBSD) defined(OPENBSD) || defined(NETBSD)
#define EDEADLOCK -1 #define EDEADLOCK -1
#endif #endif