Cleanup and fix for BSD/OS.

git-svn-id: svn://10.0.0.236/trunk@40598 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com 1999-07-22 04:23:11 +00:00
parent f5271f0cb1
commit cfec05da33

View File

@ -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