| # This Source Code Form is subject to the terms of the Mozilla Public |
| # License, v. 2.0. If a copy of the MPL was not distributed with this |
| # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| ifndef INCLUDED_VERSION_MK |
| # Build default .rc file if $(RESFILE) isn't defined. |
| # PBI : Private build info. Not used currently. |
| # Guessing the best way would be to set an env var. |
| # BINARY : Binary name. Not used currently. |
| ifeq ($(MOZ_WIDGET_TOOLKIT),windows) |
| _RC_STRING = -QUIET 1 -DEPTH $(DEPTH) -TOPSRCDIR $(MOZILLA_DIR) -OBJDIR . -SRCDIR $(srcdir) -DISPNAME $(MOZ_APP_DISPLAYNAME) -APPVERSION $(MOZ_APP_VERSION) |
| _RC_STRING += -OFFICIAL 1 |
| _RC_STRING += -BINARY $(PROGRAM) |
| _RC_STRING += -BINARY $(_PROGRAM) |
| _RC_STRING += -BINARY $(SHARED_LIBRARY) |
| _RC_STRING += -RCINCLUDE $(srcdir)/$(RCINCLUDE) |
| GARBAGE += $(RESFILE) $(RCFILE) |
| #dummy target so $(RCFILE) doesn't become the default =P |
| $(RCFILE): $(RCINCLUDE) $(MOZILLA_DIR)/config/version_win.pl |
| $(PERL) $(MOZILLA_DIR)/config/version_win.pl $(_RC_STRING) |