--- /dev/null
+# Purpose: makefile for calendar example (UNIX).
+# Created: 2000-01-03
+
+top_srcdir = @top_srcdir@
+top_builddir = ../..
+program_dir = samples/calendar
+
+PROGRAM=calendar
+
+OBJECTS=$(PROGRAM).o
+
+include ../../src/makeprog.env
+
#pragma hdrstop
#endif
-// for all others, include the necessary headers (this file is usually all you
-// need because it includes almost all "standard" wxWindows headers
+// for all others, include the necessary headers
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/frame.h"
+ #include "wx/panel.h"
+ #include "wx/stattext.h"
+ #include "wx/menu.h"
+ #include "wx/layout.h"
+ #include "wx/msgdlg.h"
#endif
#include "wx/calctrl.h"
--- /dev/null
+# Purpose: makefile for calendar example (BC++ 32bit)
+# Created: 2000-01-03
+
+WXDIR = $(WXWIN)
+
+TARGET=calendar
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
--- /dev/null
+# Purpose: makefile for calendar example (BC++ 16bit)
+# Created: 2000-01-03
+
+!if "$(WXWIN)" == ""
+!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
+!endif
+
+WXDIR = $(WXWIN)
+
+TARGET=calendar
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.bcc
+
--- /dev/null
+# Purpose: makefile for calendar example (VC++ 1.5x)
+# Created: 2000-01-03
+
+WXDIR = $(WXWIN)
+
+TARGET=calendar
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.msc
+
--- /dev/null
+# Purpose: makefile for calendar example (Cygwin/Mingw32)
+# Created: #03.01.00
+
+WXDIR = ../..
+
+TARGET=calendar
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)\src\makeprog.g95
+
--- /dev/null
+# Purpose: makefile for calendar example (Symantec C++)
+# Created: 2000-01-03
+
+WXDIR = $(WXWIN)
+WXLIB = $(WXDIR)\lib\wx.lib
+INCDIR = $(WXDIR)\include
+INCLUDE=$(INCDIR)
+TARGET=calendar
+
+include $(WXDIR)\src\makesc.env
+
+calendar.exe: calendar.obj $(DEFFILE) calendar.res
+ *$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
+ *$(RC) -k calendar.res
+
+sc32.def:
+ echo EXETYPE NT > sc32.def
+ echo SUBSYSTEM WINDOWS >> sc32.def
+
+sc16.def:
+ echo NAME $(TARGET) > sc16.def
+ echo EXETYPE WINDOWS >> sc16.def
+ echo STUB 'WINSTUB.EXE' >> sc16.def
+ echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def
+ echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def
+ echo HEAPSIZE 1024 >> sc16.def
+ echo STACKSIZE 8192 >> sc16.def
+
+clean:
+ -del *.obj
+ -del *.exe
+ -del *.res
+ -del *.map
+ -del *.rws
+ -del sc32.def
+ -del sc16.def
+
--- /dev/null
+# Purpose: makefile for calendar example (Salford C++)
+# Created: 2000-01-03
+
+PROGRAM = calendar
+OBJECTS = $(PROGRAM).obj
+
+include ..\..\src\makeprog.sl
+
+all: wx $(TARGET)
+
+wx:
+ cd $(WXDIR)\src\msw ^ mk32 -f makefile.sl all
+ cd $(WXDIR)\samples\calendar
+
--- /dev/null
+# Purpose: makefile for calendar example (TWIN)
+# Created: 2000-01-03
+
+WXDIR = ../..
+
+# All common UNIX compiler flags and options are now in
+# this central makefile.
+include $(WXDIR)/src/maketwin.env
+
+OBJECTS = $(OBJDIR)/calendar.$(OBJSUFF) $(OBJDIR)/calendar.$(OBJSUFF)
+
+all: $(OBJDIR) calendar$(GUISUFFIX)$(EXESUFF)
+
+wx:
+
+$(OBJDIR):
+ mkdir $(OBJDIR)
+
+calendar$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
+ $(CC) $(LDFLAGS) -o calendar$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
+
+$(OBJDIR)/calendar.$(OBJSUFF): calendar.$(SRCSUFF)
+ $(CC) -c $(CPPFLAGS) -o $@ calendar.$(SRCSUFF)
+
+calendar.c: calendar.rc
+ $(RESCOMP) $(RCINPUTSWITCH) calendar.rc $(RCOUTPUTSWITCH) calendar.c $(RESFLAGS)
+
+$(OBJDIR)/calendar.$(OBJSUFF): calendar.c
+ $(CC) -c $(CPPFLAGS) -o $@ calendar.c
+
+#$(OBJDIR)/calendar.o: calendar.rc
+# $(RESCOMP) $(RCINPUTSWITCH) calendar.rc $(RCOUTPUTSWITCH) $(OBJDIR)/calendar.o $(RESFLAGS)
+
+clean:
+ rm -f $(OBJECTS) calendar$(GUISUFFIX).exe core *.rsc *.res
--- /dev/null
+# Purpose: makefile for calendar example (Unix)
+# Created: 2000-01-03
+
+CC = gcc
+
+PROGRAM = calendar
+
+OBJECTS = $(PROGRAM).o
+
+# implementation
+
+.SUFFIXES: .o .cpp
+
+.cpp.o :
+ $(CC) -c `wx-config --cflags` -o $@ $<
+
+all: $(PROGRAM)
+
+$(PROGRAM): $(OBJECTS)
+ $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
+
+clean:
+ rm -f *.o $(PROGRAM)
--- /dev/null
+# Purpose: makefile for calendar example (VC++ 32bit)
+# Created: 2000-01-03
+
+# Set WXDIR for your system
+WXDIR = $(WXWIN)
+
+PROGRAM=calendar
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
--- /dev/null
+# Purpose: makefile for calendar example (Watcom)
+# Created: 2000-01-03
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = calendar
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+