]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/makefile.sc
allow untranslated accelerators, too
[wxWidgets.git] / src / msw / makefile.sc
index d888a7abc5eb47b6ef211abc2dee050722a31e05..f82064a06fb32e2d132f8fbeca16c405264c87d7 100644 (file)
@@ -8,13 +8,13 @@
 
 # configuration section (see src\makefile.sc) ###########################
 
-WXDIR = $(WXWIN)
+WXDIR = ..\..
 
 include ..\makesc.env
 
 DEBUG=0
 
-LIBTARGET = $(LIBDIR)\wx.lib
+LIBTARGET = $(LIBDIR)\wx$(SC_SUFFIX).lib
 
 OPTIONS=
 
@@ -22,6 +22,7 @@ OPTIONS=
 
 GENDIR=$(WXDIR)\src\generic
 COMMDIR=$(WXDIR)\src\common
+HTMLDIR=$(WXDIR)\src\html
 OLEDIR=ole
 MSWDIR=$(WXDIR)\src\msw
 
@@ -40,9 +41,6 @@ GENERICOBJS= $(GENDIR)\busyinfo.obj \
                $(GENDIR)\numdlgg.obj \
                $(GENDIR)\panelg.obj \
                $(GENDIR)\progdlgg.obj \
-               $(GENDIR)\prop.obj \
-               $(GENDIR)\propform.obj \
-               $(GENDIR)\proplist.obj \
                $(GENDIR)\sashwin.obj \
                $(GENDIR)\scrlwing.obj \
                $(GENDIR)\spinctlg.obj \
@@ -54,12 +52,12 @@ GENERICOBJS= $(GENDIR)\busyinfo.obj \
                $(GENDIR)\tipdlg.obj \
                $(GENDIR)\tipwin.obj \
                $(GENDIR)\treectlg.obj \
-               $(GENDIR)\treelay.obj \
                $(GENDIR)\wizard.obj
 
-COMMONOBJS = \
-               $(COMMDIR)\y_tab.obj \
+COMMONOBJS = $(COMMDIR)\accesscmn.obj \
                $(COMMDIR)\appcmn.obj \
+               $(COMMDIR)\artprov.obj \
+               $(COMMDIR)\artstd.obj \
                $(COMMDIR)\choiccmn.obj \
                $(COMMDIR)\clipcmn.obj \
                $(COMMDIR)\clntdata.obj \
@@ -71,6 +69,7 @@ COMMONOBJS = \
                $(COMMDIR)\cshelp.obj \
                $(COMMDIR)\ctrlcmn.obj \
                $(COMMDIR)\ctrlsub.obj \
+               $(COMMDIR)\datacmn.obj \
                $(COMMDIR)\datetime.obj \
                $(COMMDIR)\datstrm.obj \
                $(COMMDIR)\db.obj \
@@ -83,6 +82,7 @@ COMMONOBJS = \
                $(COMMDIR)\dobjcmn.obj \
                $(COMMDIR)\docmdi.obj \
                $(COMMDIR)\docview.obj \
+               $(COMMDIR)\dpycmn.obj \
                $(COMMDIR)\dseldlg.obj \
                $(COMMDIR)\dynarray.obj \
                $(COMMDIR)\dynlib.obj \
@@ -113,9 +113,11 @@ COMMONOBJS = \
                $(COMMDIR)\hashmap.obj \
                $(COMMDIR)\helpbase.obj \
                $(COMMDIR)\http.obj \
+               $(COMMDIR)\iconbndl.obj \
                $(COMMDIR)\imagall.obj \
                $(COMMDIR)\imagbmp.obj \
                $(COMMDIR)\image.obj \
+               $(COMMDIR)\imagfill.obj \
                $(COMMDIR)\imaggif.obj \
                $(COMMDIR)\imagiff.obj \
                $(COMMDIR)\imagjpeg.obj \
@@ -136,10 +138,10 @@ COMMONOBJS = \
                $(COMMDIR)\menucmn.obj \
                $(COMMDIR)\mimecmn.obj \
                $(COMMDIR)\module.obj \
+               $(COMMDIR)\msgout.obj \
                $(COMMDIR)\mstream.obj \
                $(COMMDIR)\nbkbase.obj \
                $(COMMDIR)\object.obj \
-               $(COMMDIR)\odbc.obj \
                $(COMMDIR)\paper.obj \
                $(COMMDIR)\popupcmn.obj \
                $(COMMDIR)\prntbase.obj \
@@ -148,11 +150,12 @@ COMMONOBJS = \
                $(COMMDIR)\quantize.obj \
                $(COMMDIR)\radiocmn.obj \
                $(COMMDIR)\regex.obj \
-               $(COMMDIR)\resource.obj \
+               $(COMMDIR)\rgncmn.obj \
                $(COMMDIR)\sckaddr.obj \
                $(COMMDIR)\sckfile.obj \
                $(COMMDIR)\sckipc.obj \
                $(COMMDIR)\sckstrm.obj \
+               $(COMMDIR)\settcmn.obj \
                $(COMMDIR)\sizer.obj \
                $(COMMDIR)\socket.obj \
                $(COMMDIR)\statbar.obj \
@@ -160,6 +163,7 @@ COMMONOBJS = \
                $(COMMDIR)\stream.obj \
                $(COMMDIR)\string.obj \
                $(COMMDIR)\sysopt.obj \
+               $(COMMDIR)\taskbarcmn.obj \
                $(COMMDIR)\tbarbase.obj \
                $(COMMDIR)\textbuf.obj \
                $(COMMDIR)\textcmn.obj \
@@ -179,12 +183,33 @@ COMMONOBJS = \
                $(COMMDIR)\wfstream.obj \
                $(COMMDIR)\wincmn.obj \
                $(COMMDIR)\wxchar.obj \
-               $(COMMDIR)\wxexpr.obj \
                $(COMMDIR)\xpmdecod.obj \
                $(COMMDIR)\zipstrm.obj \
                $(COMMDIR)\zstream.obj
 
+HTMLOBJS = $(HTMLDIR)\helpctrl.obj \
+               $(HTMLDIR)\helpdata.obj \
+               $(HTMLDIR)\helpfrm.obj \
+               $(HTMLDIR)\htmlcell.obj \
+               $(HTMLDIR)\htmlfilt.obj \
+               $(HTMLDIR)\htmlpars.obj \
+               $(HTMLDIR)\htmltag.obj \
+               $(HTMLDIR)\htmlwin.obj \
+               $(HTMLDIR)\htmprint.obj \
+               $(HTMLDIR)\m_dflist.obj \
+               $(HTMLDIR)\m_fonts.obj \
+               $(HTMLDIR)\m_hline.obj \
+               $(HTMLDIR)\m_image.obj \
+               $(HTMLDIR)\m_layout.obj \
+               $(HTMLDIR)\m_links.obj \
+               $(HTMLDIR)\m_list.obj \
+               $(HTMLDIR)\m_pre.obj \
+               $(HTMLDIR)\m_style.obj \
+               $(HTMLDIR)\m_tables.obj \
+               $(HTMLDIR)\winpars.obj
+
 MSWOBJS = $(MSWDIR)\accel.obj \
+               $(MSWDIR)\ole\access.obj \
                $(MSWDIR)\app.obj \
                $(MSWDIR)\ole\automtn.obj \
                $(MSWDIR)\bitmap.obj \
@@ -200,7 +225,6 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\colour.obj \
                $(MSWDIR)\combobox.obj \
                $(MSWDIR)\control.obj \
-               $(MSWDIR)\curico.obj \
                $(MSWDIR)\cursor.obj \
                $(MSWDIR)\data.obj \
                $(MSWDIR)\ole\dataobj.obj \
@@ -213,9 +237,9 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\dialog.obj \
                $(MSWDIR)\dialup.obj \
                $(MSWDIR)\dib.obj \
-               $(MSWDIR)\dibutils.obj \
                $(MSWDIR)\dir.obj \
                $(MSWDIR)\dirdlg.obj \
+               $(MSWDIR)\display.obj \
                $(MSWDIR)\dragimag.obj \
                $(MSWDIR)\ole\dropsrc.obj \
                $(MSWDIR)\ole\droptgt.obj \
@@ -229,7 +253,6 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\fontutil.obj \
                $(MSWDIR)\frame.obj \
                $(MSWDIR)\gauge95.obj \
-               $(MSWDIR)\gaugemsw.obj \
                $(MSWDIR)\gdiimage.obj \
                $(MSWDIR)\gdiobj.obj \
                $(MSWDIR)\glcanvas.obj \
@@ -239,8 +262,11 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\helpchm.obj \
                $(MSWDIR)\helpwin.obj \
                $(MSWDIR)\icon.obj \
+               $(MSWDIR)\imaglist.obj \
                $(MSWDIR)\iniconf.obj \
+               $(MSWDIR)\joystick.obj \
                $(MSWDIR)\listbox.obj \
+               $(MSWDIR)\listctrl.obj \
                $(MSWDIR)\main.obj \
                $(MSWDIR)\mdi.obj \
                $(MSWDIR)\menu.obj \
@@ -251,11 +277,13 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\msgdlg.obj \
                $(MSWDIR)\mslu.obj \
                $(MSWDIR)\nativdlg.obj \
+               $(MSWDIR)\notebook.obj \
                $(MSWDIR)\ole\oleutils.obj \
                $(MSWDIR)\ownerdrw.obj \
                $(MSWDIR)\palette.obj \
                $(MSWDIR)\pen.obj \
                $(MSWDIR)\penwin.obj \
+               $(MSWDIR)\popupwin.obj \
                $(MSWDIR)\printdlg.obj \
                $(MSWDIR)\printwin.obj \
                $(MSWDIR)\radiobox.obj \
@@ -266,7 +294,6 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\scrolbar.obj \
                $(MSWDIR)\settings.obj \
                $(MSWDIR)\slider95.obj \
-               $(MSWDIR)\slidrmsw.obj \
                $(MSWDIR)\snglinst.obj \
                $(MSWDIR)\spinbutt.obj \
                $(MSWDIR)\spinctrl.obj \
@@ -278,7 +305,6 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\tabctrl.obj \
                $(MSWDIR)\taskbar.obj \
                $(MSWDIR)\tbar95.obj \
-               $(MSWDIR)\tbarmsw.obj \
                $(MSWDIR)\textctrl.obj \
                $(MSWDIR)\tglbtn.obj \
                $(MSWDIR)\thread.obj \
@@ -294,28 +320,66 @@ MSWOBJS = $(MSWDIR)\accel.obj \
                $(MSWDIR)\window.obj
 
 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
-OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
+OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) 
+
+all: MAKEARCHDIR MAKELIBS $(LIBTARGET) zlib png jpeg tiff regex
+
+MAKEARCHDIR:
+    @if not exist $(MSWINCDIR)\setup.h copy $(MSWINCDIR)\setup0.h $(MSWINCDIR)\setup.h
+    @if not exist $(ARCHINCDIR)\wx\setup.h mkdir $(ARCHINCDIR)
+    @if not exist $(ARCHINCDIR)\wx\setup.h mkdir $(ARCHINCDIR)\wx
+    @if not exist $(ARCHINCDIR)\wx\setup.h copy $(MSWINCDIR)\setup.h $(ARCHINCDIR)\wx\setup.h
 
-all: $(LIBTARGET)
+#build our own copies of missing libraries
+MAKELIBS:
+      implib  /s $(LIBDIR)\$(SHELLLIB) $(LIBDIR)\$(SC_SUFFIX)\$(SHELLLIB).def
+      implib  /s $(LIBDIR)\$(WINSOCKLIB) $(LIBDIR)\$(SC_SUFFIX)\$(WINSOCKLIB).def
 
 $(LIBTARGET): $(OBJECTS)
        -del $(LIBTARGET)
        *lib /PAGESIZE:512 $(LIBTARGET) y $(OBJECTS), nul;
 
-clean:
+clean: clean_msw clean_zlib clean_png clean_jpeg clean_tiff clean_regex
+
+clean_msw:
+       -del $(COMMDIR)\*.obj
+       -del $(MSWDIR)\*.obj
+       -del $(GENDIR)\*.obj
+        -del $(HTMLDIR)\*.obj
        -del *.obj
-    -del $(LIBTARGET)
+       -del *.sym
+        -del ole\*.obj
+        -del $(LIBTARGET)
+
+png:   
+        make -f $(WXDIR)\src\png\makefile.sc FINAL=$(FINAL)
+
+clean_png:
+        make -f $(WXDIR)\src\png\makefile.sc clean
+
+zlib:   
+        make -f $(WXDIR)\src\zlib\makefile.sc FINAL=$(FINAL) 
+
+clean_zlib:
+        make -f $(WXDIR)\src\zlib\makefile.sc clean
+
+jpeg:   
+        make -f $(WXDIR)\src\jpeg\makefile.sc FINAL=$(FINAL)
+
+clean_jpeg:
+        make -f $(WXDIR)\src\jpeg\makefile.sc clean
 
-$(COMMDIR)\y_tab.obj:     $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
+regex:  
+        make -f $(WXDIR)\src\regex\makefile.sc FINAL=$(FINAL) 
 
-$(COMMDIR)\y_tab.c:     $(COMMDIR)\dosyacc.c
-        copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
+clean_regex:
+        make -f $(WXDIR)\src\regex\makefile.sc clean
 
-$(COMMDIR)\lex_yy.c:    $(COMMDIR)\doslex.c
-    copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
+tiff:  
+        make -f $(WXDIR)\src\tiff\makefile.sc FINAL=$(FINAL) 
 
-# $(COMMDIR)\cmndata.obj:     $(COMMDIR)\cmndata.cpp
-#      *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $(COMMDIR)\cmndata.cpp -o$(COMMDIR)\cmndata.obj
+clean_tiff:
+        make -f $(WXDIR)\src\tiff\makefile.sc clean
 
 MFTYPE=sc
 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t