mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Removed full relative include path for l10n headers. Added -I$(DEPTH)/l10n/us to INCLUDES. Removed $(NSPR_LIBS) from *_DEPLIBS.
This commit is contained in:
parent
c8b0ce6be3
commit
5c029822ca
@ -191,7 +191,7 @@ endif
|
|||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
INCLUDES += -I$(srcdir)/. $(GNOME_CFLAGS)
|
INCLUDES += -I$(srcdir)/. -I$(DEPTH)/l10n/us $(GNOME_CFLAGS)
|
||||||
|
|
||||||
DEFINES += -DNEW_DECODERS -DGNOME_FE
|
DEFINES += -DNEW_DECODERS -DGNOME_FE
|
||||||
|
|
||||||
@ -412,14 +412,14 @@ endif
|
|||||||
|
|
||||||
BASIC_LIBS += $(DIST)/lib/libhtmldlgs.a $(DIST)/lib/libsecfree.a
|
BASIC_LIBS += $(DIST)/lib/libhtmldlgs.a $(DIST)/lib/libsecfree.a
|
||||||
|
|
||||||
EXPORT_LDFLAGS = $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(OTHER_LIBS) $(NSPR_LIBS)
|
EXPORT_LDFLAGS = $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
EXPORT_DEPLIBS = $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS)
|
EXPORT_DEPLIBS = $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2)
|
||||||
|
|
||||||
FRANCE_LDFLAGS = $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2) $(OTHER_LIBS) $(NSPR_LIBS)
|
FRANCE_LDFLAGS = $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2) $(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
FRANCE_DEPLIBS = $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS)
|
FRANCE_DEPLIBS = $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2)
|
||||||
|
|
||||||
US_LDFLAGS = $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2) $(OTHER_LIBS) $(NSPR_LIBS)
|
US_LDFLAGS = $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2) $(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
US_DEPLIBS = $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS)
|
US_DEPLIBS = $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2)
|
||||||
|
|
||||||
DSO_EX_LIBS = $(EXPORT_LDFLAGS:$(DIST)/lib/lib%.a=-l%)
|
DSO_EX_LIBS = $(EXPORT_LDFLAGS:$(DIST)/lib/lib%.a=-l%)
|
||||||
DSO_EX_LIBS = $(FRANCE_LDFLAGS:$(DIST)/lib/lib%.a=-l%)
|
DSO_EX_LIBS = $(FRANCE_LDFLAGS:$(DIST)/lib/lib%.a=-l%)
|
||||||
@ -591,9 +591,9 @@ ifeq ($(OS_ARCH),OSF1)
|
|||||||
|
|
||||||
OTHER_LIBS = -ldnet_stubs -lm -lots $(OS_LIBS)
|
OTHER_LIBS = -ldnet_stubs -lm -lots $(OS_LIBS)
|
||||||
|
|
||||||
EXPORT_LDFLAGS = $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS) $(OTHER_LIBS)
|
EXPORT_LDFLAGS = $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
FRANCE_LDFLAGS = $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS) $(OTHER_LIBS)
|
FRANCE_LDFLAGS = $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2) $(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
US_LDFLAGS = $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS) $(OTHER_LIBS)
|
US_LDFLAGS = $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2) $(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
|
|
||||||
ifdef MOZ_EDITOR
|
ifdef MOZ_EDITOR
|
||||||
#
|
#
|
||||||
@ -714,13 +714,13 @@ endif
|
|||||||
|
|
||||||
US_LDFLAGS = -z defs -L$(USRLIBDIR) \
|
US_LDFLAGS = -z defs -L$(USRLIBDIR) \
|
||||||
-R$(USRLIBDIR) $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2) \
|
-R$(USRLIBDIR) $(BASIC_LIBS) $(US_LIB) $(BASIC_LIBS_2) \
|
||||||
$(OTHER_LIBS) $(NSPR_LIBS)
|
$(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
EXPORT_LDFLAGS = -z defs -L$(USRLIBDIR) \
|
EXPORT_LDFLAGS = -z defs -L$(USRLIBDIR) \
|
||||||
-R$(USRLIBDIR) $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) \
|
-R$(USRLIBDIR) $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) \
|
||||||
$(OTHER_LIBS) $(NSPR_LIBS)
|
$(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
FRANCE_LDFLAGS = -z defs -L$(USRLIBDIR) \
|
FRANCE_LDFLAGS = -z defs -L$(USRLIBDIR) \
|
||||||
-R$(USRLIBDIR) $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2) \
|
-R$(USRLIBDIR) $(BASIC_LIBS) $(FRANCE_LIB) $(BASIC_LIBS_2) \
|
||||||
$(OTHER_LIBS) $(NSPR_LIBS)
|
$(NSPR_LDFLAGS) $(NSPR_LIBS) $(OTHER_LIBS)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -1215,7 +1215,7 @@ pure: $(OBJDIR)/$(XFE_PROGNAME)-export $(OBJDIR)/$(XFE_PROGNAME)-export.pure
|
|||||||
quantify: $(OBJDIR)/$(XFE_PROGNAME)-export $(OBJDIR)/$(XFE_PROGNAME)-export.quantify
|
quantify: $(OBJDIR)/$(XFE_PROGNAME)-export $(OBJDIR)/$(XFE_PROGNAME)-export.quantify
|
||||||
|
|
||||||
# Use gtscc to find dead code globals.
|
# Use gtscc to find dead code globals.
|
||||||
unreferenced: $(OBJS) $(NET_EXPORT_OBJS) $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS) $(DIST)/bin/gtscc
|
unreferenced: $(OBJS) $(NET_EXPORT_OBJS) $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(DIST)/bin/gtscc
|
||||||
@$(MAKE_OBJDIR)
|
@$(MAKE_OBJDIR)
|
||||||
rm -f $@
|
rm -f $@
|
||||||
$(DIST)/bin/gtscc -gtsrootdir $(DEPTH) -gtsdump -gtsnorecompile -gtsnolink $(DEPTH) $(OBJS) $(NET_EXPORT_OBJS) $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS) | awk -n '/ 0 0 / { print $$5 " " $$1 }' | sort > $@
|
$(DIST)/bin/gtscc -gtsrootdir $(DEPTH) -gtsdump -gtsnorecompile -gtsnolink $(DEPTH) $(OBJS) $(NET_EXPORT_OBJS) $(BASIC_LIBS) $(EXPORT_LIB) $(BASIC_LIBS_2) $(NSPR_LIBS) | awk -n '/ 0 0 / { print $$5 " " $$1 }' | sort > $@
|
||||||
|
@ -1218,15 +1218,15 @@ FE_AboutData(const char* which,
|
|||||||
a = strdup (
|
a = strdup (
|
||||||
#ifdef JAVA
|
#ifdef JAVA
|
||||||
#ifndef MOZ_COMMUNICATOR_ABOUT
|
#ifndef MOZ_COMMUNICATOR_ABOUT
|
||||||
# include "../../l10n/us/xp/about-java-lite.h"
|
# include "xp/about-java-lite.h"
|
||||||
#else
|
#else
|
||||||
# include "../../l10n/us/xp/about-java.h"
|
# include "xp/about-java.h"
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifndef MOZ_COMMUNICATOR_ABOUT
|
#ifndef MOZ_COMMUNICATOR_ABOUT
|
||||||
# include "../../l10n/us/xp/about-lite.h"
|
# include "xp/about-lite.h"
|
||||||
#else
|
#else
|
||||||
# include "../../l10n/us/xp/about.h"
|
# include "xp/about.h"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
@ -1248,15 +1248,15 @@ FE_AboutData(const char* which,
|
|||||||
a = strdup (
|
a = strdup (
|
||||||
#ifdef JAVA
|
#ifdef JAVA
|
||||||
#ifndef MOZ_COMMUNICATOR_ABOUT
|
#ifndef MOZ_COMMUNICATOR_ABOUT
|
||||||
# include "../../l10n/us/xp/splash-java-lite.h"
|
# include "xp/splash-java-lite.h"
|
||||||
#else
|
#else
|
||||||
# include "../../l10n/us/xp/splash-java.h"
|
# include "xp/splash-java.h"
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifndef MOZ_COMMUNICATOR_ABOUT
|
#ifndef MOZ_COMMUNICATOR_ABOUT
|
||||||
# include "../../l10n/us/xp/splash-lite.h"
|
# include "xp/splash-lite.h"
|
||||||
#else
|
#else
|
||||||
# include "../../l10n/us/xp/splash.h"
|
# include "xp/splash.h"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
@ -1266,7 +1266,7 @@ FE_AboutData(const char* which,
|
|||||||
{
|
{
|
||||||
ever_loaded_map = TRUE;
|
ever_loaded_map = TRUE;
|
||||||
a = strdup (
|
a = strdup (
|
||||||
# include "../../l10n/us/xp/authors2.h"
|
# include "xp/authors2.h"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else if (!strcmp (which,"license"))
|
else if (!strcmp (which,"license"))
|
||||||
@ -1289,7 +1289,7 @@ FE_AboutData(const char* which,
|
|||||||
else if (!strcmp (which,"mozilla"))
|
else if (!strcmp (which,"mozilla"))
|
||||||
{
|
{
|
||||||
a = strdup (
|
a = strdup (
|
||||||
# include "../../l10n/us/xp/mozilla.h"
|
# include "xp/mozilla.h"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else if (!strcmp (which,
|
else if (!strcmp (which,
|
||||||
@ -1307,7 +1307,7 @@ FE_AboutData(const char* which,
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
a = strdup (
|
a = strdup (
|
||||||
# include "../../l10n/us/xp/mail.h"
|
# include "xp/mail.h"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1335,7 +1335,7 @@ FE_AboutData(const char* which,
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
a = strdup (
|
a = strdup (
|
||||||
# include "../../l10n/us/xp/aboutplg.h"
|
# include "xp/aboutplg.h"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user