More makefiles, distrib things,

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-10-12 09:44:18 +00:00
parent 11cde40611
commit 79144b8a47
20 changed files with 116 additions and 95 deletions

View File

@@ -1,3 +1,2 @@
Makefile.in
database.cfg

View File

@@ -1,9 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = database
database_SOURCES = dbtest.cpp listdb.cpp

View File

@@ -7,7 +7,11 @@
#
# "%W% %G%"
#
# Makefile for dbtest example (UNIX).
# Makefile for dialogs example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/db
PROGRAM=dbtest

View File

@@ -1,2 +1 @@
Makefile.in

View File

@@ -1,11 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = forty
forty_SOURCES = \
forty.cpp canvas.cpp card.cpp game.cpp pile.cpp playerdg.cpp scoredg.cpp \
scorefil.cpp

21
samples/forty/Makefile.in Normal file
View File

@@ -0,0 +1,21 @@
#
# File: Makefile.in
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright: (c) 1998 Julian Smart
#
# "%W% %G%"
#
# Makefile for forty example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/forty
PROGRAM=forty
OBJECTS=$(PROGRAM).o canvas.o card.o game.o pile.o playerdg.o scoredg.o scorefil.o
include ../../src/makeprog.env

View File

@@ -1,2 +1 @@
Makefile.in

View File

@@ -1,9 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = fractal
fractal_SOURCES = fractal.cpp

View File

@@ -1,5 +1,5 @@
#
# File: makefile.unx
# File: Makefile.in
# Author: Julian Smart
# Created: 1998
# Updated:
@@ -9,6 +9,10 @@
#
# Makefile for fractal example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/fractal
PROGRAM=fractal
OBJECTS=$(PROGRAM).o

View File

@@ -1,2 +1 @@
Makefile.in

View File

@@ -1,9 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = pngdemo
pngdemo_SOURCES = pngdemo.cpp

23
samples/png/Makefile.in Normal file
View File

@@ -0,0 +1,23 @@
#
# File: makefile.unx
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright: (c) 1998 Julian Smart
#
# "%W% %G%"
#
# Makefile for PNG example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/png
DATAFILES = julian.png paint16.png paint.png
PROGRAM=pngdemo
OBJECTS=$(PROGRAM).o
include ../../src/makeprog.env

View File

@@ -21,8 +21,10 @@
#endif
#ifdef __WXMSW__
#include <wx/pnghand.h>
// #include <wx/xpmhand.h>
#include "wx/pnghand.h"
#endif
#ifdef __WXGTK__
#include "wx/image.h"
#endif
#include "pngdemo.h"
@@ -40,8 +42,9 @@ bool MyApp::OnInit(void)
{
#ifdef __WXMSW__
wxBitmap::AddHandler(new wxPNGFileHandler);
// wxBitmap::AddHandler(new wxXPMFileHandler);
// wxBitmap::AddHandler(new wxXPMDataHandler);
#endif
#ifdef __WXGTK__
wxImage::AddHandler(new wxPNGHandler);
#endif
// Create the main frame window