Closed Bug 102459 Opened 23 years ago Closed 23 years ago

CPPSRCS in windows makefiles is confusing

Categories

(SeaMonkey :: Build Config, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: dbaron, Assigned: leaf)

References

()

Details

Attachments

(2 files)

Having a CPPSRCS list in makefile.win is confusing, since it doesn't do anything
and it lures one into modifying the CPPSRCS list instead of the CPP_OBJS list. 
These only exist in makefiles originating from gecko, basically.

http://lxr.mozilla.org/seamonkey/search?string=CPPSRCS+%3D++%2CCPPSRCS+%3D%09&regexp=on
is a rough attempt at a query to find them.
Severity: normal → minor
Priority: -- → P4
Target Milestone: --- → mozilla1.0
Hey! Leaf's back! ;-)
Assignee: seawood → leaf
Priority: P4 → --
Target Milestone: mozilla1.0 → ---
thanks, david. I'll get out my scissors and post something soon.
(i'm even in mountain view! whee!)
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.7
ok, only two months later and i have a tree with the changes. I'll post a patch
and start a test build; cc'ing mkaply in case for whatever reason OS/2 needs
CPPSRCS defined.
Nope, I don't know how it snuck into an OS/2 Makefile.in except with a block 
copy.

Feel free to kill it there.
Comment on attachment 60220 [details] [diff] [review]
remove cppsrcs, some whitespace cleanup where tabs were noticed

r=dbaron, except that nsLayoutDLF shouldn't be part of the build, so don't add
it.  We already have nsContentDLF, and the duplicated code should probably be
cvs-removed at some point.
Attachment #60220 - Flags: review+
If OS/2 is using the unix build system, CPPSRCS is the right thing to have; my
patch doesn't touch any Makefile.ins

erp, added a file to a CPP_OBJS list that shouldn't have been there, the real
diff for mozilla/layout/build/makefile.win should be:

Index: makefile.win
===================================================================
RCS file: /cvsroot/mozilla/layout/build/makefile.win,v
retrieving revision 3.56
diff -c -r3.56 makefile.win
*** makefile.win	29 Oct 2001 20:15:59 -0000	3.56
--- makefile.win	3 Dec 2001 23:26:58 -0000
***************
*** 38,45 ****
  LIBRARY_NAME=gklayout
  MODULE_NAME=nsLayoutModule
  
- CPPSRCS=dlldeps.cpp nsLayoutDLF.cpp nsLayoutFactory.cpp
- 
  CPP_OBJS=	
		\
  	.\$(OBJDIR)\dlldeps.obj
	\
  	.\$(OBJDIR)\nsLayoutModule.obj	\
--- 38,43 ----
Comment on attachment 60220 [details] [diff] [review]
remove cppsrcs, some whitespace cleanup where tabs were noticed

looks good to me. rs=cls
Attachment #60220 - Flags: superreview+
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: