#! 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 . " "
# 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
+USE_XPM_IN_MSW=1
PERIPH_LIBS=
PERIPH_TARGET=
!endif
!if "$(USE_XPM_IN_MSW)" == "1"
-PERIPH_LIBS=$(WXDIR)\xpm.lib $(PERIPH_LIBS)
+PERIPH_LIBS=$(WXDIR)\lib\xpm.lib $(PERIPH_LIBS)
PERIPH_TARGET=xpm $(PERIPH_TARGET)
PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
!endif
$(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS)
erase $(LIBTARGET)
- tlib $(LIBTARGET) /P1024 @&&!
+ tlib $(LIBTARGET) /P2048 @&&!
+$(COMMONOBJS:.obj =.obj +)\
+$(GENERICOBJS:.obj =.obj +)\
+$(MSWOBJS:.obj =.obj +)\
make -f makefile.bcc all_execs
cd $(WXDIR)\src\msw
-all_libs:
- cd $(WXDIR)\src\msw
- make -f makefile.bcc dib fafa gauge hytext itsy prologio rcparser wx wxgraph\
- wxstring wxtree mfutils # wxxpm
-
-all_contribs:
- cd $(WXDIR)\src\msw
- make -f makefile.bcc fafa wxstring itsy gauge # wxxpm
-
# CONTRIB
-wxxpm: $(CFG)
+xpm: $(CFG)
cd $(WXDIR)\src\xpm
make -f makefile.bcc -DCFG=$(CFG) -DFINAL=$(FINAL) -DWXWIN=$(WXDIR) -DDEBUG=$(DEBUG)
cd $(WXDIR)\src\msw
+clean_xpm: $(CFG)
+ cd $(WXDIR)\src\xpm
+ make -f makefile.bcc clean
+ cd $(WXDIR)\src\msw
+
png: $(CFG)
cd $(WXDIR)\src\png
make -f makefile.bcc