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