Fix for BSDI.

This commit is contained in:
briano%netscape.com 1999-07-15 02:21:21 +00:00
parent eb0a9b76b3
commit 0e951ec9de

View File

@ -1,4 +1,3 @@
#!gmake
# #
# The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in # Version 1.0 (the "NPL"); you may not use this file except in
@ -14,49 +13,34 @@
# Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights # Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved. # Reserved.
#
DEPTH = ../../../.. DEPTH = ../../../..
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = TestXPTC MODULE = TestXPTC
SIMPLE_PROGRAMS = TestXPTCInvoke
SIMPLE_PROGRAMS = TestXPTCInvoke CPPSRCS = TestXPTCInvoke.cpp
CPPSRCS = \
TestXPTCInvoke.cpp \
$(NULL)
include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/config.mk
CFLAGS += -DJS_THREADSAFE CFLAGS += -DJS_THREADSAFE
LIBS = \ LIBS = \
-L$(DIST)/bin \ -L$(DIST)/bin \
-lxpcom \ -lxpcom \
-l$(MOZ_LIB_UTIL_PREFIX)util \ -l$(MOZ_LIB_UTIL_PREFIX)util \
$(NSPR_LIBS) \ $(NSPR_LIBS) \
$(NULL) $(NULL)
# PROGS = $(OBJDIR)/TestXPTCInvoke
# TARGETS= $(PROGS)
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
# INCLUDES += -I$(PUBLIC)/xpcom -I$(PUBLIC)/js -I$(PUBLIC)/raptor # For _write().
ifeq ($(OS_ARCH),BSD_OS)
#$(PROGS): $(OBJS) OS_LIBS += -lgcc
# @$(MAKE_OBJDIR) endif
# $(CC) -o $@ $(OBJS) $(LD_FLAGS) -L$(DIST)/lib $(LIBS) $(OS_LIBS)
# export:: $(TARGETS)
# $(INSTALL) $(PROGS) $(DIST)/bin
# clobber::
# rm -f $(DIST)/bin/TestXPTCInvoke
# rm -f $(PROGS) $(OBJS)