From f37254fded840de6626e3b53880f8adf2ec36624 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Fri, 25 Jun 1999 01:42:20 +0000 Subject: [PATCH] fix unix. Add Makefile.in --- intl/chardet/tests/DetectCharset.cpp | 5 ++++ intl/chardet/tests/Makefile.in | 38 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 intl/chardet/tests/Makefile.in diff --git a/intl/chardet/tests/DetectCharset.cpp b/intl/chardet/tests/DetectCharset.cpp index 689725f95f90..00dc06a2ed1f 100644 --- a/intl/chardet/tests/DetectCharset.cpp +++ b/intl/chardet/tests/DetectCharset.cpp @@ -22,7 +22,12 @@ #include "nsICharsetDetectionObserver.h" #include #include +#ifdef XP_PC #include +#endif +#ifdef XP_UNIX +#include +#endif #define MAXBSIZE (1L << 13) diff --git a/intl/chardet/tests/Makefile.in b/intl/chardet/tests/Makefile.in new file mode 100644 index 000000000000..cc49c3554bd4 --- /dev/null +++ b/intl/chardet/tests/Makefile.in @@ -0,0 +1,38 @@ +# +# 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 +# compliance with the NPL. You may obtain a copy of the NPL at +# http://www.mozilla.org/NPL/ +# +# Software distributed under the NPL is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL +# for the specific language governing rights and limitations under the +# NPL. +# +# The Initial Developer of this code under the NPL is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All Rights +# Reserved. + +DEPTH = ../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +CPPSRCS = DetectCharset.cpp + +include $(topsrcdir)/config/config.mk + +#DEFINES += -DUSE_NSREG +INCLUDES += -I$(srcdir)/../public -I$(DIST)/include + +LIBS = \ + -lxpcom \ + $(NSPR_LIBS) \ + $(NULL) + +PROGRAM = DetectCharset + +include $(topsrcdir)/config/rules.mk