Added dependency checking and all that.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-08-20 19:40:03 +00:00
parent a2c75a028d
commit 5586805bfa
6 changed files with 1939 additions and 1182 deletions

File diff suppressed because it is too large Load Diff

890
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -641,8 +641,10 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_SHARED=yes DEFAULT_wxUSE_SHARED=yes
DEFAULT_wxUSE_OPTIMISE=yes DEFAULT_wxUSE_OPTIMISE=yes
DEFAULT_wxUSE_PROFILE=no DEFAULT_wxUSE_PROFILE=no
DEFAULT_wxUSE_NO_DEPS=no
DEFAULT_wxUSE_NO_RTTI=no DEFAULT_wxUSE_NO_RTTI=no
DEFAULT_wxUSE_NO_EXCEPTIONS=no DEFAULT_wxUSE_NO_EXCEPTIONS=no
DEFAULT_wxUSE_PERMISSIVE=no
DEFAULT_wxUSE_DEBUG_FLAG=yes DEFAULT_wxUSE_DEBUG_FLAG=yes
DEFAULT_wxUSE_DEBUG_INFO=yes DEFAULT_wxUSE_DEBUG_INFO=yes
DEFAULT_wxUSE_DEBUG_GDB=yes DEFAULT_wxUSE_DEBUG_GDB=yes
@@ -746,8 +748,10 @@ else
DEFAULT_wxUSE_SHARED=yes DEFAULT_wxUSE_SHARED=yes
DEFAULT_wxUSE_OPTIMISE=yes DEFAULT_wxUSE_OPTIMISE=yes
DEFAULT_wxUSE_PROFILE=no DEFAULT_wxUSE_PROFILE=no
DEFAULT_wxUSE_NO_DEPS=no
DEFAULT_wxUSE_NO_RTTI=no DEFAULT_wxUSE_NO_RTTI=no
DEFAULT_wxUSE_NO_EXCEPTIONS=no DEFAULT_wxUSE_NO_EXCEPTIONS=no
DEFAULT_wxUSE_PERMISSIVE=no
DEFAULT_wxUSE_DEBUG_FLAG=no DEFAULT_wxUSE_DEBUG_FLAG=no
DEFAULT_wxUSE_DEBUG_INFO=no DEFAULT_wxUSE_DEBUG_INFO=no
DEFAULT_wxUSE_DEBUG_GDB=no DEFAULT_wxUSE_DEBUG_GDB=no
@@ -913,6 +917,8 @@ WX_ARG_ENABLE(mem_tracing, [ --enable-mem_tracing create code with memory
WX_ARG_ENABLE(profile, [ --enable-profile create code with profiling information], wxUSE_PROFILE) WX_ARG_ENABLE(profile, [ --enable-profile create code with profiling information], wxUSE_PROFILE)
WX_ARG_ENABLE(no_rtti, [ --enable-no_rtti create code without RTTI information], wxUSE_NO_RTTI) WX_ARG_ENABLE(no_rtti, [ --enable-no_rtti create code without RTTI information], wxUSE_NO_RTTI)
WX_ARG_ENABLE(no_exceptions, [ --enable-no_exceptions create code without exceptions information], wxUSE_NO_EXCEPTIONS) WX_ARG_ENABLE(no_exceptions, [ --enable-no_exceptions create code without exceptions information], wxUSE_NO_EXCEPTIONS)
WX_ARG_ENABLE(permissive, [ --enable-permissive compile code disregarding strict ANSI], wxUSE_PERMISSIVE)
WX_ARG_ENABLE(no_deps, [ --enable-no_deps create code without dependency information], wxUSE_NO_DEPS)
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
dnl --disable-gui will build only non-GUI part of wxWindows dnl --disable-gui will build only non-GUI part of wxWindows
@@ -1419,10 +1425,13 @@ if test "$wxUSE_GTK" = 1; then
GUI_TK_LIBRARY="$GTK_LIBS -ldl" GUI_TK_LIBRARY="$GTK_LIBS -ldl"
TOOLKIT=GTK TOOLKIT=GTK
GUIOBJS=GTK_GUIOBJS
GUIHEADERS=GTK_HEADERS GUIHEADERS=GTK_HEADERS
GUIOBJS=GTK_GUIOBJS
COMMONOBJS=GTK_COMMONOBJS COMMONOBJS=GTK_COMMONOBJS
GENERICOBJS=GTK_GENERICOBJS GENERICOBJS=GTK_GENERICOBJS
GUIDEPS=GTK_GUIDEPS
COMMONDEPS=GTK_COMMONDEPS
GENERICDEPS=GTK_GENERICDEPS
UNIXOBJS=UNIXOBJS UNIXOBJS=UNIXOBJS
GUIDIST=GTK_DIST GUIDIST=GTK_DIST
fi fi
@@ -1467,10 +1476,13 @@ if test "$wxUSE_WINE" = 1; then
WXWINE=1 WXWINE=1
TOOLKIT=MSW TOOLKIT=MSW
GUIOBJS=MSW_GUIOBJS
GUIHEADERS=MSW_HEADERS GUIHEADERS=MSW_HEADERS
GUIOBJS=MSW_GUIOBJS
COMMONOBJS=MSW_COMMONOBJS COMMONOBJS=MSW_COMMONOBJS
GENERICOBJS=MSW_GENERICOBJS GENERICOBJS=MSW_GENERICOBJS
GUIDEPS=MSW_GUIDEPS
COMMONDEPS=MSW_COMMONDEPS
GENERICDEPS=MSW_GENERICDEPS
UNIXOBJS=UNIXOBJS UNIXOBJS=UNIXOBJS
GUIDIST=MSW_DIST GUIDIST=MSW_DIST
fi fi
@@ -1539,10 +1551,13 @@ if test "$wxUSE_MOTIF" = 1; then
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
TOOLKIT=MOTIF TOOLKIT=MOTIF
GUIOBJS=MOTIF_GUIOBJS
GUIHEADERS=MOTIF_HEADERS GUIHEADERS=MOTIF_HEADERS
GUIOBJS=MOTIF_GUIOBJS
COMMONOBJS=MOTIF_COMMONOBJS COMMONOBJS=MOTIF_COMMONOBJS
GENERICOBJS=MOTIF_GENERICOBJS GENERICOBJS=MOTIF_GENERICOBJS
GUIDEPS=MOTIF_GUIDEPS
COMMONDEPS=MOTIF_COMMONDEPS
GENERICDEPS=MOTIF_GENERICDEPS
UNIXOBJS=UNIXOBJS UNIXOBJS=UNIXOBJS
GUIDIST=MOTIF_DIST GUIDIST=MOTIF_DIST
fi fi
@@ -1966,16 +1981,17 @@ if test "$wxUSE_CYGWIN" = 1 ; then
fi fi
WXDEBUG= WXDEBUG=
if test "$wxUSE_DEBUG_GDB" = "yes" ; then
wxUSE_DEBUG_INFO=yes
WXDEBUG="-ggdb"
fi
if test "$wxUSE_DEBUG_INFO" = "yes" ; then if test "$wxUSE_DEBUG_INFO" = "yes" ; then
WXDEBUG="-g" WXDEBUG="-g"
wxUSE_OPTIMISE=no wxUSE_OPTIMISE=no
fi fi
if test "$wxUSE_DEBUG_GDB" = "yes" ; then
wxUSE_DEBUG_INFO=yes
WXDEBUG="-ggdb"
fi
if test "$wxUSE_DEBUG_FLAG" = "yes" ; then if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
AC_DEFINE(WXDEBUG) AC_DEFINE(WXDEBUG)
WXDEBUG_DEFINE="-D__WXDEBUG__" WXDEBUG_DEFINE="-D__WXDEBUG__"
@@ -2000,6 +2016,7 @@ if test "$wxUSE_PROFILE" = "yes" ; then
PROFILE="-pg" PROFILE="-pg"
fi fi
DEP_INFO_FLAGS=
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
if test "$wxUSE_NO_RTTI" = "yes" ; then if test "$wxUSE_NO_RTTI" = "yes" ; then
WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-rtti" WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-rtti"
@@ -2007,8 +2024,13 @@ if test "$GCC" = yes ; then
if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-exceptions" WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-exceptions"
fi fi
dnl CFLAGS="${CFLAGS} -fpermissive" if test "$wxUSE_PERMISSIVE" = "yes" ; then
dnl CXXFLAGS="${CXXFLAGS} -fpermissive" CFLAGS="${CFLAGS} -fpermissive"
CXXFLAGS="${CXXFLAGS} -fpermissive"
fi
if test "$wxUSE_NO_DEPS" = "no" ; then
DEP_INFO_FLAGS="-MMD"
fi
fi fi
@@ -2677,6 +2699,7 @@ AC_SUBST(WX_CREATE_INSTALLED_LINKS)
AC_SUBST(SHARED_LD) AC_SUBST(SHARED_LD)
AC_SUBST(PIC_FLAG) AC_SUBST(PIC_FLAG)
AC_SUBST(DEP_INFO_FLAGS)
dnl debugging options dnl debugging options
AC_SUBST(WXDEBUG_DEFINE) AC_SUBST(WXDEBUG_DEFINE)
@@ -2688,10 +2711,13 @@ AC_SUBST(TOOLKIT_DIR)
AC_SUBST(TOOLKIT_INCLUDE) AC_SUBST(TOOLKIT_INCLUDE)
dnl what to compile dnl what to compile
AC_SUBST(GUIOBJS)
AC_SUBST(GUIHEADERS) AC_SUBST(GUIHEADERS)
AC_SUBST(GUIOBJS)
AC_SUBST(COMMONOBJS) AC_SUBST(COMMONOBJS)
AC_SUBST(GENERICOBJS) AC_SUBST(GENERICOBJS)
AC_SUBST(GUIDEPS)
AC_SUBST(COMMONDEPS)
AC_SUBST(GENERICDEPS)
AC_SUBST(UNIXOBJS) AC_SUBST(UNIXOBJS)
AC_SUBST(GUIDIST) AC_SUBST(GUIDIST)

View File

@@ -20,23 +20,32 @@
next unless $file =~ /^dirdlgg\./; next unless $file =~ /^dirdlgg\./;
} }
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXMSW_GENERICOBJS"} .= "src/generic/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXMSW_GENERICOBJS"} .= $file . " ";
$project{"WXMSW_GENERICDEPS"} .= $file2 . " "
} }
foreach $file (sort keys %wxGeneric) { foreach $file (sort keys %wxGeneric) {
#! skip generic files not required for the wxGTK port #! skip generic files not required for the wxGTK port
next if $wxGeneric{$file} =~ /\bR\b/; next if $wxGeneric{$file} =~ /\bR\b/;
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXGTK_GENERICOBJS"} .= "src/generic/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXGTK_GENERICOBJS"} .= $file . " ";
$project{"WXGTK_GENERICDEPS"} .= $file2 . " "
} }
foreach $file (sort keys %wxGeneric) { foreach $file (sort keys %wxGeneric) {
next if $wxCommon{$file} =~ /\bX\b/; next if $wxCommon{$file} =~ /\bX\b/;
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXMOTIF_GENERICOBJS"} .= "src/generic/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXMOTIF_GENERICOBJS"} .= $file . " ";
$project{"WXMOTIF_GENERICDEPS"} .= $file2 . " "
} }
#! Common #! Common
@@ -44,15 +53,21 @@
foreach $file (sort keys %wxCommon) { foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bR\b/; next if $wxCommon{$file} =~ /\bR\b/;
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXGTK_COMMONOBJS"} .= "src/common/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXGTK_COMMONOBJS"} .= $file . " ";
$project{"WXGTK_COMMONDEPS"} .= $file2 . " "
} }
foreach $file (sort keys %wxCommon) { foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bX\b/; next if $wxCommon{$file} =~ /\bX\b/;
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXMOTIF_COMMONOBJS"} .= "src/common/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXMOTIF_COMMONOBJS"} .= $file . " ";
$project{"WXMOTIF_COMMONDEPS"} .= $file2 . " "
} }
foreach $file (sort keys %wxCommon) { foreach $file (sort keys %wxCommon) {
@@ -61,8 +76,11 @@
#! needs extra files (sql*.h) so not compiled by default. #! needs extra files (sql*.h) so not compiled by default.
next if $file =~ /^odbc\./; next if $file =~ /^odbc\./;
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXMSW_COMMONOBJS"} .= "src/common/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXMSW_COMMONOBJS"} .= $file . " ";
$project{"WXMSW_COMMONDEPS"} .= $file2 . " "
} }
#! GUI #! GUI
@@ -75,30 +93,45 @@
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations, #! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
next if $file =~ /^dirdlg\./; next if $file =~ /^dirdlg\./;
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXMSW_GUIOBJS"} .= "src/msw/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXMSW_GUIOBJS"} .= $file . " ";
$project{"WXMSW_GUIDEPS"} .= $file2 . " "
} }
foreach $file (sort keys %wxGTK) { foreach $file (sort keys %wxGTK) {
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXGTK_GUIOBJS"} .= "src/gtk/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXGTK_GUIOBJS"} .= $file . " ";
$project{"WXGTK_GUIDEPS"} .= $file2 . " "
} }
foreach $file (sort keys %wxMOTIF) { foreach $file (sort keys %wxMOTIF) {
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXMOTIF_GUIOBJS"} .= "src/motif/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXMOTIF_GUIOBJS"} .= $file . " ";
$project{"WXMOTIF_GUIDEPS"} .= $file2 . " "
} }
#! others #! others
foreach $file (sort keys %wxHTML) { foreach $file (sort keys %wxHTML) {
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXHTMLOBJS"} .= "src/html/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXHTMLOBJS"} .= $file . " ";
$project{"WXHTMLDEPS"} .= $file2 . " "
} }
foreach $file (sort keys %wxUNIX) { foreach $file (sort keys %wxUNIX) {
$file2 = $file;
$file =~ s/cp?p?$/\o/; $file =~ s/cp?p?$/\o/;
$project{"WXUNIXOBJS"} .= "src/unix/" . $file . " " $file2 =~ s/cp?p?$/\d/;
$project{"WXUNIXOBJS"} .= $file . " ";
$project{"WXUNIXDEPS"} .= $file2 . " "
} }
#! headers #! headers
@@ -160,19 +193,29 @@ include ./src/make.env
.SUFFIXES: .o .cpp .c .cxx .SUFFIXES: .o .cpp .c .cxx
.c.o : .c.o :
$(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $< $(CCC) -c @DEP_INFO_FLAGS@ $(CFLAGS) $(PICFLAGS) -o $@ $<
.cpp.o : .cpp.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $< $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
.cxx.o : .cxx.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $< $(CC) -c @DEP_INFO_FLAGS@ $(CPPFLAGS) $(PICFLAGS) -o $@ $<
########################### Paths ################################# ########################### Paths #################################
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = :@top_srcdir@ VP1 = @top_srcdir@/src/common
VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
VP3 = @top_srcdir@/src/motif/xmcombo
VP4 = @top_srcdir@/src/generic
VP5 = @top_srcdir@/src/unix
VP6 = @top_srcdir@/src/html
VP7 = @top_srcdir@/src/png
VP8 = @top_srcdir@/src/jpeg
VP9 = @top_srcdir@/src/zlib
VPATH = $(VP1):$(VP2):$(VP3):$(VP4):$(VP5):$(VP6):$(VP7):$(VP8):$(VP9)
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
prefix = @prefix@ prefix = @prefix@
@@ -277,168 +320,189 @@ HTML_HEADERS = \
GTK_GENERICOBJS = \ GTK_GENERICOBJS = \
#$ ExpandList("WXGTK_GENERICOBJS"); #$ ExpandList("WXGTK_GENERICOBJS");
GTK_GENERICDEPS = \
#$ ExpandList("WXGTK_GENERICDEPS");
GTK_COMMONOBJS = \ GTK_COMMONOBJS = \
parser.o \ parser.o \
#$ ExpandList("WXGTK_COMMONOBJS"); #$ ExpandList("WXGTK_COMMONOBJS");
GTK_COMMONDEPS = \
parser.d \
#$ ExpandList("WXGTK_COMMONDEPS");
GTK_GUIOBJS = \ GTK_GUIOBJS = \
#$ ExpandList("WXGTK_GUIOBJS"); #$ ExpandList("WXGTK_GUIOBJS");
GTK_GUIDEPS = \
#$ ExpandList("WXGTK_GUIDEPS");
MOTIF_GENERICOBJS = \ MOTIF_GENERICOBJS = \
#$ ExpandList("WXMOTIF_GENERICOBJS"); #$ ExpandList("WXMOTIF_GENERICOBJS");
MOTIF_GENERICDEPS = \
#$ ExpandList("WXMOTIF_GENERICDEPS");
MOTIF_COMMONOBJS = \ MOTIF_COMMONOBJS = \
parser.o \ parser.o \
#$ ExpandList("WXMOTIF_COMMONOBJS"); #$ ExpandList("WXMOTIF_COMMONOBJS");
MOTIF_COMMONDEPS = \
parser.d \
#$ ExpandList("WXMOTIF_COMMONDEPS");
MOTIF_GUIOBJS = \ MOTIF_GUIOBJS = \
src/motif/xmcombo/xmcombo.o \ xmcombo.o \
#$ ExpandList("WXMOTIF_GUIOBJS"); #$ ExpandList("WXMOTIF_GUIOBJS");
MOTIF_GUIDEPS = \
xmcombo.d \
#$ ExpandList("WXMOTIF_GUIDEPS");
MSW_GENERICOBJS = \ MSW_GENERICOBJS = \
#$ ExpandList("WXMSW_GENERICOBJS"); #$ ExpandList("WXMSW_GENERICOBJS");
MSW_GENERICDEPS = \
#$ ExpandList("WXMSW_GENERICDEPS");
MSW_COMMONOBJS = \ MSW_COMMONOBJS = \
#$ ExpandList("WXMSW_COMMONOBJS"); #$ ExpandList("WXMSW_COMMONOBJS");
MSW_COMMONDEPS = \
#$ ExpandList("WXMSW_COMMONDEPS");
MSW_GUIOBJS = \ MSW_GUIOBJS = \
#$ ExpandList("WXMSW_GUIOBJS"); #$ ExpandList("WXMSW_GUIOBJS");
MSW_GUIDEPS = \
#$ ExpandList("WXMSW_GUIDEPS");
HTMLOBJS = \ HTMLOBJS = \
#$ ExpandList("WXHTMLOBJS"); #$ ExpandList("WXHTMLOBJS");
HTMLDEPS = \
#$ ExpandList("WXHTMLDEPS");
UNIXOBJS = \ UNIXOBJS = \
#$ ExpandList("WXUNIXOBJS"); #$ ExpandList("WXUNIXOBJS");
UNIXDEPS = \
#$ ExpandList("WXUNIXDEPS");
ZLIBOBJS = \ ZLIBOBJS = \
src/zlib/adler32.o \ adler32.o \
src/zlib/compress.o \ compress.o \
src/zlib/crc32.o \ crc32.o \
src/zlib/gzio.o \ gzio.o \
src/zlib/uncompr.o \ uncompr.o \
src/zlib/deflate.o \ deflate.o \
src/zlib/trees.o \ trees.o \
src/zlib/zutil.o \ zutil.o \
src/zlib/inflate.o \ inflate.o \
src/zlib/infblock.o \ infblock.o \
src/zlib/inftrees.o \ inftrees.o \
src/zlib/infcodes.o \ infcodes.o \
src/zlib/infutil.o \ infutil.o \
src/zlib/inffast.o inffast.o
PNGOBJS = \ PNGOBJS = \
src/png/png.o \ png.o \
src/png/pngread.o \ pngread.o \
src/png/pngrtran.o \ pngrtran.o \
src/png/pngrutil.o \ pngrutil.o \
src/png/pngpread.o \ pngpread.o \
src/png/pngtrans.o \ pngtrans.o \
src/png/pngwrite.o \ pngwrite.o \
src/png/pngwtran.o \ pngwtran.o \
src/png/pngwutil.o \ pngwutil.o \
src/png/pngerror.o \ pngerror.o \
src/png/pngmem.o \ pngmem.o \
src/png/pngwio.o \ pngwio.o \
src/png/pngrio.o \ pngrio.o \
src/png/pngget.o \ pngget.o \
src/png/pngset.o pngset.o
JPEGOBJS = \ JPEGOBJS = \
src/jpeg/jcomapi.o \ jcomapi.o \
src/jpeg/jutils.o \ jutils.o \
src/jpeg/jerror.o \ jerror.o \
src/jpeg/jmemmgr.o \ jmemmgr.o \
src/jpeg/jmemnobs.o \ jmemnobs.o \
src/jpeg/jcapimin.o \ jcapimin.o \
src/jpeg/jcapistd.o \ jcapistd.o \
src/jpeg/jctrans.o \ jctrans.o \
src/jpeg/jcparam.o \ jcparam.o \
src/jpeg/jdatadst.o \ jdatadst.o \
src/jpeg/jcinit.o \ jcinit.o \
src/jpeg/jcmaster.o \ jcmaster.o \
src/jpeg/jcmarker.o \ jcmarker.o \
src/jpeg/jcmainct.o \ jcmainct.o \
src/jpeg/jcprepct.o \ jcprepct.o \
src/jpeg/jccoefct.o \ jccoefct.o \
src/jpeg/jccolor.o \ jccolor.o \
src/jpeg/jcsample.o \ jcsample.o \
src/jpeg/jchuff.o \ jchuff.o \
src/jpeg/jcphuff.o \ jcphuff.o \
src/jpeg/jcdctmgr.o \ jcdctmgr.o \
src/jpeg/jfdctfst.o \ jfdctfst.o \
src/jpeg/jfdctflt.o \ jfdctflt.o \
src/jpeg/jfdctint.o \ jfdctint.o \
src/jpeg/jdapimin.o \ jdapimin.o \
src/jpeg/jdapistd.o \ jdapistd.o \
src/jpeg/jdtrans.o \ jdtrans.o \
src/jpeg/jdatasrc.o \ jdatasrc.o \
src/jpeg/jdmaster.o \ jdmaster.o \
src/jpeg/jdinput.o \ jdinput.o \
src/jpeg/jdmarker.o \ jdmarker.o \
src/jpeg/jdhuff.o \ jdhuff.o \
src/jpeg/jdphuff.o \ jdphuff.o \
src/jpeg/jdmainct.o \ jdmainct.o \
src/jpeg/jdcoefct.o \ jdcoefct.o \
src/jpeg/jdpostct.o \ jdpostct.o \
src/jpeg/jddctmgr.o \ jddctmgr.o \
src/jpeg/jidctfst.o \ jidctfst.o \
src/jpeg/jidctflt.o \ jidctflt.o \
src/jpeg/jidctint.o \ jidctint.o \
src/jpeg/jidctred.o \ jidctred.o \
src/jpeg/jdsample.o \ jdsample.o \
src/jpeg/jdcolor.o \ jdcolor.o \
src/jpeg/jquant1.o \ jquant1.o \
src/jpeg/jquant2.o \ jquant2.o \
src/jpeg/jdmerge.o jdmerge.o
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \ OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
DEPFILES = $(@GUIDEPS@) $(@COMMONDEPS@) $(@GENERICDEPS@) $(UNIXDEPS) $(HTMLDEPS)
HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \ HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
$(GENERIC_HEADERS) $(WX_HEADERS) $(GENERIC_HEADERS) $(WX_HEADERS)
REQUIRED_DIRS = ./lib ./src ./src/common ./src/gtk ./src/motif ./src/msw \ all: $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
./src/generic ./src/unix ./src/motif/xmombo ./src/html \
./src/zlib ./src/jpeg ./src/png
all: $(REQUIRED_DIRS) $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
$(REQUIRED_DIRS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
@mkdir -p ./lib
@mkdir -p ./src
@mkdir -p ./src/common
@mkdir -p ./src/msw
@mkdir -p ./src/gtk
@mkdir -p ./src/motif
@mkdir -p ./src/motif/xmcombo
@mkdir -p ./src/generic
@mkdir -p ./src/unix
@mkdir -p ./src/html
@mkdir -p ./src/png
@mkdir -p ./src/jpeg
@mkdir -p ./src/zlib
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS) @WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
$(INSTALL) -d ./lib
$(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS) $(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
$(RANLIB) ./lib/$@ $(RANLIB) ./lib/$@
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS) @WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
$(INSTALL) -d ./lib
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS) $(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
CREATE_LINKS: ./lib/@WX_TARGET_LIBRARY@ CREATE_LINKS: ./lib/@WX_TARGET_LIBRARY@
@if test -e ./lib/@WX_LIBRARY_LINK1@; then $(RM) ./lib/@WX_LIBRARY_LINK1@; fi $(RM) ./lib/@WX_LIBRARY_LINK1@
@if test -e ./lib/@WX_LIBRARY_LINK2@; then $(RM) ./lib/@WX_LIBRARY_LINK2@; fi $(RM) ./lib/@WX_LIBRARY_LINK2@
@if test -e ./lib/@WX_LIBRARY_LINK3@; then $(RM) ./lib/@WX_LIBRARY_LINK3@; fi $(RM) ./lib/@WX_LIBRARY_LINK3@
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@ $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@ $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@ $(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@ CREATE_INSTALLED_LINKS: $(libdir)/@WX_TARGET_LIBRARY@
@if test -e $(libdir)/@WX_LIBRARY_LINK1@; then $(RM) $(libdir)/@WX_LIBRARY_LINK1@; fi $(RM) $(libdir)/@WX_LIBRARY_LINK1@
@if test -e $(libdir)/@WX_LIBRARY_LINK2@; then $(RM) $(libdir)/@WX_LIBRARY_LINK2@; fi $(RM) $(libdir)/@WX_LIBRARY_LINK2@
@if test -e $(libdir)/@WX_LIBRARY_LINK3@; then $(RM) $(libdir)/@WX_LIBRARY_LINK3@; fi $(RM) $(libdir)/@WX_LIBRARY_LINK3@
$(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@ $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK1@
$(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@ $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK2@
$(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@ $(LN_S) @WX_TARGET_LIBRARY@ $(libdir)/@WX_LIBRARY_LINK3@
@@ -466,12 +530,13 @@ lexer.c: $(COMMDIR)/lexer.l
sed -e "s/unput/PROIO_unput/g" > lexer.c sed -e "s/unput/PROIO_unput/g" > lexer.c
@$(RM) lex.yy.c @$(RM) lex.yy.c
-include $(DEPFILES)
preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
@echo " " @echo " "
@echo " Installing wxWindows..." @echo " Installing wxWindows..."
@echo " " @echo " "
$(INSTALL) -d $(prefix) $(INSTALL) -d $(prefix)
$(INSTALL) -d $(bindir) $(INSTALL) -d $(bindir)
$(INSTALL) -d $(libdir) $(INSTALL) -d $(libdir)
@@ -678,17 +743,8 @@ dist: ALL_DIST @GUIDIST@ SAMPLES_DIST
$(RM) -r _dist_dir $(RM) -r _dist_dir
clean: clean:
$(RM) ./src/msw/*.o
$(RM) ./src/gtk/*.o
$(RM) ./src/motif/*.o
$(RM) ./src/html/*.o
$(RM) ./src/common/*.o
$(RM) ./src/unix/*.o
$(RM) ./src/generic/*.o
$(RM) ./src/png/*.o
$(RM) ./src/jpeg/*.o
$(RM) ./src/zlib/*.o
$(RM) *.o $(RM) *.o
$(RM) *.d
$(RM) parser.c $(RM) parser.c
$(RM) lexer.c $(RM) lexer.c
$(RM) ./lib/* $(RM) ./lib/*

View File

@@ -267,6 +267,13 @@ The following options handle the kind of library you want to build.
binary size. Also fewer crashes during the binary size. Also fewer crashes during the
actual compilation... actual compilation...
--enable-no_deps Enable compilation without creation of
dependency information.
--enable-permissive Enable compilation without creation of
giving erros as soon as you compile with
Solaris ANSI-defying headers...
--enable-mem_tracing Add built-in memory tracing. --enable-mem_tracing Add built-in memory tracing.
--enable-dmalloc Use the dmalloc memory debugger. --enable-dmalloc Use the dmalloc memory debugger.

View File

@@ -231,6 +231,13 @@ The following options handle the kind of library you want to build.
binary size. Also fewer crashes during the binary size. Also fewer crashes during the
actual compilation... actual compilation...
--enable-no_deps Enable compilation without creation of
dependency information.
--enable-permissive Enable compilation without creation of
giving erros as soon as you compile with
Solaris ANSI-defying headers...
--enable-mem_tracing Add built-in memory tracing. --enable-mem_tracing Add built-in memory tracing.
--enable-dmalloc Use the dmalloc memory debugger. --enable-dmalloc Use the dmalloc memory debugger.