makefile for the calendar sample as generated by makegen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
13
samples/calendar/Makefile.in
Normal file
13
samples/calendar/Makefile.in
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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
|
||||
|
@@ -29,11 +29,15 @@
|
||||
#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"
|
||||
|
10
samples/calendar/makefile.b32
Normal file
10
samples/calendar/makefile.b32
Normal file
@@ -0,0 +1,10 @@
|
||||
# Purpose: makefile for calendar example (BC++ 32bit)
|
||||
# Created: 2000-01-03
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=calendar
|
||||
OBJECTS = $(TARGET).obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.b32
|
||||
|
14
samples/calendar/makefile.bcc
Normal file
14
samples/calendar/makefile.bcc
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
|
10
samples/calendar/makefile.dos
Normal file
10
samples/calendar/makefile.dos
Normal file
@@ -0,0 +1,10 @@
|
||||
# Purpose: makefile for calendar example (VC++ 1.5x)
|
||||
# Created: 2000-01-03
|
||||
|
||||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=calendar
|
||||
OBJECTS=$(TARGET).obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.msc
|
||||
|
10
samples/calendar/makefile.g95
Normal file
10
samples/calendar/makefile.g95
Normal file
@@ -0,0 +1,10 @@
|
||||
# Purpose: makefile for calendar example (Cygwin/Mingw32)
|
||||
# Created: #03.01.00
|
||||
|
||||
WXDIR = ../..
|
||||
|
||||
TARGET=calendar
|
||||
OBJECTS = $(TARGET).o
|
||||
|
||||
include $(WXDIR)\src\makeprog.g95
|
||||
|
37
samples/calendar/makefile.sc
Normal file
37
samples/calendar/makefile.sc
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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
|
||||
|
14
samples/calendar/makefile.sl
Normal file
14
samples/calendar/makefile.sl
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
|
35
samples/calendar/makefile.twn
Normal file
35
samples/calendar/makefile.twn
Normal file
@@ -0,0 +1,35 @@
|
||||
# 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
|
23
samples/calendar/makefile.unx
Normal file
23
samples/calendar/makefile.unx
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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)
|
11
samples/calendar/makefile.vc
Normal file
11
samples/calendar/makefile.vc
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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
|
||||
|
11
samples/calendar/makefile.wat
Normal file
11
samples/calendar/makefile.wat
Normal file
@@ -0,0 +1,11 @@
|
||||
# Purpose: makefile for calendar example (Watcom)
|
||||
# Created: 2000-01-03
|
||||
|
||||
WXDIR = $(%WXWIN)
|
||||
|
||||
PROGRAM = calendar
|
||||
OBJECTS = $(PROGRAM).obj
|
||||
|
||||
!include $(WXDIR)\src\makeprog.wat
|
||||
|
||||
|
Reference in New Issue
Block a user