From cfec05da330fa2a93dd1b4f7ae822d60adf5e596 Mon Sep 17 00:00:00 2001 From: "briano%netscape.com" Date: Thu, 22 Jul 1999 04:23:11 +0000 Subject: [PATCH] Cleanup and fix for BSD/OS. git-svn-id: svn://10.0.0.236/trunk@40598 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/tools/registry/Makefile.in | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/mozilla/xpcom/tools/registry/Makefile.in b/mozilla/xpcom/tools/registry/Makefile.in index 6cc2f5289aa..0e555dbb948 100644 --- a/mozilla/xpcom/tools/registry/Makefile.in +++ b/mozilla/xpcom/tools/registry/Makefile.in @@ -13,6 +13,7 @@ # Communications Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All Rights # Reserved. +# DEPTH = ../../.. topsrcdir = @top_srcdir@ @@ -21,16 +22,16 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk -DIRS = - CPPSRCS = regExport.cpp -include $(topsrcdir)/config/config.mk +SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=) -DEFINES += -DUSE_NSREG +ifdef NO_LD_ARCHIVE_FLAGS +LOST_SYM_LIBS = -lxpcomds_s -lxptinfo +endif -LIBS = -lxpcom $(NSPR_LIBS) $(ZLIB_LIBS) - -SIMPLE_PROGRAMS = $(addprefix $(OBJDIR)/, $(CPPSRCS:.cpp=)) +LIBS = -lxpcom $(LOST_SYM_LIBS) $(NSPR_LIBS) $(ZLIB_LIBS) include $(topsrcdir)/config/rules.mk + +DEFINES += -DUSE_NSREG