X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fb3a512a85572ebf4b4f46eaf536727dfe4e01e..445365141a2b028acbd779aa352bf664d930cfb5:/distrib/msw/tmake/bcc.t diff --git a/distrib/msw/tmake/bcc.t b/distrib/msw/tmake/bcc.t index 3fe2a8915c..d9ccb8f43e 100644 --- a/distrib/msw/tmake/bcc.t +++ b/distrib/msw/tmake/bcc.t @@ -20,7 +20,10 @@ #! now transform these hashes into $project tags foreach $file (sort keys %wxGeneric) { my $tag = ""; - next if $wxGeneric{$file} =~ /\b(PS|G|U)\b/; + if ( $wxGeneric{$file} =~ /\b(PS|G|U)\b/ ) { + #! Need this file too since it has wxGenericPageSetupDialog + next unless $file =~ /^prntdlgg\./; + } $file =~ s/cp?p?$/obj/; $project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " " @@ -28,7 +31,7 @@ foreach $file (sort keys %wxCommon) { #! socket files don't compile under Win16 currently - next if $wxCommon{$file} =~ /\b(32|S)\b/; + next if $wxCommon{$file} =~ /\b(32|S|U)\b/; #! needs extra files (sql*.h) so not compiled by default. next if $file =~ /^odbc\./; @@ -55,7 +58,7 @@ } #$} -# 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 BCC.T! # @@ -95,20 +98,13 @@ THISDIR = $(WXDIR)\src\msw # Please set these according to the settings in wx_setup.h, so we can include # the appropriate libraries in wx.lib USE_CTL3D=1 -USE_XPM_IN_MSW=0 PERIPH_LIBS= PERIPH_TARGET= PERIPH_CLEAN_TARGET= !if "$(USE_CTL3D)" == "1" -PERIPH_LIBS=$(BCCDIR)\lib\ctl3dv2.lib $(PERIPH_LIBS) -!endif - -!if "$(USE_XPM_IN_MSW)" == "1" -PERIPH_LIBS=$(WXDIR)\xpm.lib $(PERIPH_LIBS) -PERIPH_TARGET=xpm $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) +PERIPH_LIBS=$(WXDIR)\lib\bcc16\ctl3dv2.lib $(PERIPH_LIBS) !endif # TODO: add these libraries @@ -144,7 +140,7 @@ wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) $(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS) erase $(LIBTARGET) - tlib $(LIBTARGET) /P1024 @&&! + tlib $(LIBTARGET) /P2048 @&&! +$(COMMONOBJS:.obj =.obj +)\ +$(GENERICOBJS:.obj =.obj +)\ +$(MSWOBJS:.obj =.obj +)\ @@ -174,7 +170,7 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c foreach (@objs) { $text .= $_ . ": "; $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)'; - s/obj/$suffix/; + s/obj$/$suffix/; $text .= $_ . "\n\n"; } #$} @@ -189,7 +185,7 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c $text .= $_ . ": "; $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)'; s/MSWDIR/COMMDIR/; - s/obj/$suffix/; + s/obj$/$suffix/; $text .= $_ . "\n\n"; } #$} @@ -204,7 +200,7 @@ $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c foreach (@objs) { $text .= $_ . ": "; s/MSWDIR/GENDIR/; - s/obj/\$(SRCSUFF)/; + s/obj$/\$(SRCSUFF)/; $text .= $_ . "\n\n"; } #$} @@ -224,26 +220,7 @@ all_execs: make -f makefile.bcc all_execs cd $(WXDIR)\src\msw -all_libs: - cd $(WXDIR)\src\msw - make -f makefile.bcc ctl3d dib fafa gauge hytext itsy prologio rcparser wx wxgraph\ - wxstring wxtree mfutils # wxxpm - -all_contribs: - cd $(WXDIR)\src\msw - make -f makefile.bcc ctl3d fafa wxstring itsy gauge # wxxpm - # CONTRIB -ctl3d: $(CFG) - cd $(WXDIR)\src\msw\ctl3d\borland - make -f makefile.bcc -DCFG=$(CFG) - cd $(WXDIR)\src\msw - -wxxpm: $(CFG) - cd $(WXDIR)\src\xpm - make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG) - cd $(WXDIR)\src\msw - png: $(CFG) cd $(WXDIR)\src\png make -f makefile.bcc @@ -281,7 +258,7 @@ $(CFG): makefile.bcc -Fs- -Vf -Ff=4 --I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm +-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/zlib -I$(WXDIR)\include\wx\msw\gnuwin32 -L$(BCCDIR)\lib -D__WXWIN__