Closed Bug 15303 Opened 25 years ago Closed 25 years ago

Makefiles break when Java compilation is enabled

Categories

(SeaMonkey :: Build Config, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: frankm, Assigned: briano)

Details

When Java compilation is enabled, any attempt to build with the Unix makefiles
fails with a message about "commands before first rule".  The problem lies in a
syntax error in rules.mk.  Below is a patch (thanks to pstoll@bellatlantic.net):


Index: rules.mk
===================================================================
RCS file: /cvsroot/mozilla/config/rules.mk,v
retrieving revision 3.156
diff -c -r3.156 rules.mk
*** rules.mk    1999/09/22 09:54:00     3.156
--- rules.mk    1999/09/30 22:53:38
***************
*** 177,183 ****
                          $(JRI_HEADER_CFILES) $(JRI_STUB_CFILES) $(JMC_STUBS) \
                          $(JMC_HEADERS) $(JMC_EXPORT_FILES) so_locations \
                          _gen _jmc _jri _stubs $(MDDEPDIR) \
!                           $(wildcard gts_tmp_*) $(PROGOBJS)
                          $(wildcard $(JAVA_DESTPATH)/$(PACKAGE)/*.class)
  else
  ALL_TRASH             = $(TARGETS) $(OBJS) LOGS TAGS $(GARBAGE) a.out \
--- 177,183 ----
                          $(JRI_HEADER_CFILES) $(JRI_STUB_CFILES) $(JMC_STUBS) \
                          $(JMC_HEADERS) $(JMC_EXPORT_FILES) so_locations \
                          _gen _jmc _jri _stubs $(MDDEPDIR) \
!                           $(wildcard gts_tmp_*) $(PROGOBJS) \
                          $(wildcard $(JAVA_DESTPATH)/$(PACKAGE)/*.class)
  else
  ALL_TRASH             = $(TARGETS) $(OBJS) LOGS TAGS $(GARBAGE) a.out \
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M11
Fixed.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.