X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2071dda0b6016afed8777a4dd23f0ada537026b..5f605ccf3fcce969d9a634bf1cf6aa4f13f74d2e:/distrib/msw/tmake/sc.t diff --git a/distrib/msw/tmake/sc.t b/distrib/msw/tmake/sc.t index f79733cfd8..9ac3bf7c9d 100644 --- a/distrib/msw/tmake/sc.t +++ b/distrib/msw/tmake/sc.t @@ -27,6 +27,8 @@ } foreach $file (sort keys %wxCommon) { + next if $wxCommon{$file} =~ /\b(16|U)\b/; + $file =~ s/cp?p?$/obj/; $project{"WXCOMMONOBJS"} .= '$(COMMDIR)\\' . $file . " " } @@ -37,12 +39,15 @@ next if $wxGeneric{$file} =~ /\b16\b/; + my $isOleObj = $wxMSW{$file} =~ /\bO\b/; $file =~ s/cp?p?$/obj/; - $project{"WXMSWOBJS"} .= '$(MSWDIR)\\' . $file . " " + $project{"WXMSWOBJS"} .= '$(MSWDIR)\\'; + $project{"WXMSWOBJS"} .= 'ole\\' if $isOleObj; + $project{"WXMSWOBJS"} .= $file . " " } #$} -# This file was automatically generated by tmake at #$ Now() +# This file was automatically generated by tmake # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE SC.T! # Symantec C++ makefile for the msw objects @@ -64,7 +69,6 @@ OPTIONS= GENDIR=$(WXDIR)\src\generic COMMDIR=$(WXDIR)\src\common -XPMDIR=$(WXDIR)\src\xpm OLEDIR=ole MSWDIR=$(WXDIR)\src\msw @@ -76,20 +80,8 @@ COMMONOBJS = \ MSWOBJS = #$ ExpandList("WXMSWOBJS"); -XPMOBJECTS = $(XPMDIR)\crbuffri.obj\ - $(XPMDIR)\crdatfri.obj\ - $(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\ - $(XPMDIR)\crifrdat.obj\ - $(XPMDIR)\data.obj\ - $(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\ - $(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\ - $(XPMDIR)\rdftoi.obj\ - $(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\ - $(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\ - $(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj - # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. -OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # $(XPMOBJECTS) +OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) all: $(LIBTARGET) @@ -112,3 +104,8 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c # $(COMMDIR)\cmndata.obj: $(COMMDIR)\cmndata.cpp # *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $(COMMDIR)\cmndata.cpp -o$(COMMDIR)\cmndata.obj +MFTYPE=sc +makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t + cd $(WXWIN)\distrib\msw\tmake + tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) + copy makefile.$(MFTYPE) $(WXWIN)\src\msw