vendor/tracemonkey/config/Makefile.in in johnson-2.0.0.pre0 vs vendor/tracemonkey/config/Makefile.in in johnson-2.0.0.pre1
- old
+ new
@@ -46,18 +46,19 @@
# For sanity's sake, we compile nsinstall without the wrapped system
# headers, so that we can use it to set up the wrapped system headers.
VISIBILITY_FLAGS =
-ifneq (,$(CROSS_COMPILE)$(filter-out WINNT OS2,$(OS_ARCH)))
-ifneq ($(OS_ARCH), WINCE)
HOST_PROGRAM = nsinstall$(HOST_BIN_SUFFIX)
+
+ifeq (WINNT,$(HOST_OS_ARCH))
+HOST_CSRCS = nsinstall_win.c
+else
HOST_CSRCS = nsinstall.c pathsub.c
endif
-endif
-PLSRCS = nfspwd.pl revdepth.pl
+PLSRCS = nfspwd.pl
TARGETS = $(HOST_PROGRAM) $(PLSRCS:.pl=) $(SIMPLE_PROGRAMS)
# IMPORTANT: Disable NSBUILDROOT for this directory only, otherwise we have
# a recursive rule for finding nsinstall and the Perl scripts.
@@ -80,10 +81,12 @@
# Do not install util programs
NO_INSTALL=1
include $(topsrcdir)/config/rules.mk
+HOST_CFLAGS += -DUNICODE -D_UNICODE
+
export:: $(TARGETS)
ifdef HOST_PROGRAM
$(INSTALL) $(HOST_PROGRAM) $(DIST)/bin
endif
@@ -91,10 +94,10 @@
export::
if test ! -d system_wrappers_js; then mkdir system_wrappers_js; fi
$(PERL) $(srcdir)/preprocessor.pl $(DEFINES) $(ACDEFINES) \
-DBUILD_STATIC_LIBS=$(BUILD_STATIC_LIBS) \
$(srcdir)/system-headers | $(PERL) $(srcdir)/make-system-wrappers.pl system_wrappers_js
- $(INSTALL) system_wrappers_js $(DIST)/include
+ $(INSTALL) system_wrappers_js $(DIST)
GARBAGE_DIRS += system_wrappers_js
endif
FORCE: