# Makefile : Builds wxWindows library for Watcom C++, WIN32
!include ..\makewat.env
-LIBTARGET = $(WXDIR)\lib\wx$(TOOLKIT)$(DEBGUSUFFIX)_w.lib
+LIBTARGET = $(WXDIR)\lib\$(LIBNAME).lib
EXTRATARGETS = png zlib jpeg tiff regex
EXTRATARGETSCLEAN = clean_png clean_zlib clean_jpeg clean_tiff clean_regex
$(OUTPUTDIR)\numdlgg.obj &
$(OUTPUTDIR)\panelg.obj &
$(OUTPUTDIR)\progdlgg.obj &
- $(OUTPUTDIR)\prop.obj &
- $(OUTPUTDIR)\propform.obj &
- $(OUTPUTDIR)\proplist.obj &
$(OUTPUTDIR)\sashwin.obj &
$(OUTPUTDIR)\scrlwing.obj &
$(OUTPUTDIR)\spinctlg.obj &
$(OUTPUTDIR)\tipdlg.obj &
$(OUTPUTDIR)\tipwin.obj &
$(OUTPUTDIR)\treectlg.obj &
- $(OUTPUTDIR)\treelay.obj &
$(OUTPUTDIR)\wizard.obj
# These are generic things that don't need to be compiled on MSW,
$(OUTPUTDIR)\timer.obj
COMMONOBJS = &
- $(OUTPUTDIR)\y_tab.obj &
+ $(OUTPUTDIR)\accesscmn.obj &
$(OUTPUTDIR)\appcmn.obj &
$(OUTPUTDIR)\artprov.obj &
$(OUTPUTDIR)\artstd.obj &
$(OUTPUTDIR)\dobjcmn.obj &
$(OUTPUTDIR)\docmdi.obj &
$(OUTPUTDIR)\docview.obj &
+ $(OUTPUTDIR)\dpycmn.obj &
$(OUTPUTDIR)\dseldlg.obj &
$(OUTPUTDIR)\dynarray.obj &
$(OUTPUTDIR)\dynlib.obj &
$(OUTPUTDIR)\mstream.obj &
$(OUTPUTDIR)\nbkbase.obj &
$(OUTPUTDIR)\object.obj &
- $(OUTPUTDIR)\odbc.obj &
$(OUTPUTDIR)\paper.obj &
$(OUTPUTDIR)\popupcmn.obj &
$(OUTPUTDIR)\prntbase.obj &
$(OUTPUTDIR)\quantize.obj &
$(OUTPUTDIR)\radiocmn.obj &
$(OUTPUTDIR)\regex.obj &
- $(OUTPUTDIR)\resource.obj &
+ $(OUTPUTDIR)\rgncmn.obj &
$(OUTPUTDIR)\sckaddr.obj &
$(OUTPUTDIR)\sckfile.obj &
$(OUTPUTDIR)\sckipc.obj &
$(OUTPUTDIR)\stream.obj &
$(OUTPUTDIR)\string.obj &
$(OUTPUTDIR)\sysopt.obj &
+ $(OUTPUTDIR)\taskbarcmn.obj &
$(OUTPUTDIR)\tbarbase.obj &
$(OUTPUTDIR)\textbuf.obj &
$(OUTPUTDIR)\textcmn.obj &
$(OUTPUTDIR)\wfstream.obj &
$(OUTPUTDIR)\wincmn.obj &
$(OUTPUTDIR)\wxchar.obj &
- $(OUTPUTDIR)\wxexpr.obj &
$(OUTPUTDIR)\xpmdecod.obj &
$(OUTPUTDIR)\zipstrm.obj &
$(OUTPUTDIR)\zstream.obj
MSWOBJS = $(OUTPUTDIR)\accel.obj &
+ $(OUTPUTDIR)\access.obj &
$(OUTPUTDIR)\app.obj &
$(OUTPUTDIR)\automtn.obj &
$(OUTPUTDIR)\bitmap.obj &
$(OUTPUTDIR)\colour.obj &
$(OUTPUTDIR)\combobox.obj &
$(OUTPUTDIR)\control.obj &
- $(OUTPUTDIR)\curico.obj &
$(OUTPUTDIR)\cursor.obj &
$(OUTPUTDIR)\data.obj &
$(OUTPUTDIR)\dataobj.obj &
$(OUTPUTDIR)\dialog.obj &
$(OUTPUTDIR)\dialup.obj &
$(OUTPUTDIR)\dib.obj &
- $(OUTPUTDIR)\dibutils.obj &
$(OUTPUTDIR)\dir.obj &
$(OUTPUTDIR)\dirdlg.obj &
+ $(OUTPUTDIR)\display.obj &
$(OUTPUTDIR)\dragimag.obj &
$(OUTPUTDIR)\dropsrc.obj &
$(OUTPUTDIR)\droptgt.obj &
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
-$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h $(ARCHINCDIR)\wx
+$(SETUP_H): $(ARCHINCDIR)\wx
+ if not exist $(WXDIR)\include\wx\msw\setup.h copy $(WXDIR)\include\wx\msw\setup0.h $(WXDIR)\include\wx\msw\setup.h
copy $(WXDIR)\include\wx\msw\setup.h $@
LBCFILE=wx$(TOOLKIT).lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
- wlib /b /c /n /p=512 $^@ @$(LBCFILE)
+ wlib /b /c /n $(LIBPAGESIZE) $^@ @$(LBCFILE)
clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
$(OUTPUTDIR)\accel.obj: $(MSWDIR)\accel.cpp
*$(CXX) $(CXXFLAGS) $<
+$(OUTPUTDIR)\access.obj: $(OLEDIR)\access.cpp
+ *$(CXX) $(CXXFLAGS) $<
+
$(OUTPUTDIR)\app.obj: $(MSWDIR)\app.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\control.obj: $(MSWDIR)\control.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\curico.obj: $(MSWDIR)\curico.cpp
- *$(CXX) $(CXXFLAGS) $<
-
$(OUTPUTDIR)\cursor.obj: $(MSWDIR)\cursor.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\dib.obj: $(MSWDIR)\dib.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\dibutils.obj: $(MSWDIR)\dibutils.cpp
- *$(CXX) $(CXXFLAGS) $<
-
$(OUTPUTDIR)\dir.obj: $(MSWDIR)\dir.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\dirdlg.obj: $(MSWDIR)\dirdlg.cpp
*$(CXX) $(CXXFLAGS) $<
+$(OUTPUTDIR)\display.obj: $(MSWDIR)\display.cpp
+ *$(CXX) $(CXXFLAGS) $<
+
$(OUTPUTDIR)\dragimag.obj: $(MSWDIR)\dragimag.cpp
*$(CXX) $(CXXFLAGS) $<
########################################################
# Common objects (always compiled)
+$(OUTPUTDIR)\accesscmn.obj: $(COMMDIR)\accesscmn.cpp
+ *$(CXX) $(CXXFLAGS) $<
+
$(OUTPUTDIR)\appcmn.obj: $(COMMDIR)\appcmn.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\docview.obj: $(COMMDIR)\docview.cpp
*$(CXX) $(CXXFLAGS) $<
+$(OUTPUTDIR)\dpycmn.obj: $(COMMDIR)\dpycmn.cpp
+ *$(CXX) $(CXXFLAGS) $<
+
$(OUTPUTDIR)\dseldlg.obj: $(COMMDIR)\dseldlg.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\object.obj: $(COMMDIR)\object.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\odbc.obj: $(COMMDIR)\odbc.cpp
- *$(CXX) $(CXXFLAGS) $<
-
$(OUTPUTDIR)\paper.obj: $(COMMDIR)\paper.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\regex.obj: $(COMMDIR)\regex.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\resource.obj: $(COMMDIR)\resource.cpp
+$(OUTPUTDIR)\rgncmn.obj: $(COMMDIR)\rgncmn.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\sckaddr.obj: $(COMMDIR)\sckaddr.cpp
$(OUTPUTDIR)\sysopt.obj: $(COMMDIR)\sysopt.cpp
*$(CXX) $(CXXFLAGS) $<
+$(OUTPUTDIR)\taskbarcmn.obj: $(COMMDIR)\taskbarcmn.cpp
+ *$(CXX) $(CXXFLAGS) $<
+
$(OUTPUTDIR)\tbarbase.obj: $(COMMDIR)\tbarbase.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\wxchar.obj: $(COMMDIR)\wxchar.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\wxexpr.obj: $(COMMDIR)\wxexpr.cpp
- *$(CXX) $(CXXFLAGS) $<
-
$(OUTPUTDIR)\xpmdecod.obj: $(COMMDIR)\xpmdecod.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
- *$(CC) $(CFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
-
-$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
- copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
-
-$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
- copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
-
########################################################
# Generic objects (not always compiled, depending on
# whether platforms have native implementations)
$(OUTPUTDIR)\progdlgg.obj: $(GENDIR)\progdlgg.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\prop.obj: $(GENDIR)\prop.cpp
- *$(CXX) $(CXXFLAGS) $<
-
-$(OUTPUTDIR)\propform.obj: $(GENDIR)\propform.cpp
- *$(CXX) $(CXXFLAGS) $<
-
-$(OUTPUTDIR)\proplist.obj: $(GENDIR)\proplist.cpp
- *$(CXX) $(CXXFLAGS) $<
-
$(OUTPUTDIR)\sashwin.obj: $(GENDIR)\sashwin.cpp
*$(CXX) $(CXXFLAGS) $<
$(OUTPUTDIR)\treectlg.obj: $(GENDIR)\treectlg.cpp
*$(CXX) $(CXXFLAGS) $<
-$(OUTPUTDIR)\treelay.obj: $(GENDIR)\treelay.cpp
- *$(CXX) $(CXXFLAGS) $<
-
$(OUTPUTDIR)\wizard.obj: $(GENDIR)\wizard.cpp
*$(CXX) $(CXXFLAGS) $<