# Makefile : Builds wxWindows library for Watcom C++, WIN32
!include ..\makewat.env
-LIBTARGET = $(WXDIR)\lib\wx$(TOOLKIT)$(DEBGUSUFFIX)$(WATCOM_SUFFIX).lib
+LIBTARGET = $(WXDIR)\lib\$(LIBNAME).lib
EXTRATARGETS = png zlib jpeg tiff regex
EXTRATARGETSCLEAN = clean_png clean_zlib clean_jpeg clean_tiff clean_regex
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)\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 &
$(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) $<