]> git.saurik.com Git - wxWidgets.git/commitdiff
Testing vaious makefile/configure schemes.
authorRobert Roebling <robert@roebling.de>
Thu, 29 Jul 1999 22:18:41 +0000 (22:18 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 29 Jul 1999 22:18:41 +0000 (22:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

BuildCVS.txt
configure.in
distrib/gtk/copy_src
distrib/msw/tmake/makeall.bat
distrib/msw/tmake/unx.t [new file with mode: 0644]
makefile.unx.in [new file with mode: 0644]

index 420989f63de4eafb2e94d0823088dc5f24f3c617..55054813c47711bdc66937864e685d8b97a42fa2 100644 (file)
@@ -30,17 +30,17 @@ and its make.exe).
 -> Edit c:\wxWin\include\wx\msw\setup.h so that
    most features are enabled (i.e. defined to 1) with
    #define wxUSE_SOCKETS       0
-   #define wxUSE_HTML          0
+   #define wxUSE_HTML          1
    #define wxUSE_THREADS       1
    #define wxUSE_FS_INET       0
-   #define wxUSE_FS_ZIP        0
+   #define wxUSE_FS_ZIP        1
    #define wxUSE_BUSYINFO      1
    #define wxUSE_DYNLIB_CLASS  1
    #define wxUSE_ZIPSTREAM     1
    #define wxUSE_JPEGLIB       1
    #define wxUSE_PNGLIB        1
 
-   and disable iostreams with
+   and iostreams ares disabled with
    #define wxUSE_STD_IOSTREAM   0
 -> type: cd c:\wxWin\src\msw
 -> type: make -f makefile.g95
index cf00865f5cfdfed89492d607039c73c6cf1006ac..ff1f4e831540d4dafd84082da5d6b04076bb8338 100644 (file)
@@ -2216,6 +2216,7 @@ dnl (the original file name may be overriden by appending another name after a
 dnl colon)
 AC_OUTPUT([
             wx-config
+           makefile.unx
             Makefile
             src/Makefile
 
index 10d0e2562e21ac081df01985978858519d40d7c8..97903a0c62f6bf6e25815d5d6357adc6e111afbf 100755 (executable)
@@ -29,6 +29,7 @@ cp ltmain.sh ~/wxgtk_dist/wxGTK
 cp missing ~/wxgtk_dist/wxGTK
 cp mkinstalldirs ~/wxgtk_dist/wxGTK
 cp wx-config.in ~/wxgtk_dist/wxGTK
+cp makefile.unx.in ~/wxgtk_dist/wxGTK
 cp setup.h.in ~/wxgtk_dist/wxGTK
 cp stamp-h.in ~/wxgtk_dist/wxGTK
 cp Makefile.in ~/wxgtk_dist/wxGTK
index 4ac471f56c45540bbb7195afb0b6f64ae6e07aec..6a8e744521596ead71b9b0c4a5854fa89f7195bc 100755 (executable)
@@ -51,5 +51,7 @@ echo Generating for Watcom C++...
 E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t wat wxwin.pro -o makefile.wat
 echo Generating for wxGTK...
 E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t gtk wxwin.pro -o Makefile
+echo Generating for Unix and Configure...
+E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake -t unx wxwin.pro -o makefile.unx.in
 
 :end
diff --git a/distrib/msw/tmake/unx.t b/distrib/msw/tmake/unx.t
new file mode 100644 (file)
index 0000000..0e6b1cc
--- /dev/null
@@ -0,0 +1,326 @@
+#!################################################################################
+#! File:    unx.t
+#! Purpose: tmake template file from which makefile.unx.in is generated by running
+#!          tmake -t unx wxwin.pro -o makefile.unx.in
+#! Author:  Vadim Zeitlin, Robert Roebling, Julian Smart
+#! Created: 14.07.99
+#! Version: $Id$
+#!################################################################################
+
+#${
+    #! include the code which parses filelist.txt file and initializes
+    #! %wxCommon, %wxGeneric, %wxHtml, %wxUnix and %wxGTK hashes.
+    IncludeTemplate("filelist.t");
+
+    #! now transform these hashes into $project tags
+    foreach $file (sort keys %wxGeneric) {
+        next if $wxGeneric{$file} =~ /\bR\b/;
+
+        $file =~ s/cp?p?$/\o/;
+        $project{"WXGENERICOBJS"} .= $file . " "
+    }
+
+    foreach $file (sort keys %wxCommon) {
+        next if $wxCommon{$file} =~ /\bR\b/;
+
+        $file =~ s/cp?p?$/\o/;
+        $project{"WXCOMMONOBJS"} .= $file . " "
+    }
+
+    foreach $file (sort keys %wxGTK) {
+        $file =~ s/cp?p?$/\o/;
+        $project{"WXGTKOBJS"} .= $file . " "
+    }
+
+    foreach $file (sort keys %wxHTML) {
+        $file =~ s/cp?p?$/\o/;
+        $project{"WXHTMLOBJS"} .= $file . " "
+    }
+
+    foreach $file (sort keys %wxUNIX) {
+        $file =~ s/cp?p?$/\o/;
+        $project{"WXUNIXOBJS"} .= $file . " "
+    }
+#$}
+# This file was automatically generated by tmake at #$ Now()
+# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
+
+#
+# File:     makefile.unx
+# Author:   Julian Smart, Robert Roebling, Vadim Zeitlin
+# Created:  1993
+# Updated:  1999
+# Copyright:(c) 1993, AIAI, University of Edinburgh,
+# Copyright:(c) 1999, Vadim Zeitlin
+# Copyright:(c) 1999, Robert Roebling
+#
+# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
+
+########################### VERSION #################################
+
+LIBS = @LIBS@
+
+TOOLKIT = @TOOLKIT@
+
+WXLIB = @WX_LIBRARY@
+
+########################### VERSION #################################
+
+WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
+WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
+WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
+
+########################### Misc #################################
+
+SHELL = @SHELL@
+
+########################### Paths #################################
+
+srcdir = @srcdir@/src/gtk
+
+top_srcdir = @top_srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = .
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = @build_alias@
+build_triplet = @build@
+host_alias = @host_alias@
+host_triplet = @host@
+target_alias = @target_alias@
+target_triplet = @target@
+
+EXTRA_VPATH = @EXTRA_VPATH_MF@
+
+VPATH = .:${srcdir}:${srcdir}/src/common:${srcdir}/src/generic:${srcdir}/src/html:${EXTRA_VPATH}
+
+########################### Programs #################################
+
+# C++ compiler
+CC          = @CXX@
+CCPP        = @CXXCPP@
+
+# C compiler
+CCC         = @CC@
+CCCPP       = @CPP@
+
+# Compiler for lex/yacc .c programs
+CCLEX       = @CC@
+
+LEX         = @LEX@
+YACC        = @YACC@
+AR          = @AR@
+AS          = @AS@
+NM          = @NM@
+LN_S        = @LN_S@
+STRIP       = @STRIP@
+MAKE        = make
+AROPTIONS   = ruv
+RANLIB      = @RANLIB@
+LD          = @LD@
+MAKEINFO    = @MAKEINFO@
+
+########################### Flags #################################
+
+CFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CFLAGS@
+CPPFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CXXFLAGS@
+
+########################### Rules #################################
+
+# Clears all default suffixes
+.SUFFIXES:     .o .cpp .c
+
+.c.o :
+       $(CCC) -c $(CFLAGS) -o $@ $<
+
+.cpp.o :
+       $(CC) -c $(CPPFLAGS) -o $@ $<
+
+########################### Files #################################
+
+WXDIR = $(srcdir)/../..
+
+# Subordinate library possibilities
+
+GENDIR  = $(WXDIR)/src/generic
+COMMDIR = $(WXDIR)/src/common
+HTMLDIR = $(WXDIR)/src/html
+UNIXDIR = $(WXDIR)/src/unix
+PNGDIR  = $(WXDIR)/src/png
+JPEGDIR = $(WXDIR)/src/jpeg
+ZLIBDIR = $(WXDIR)/src/zlib
+GTKDIR  = $(WXDIR)/src/gtk
+
+DOCDIR = $(WXDIR)\docs
+
+GENERICOBJS = \
+                #$ ExpandList("WXGENERICOBJS");
+
+COMMONOBJS  = \
+               parser.o \
+               #$ ExpandList("WXCOMMONOBJS");
+
+HTMLOBJS = \
+                #$ ExpandList("WXHTMLOBJS");
+
+GTKOBJS     = \
+               #$ ExpandList("WXGTKOBJS");
+
+UNIXOBJS     = \
+               #$ ExpandList("WXUNIXOBJS");
+
+ZLIBOBJS    = \
+               adler32.o \
+               compress.o \
+               crc32.o \
+               gzio.o \
+               uncompr.o \
+               deflate.o \
+               trees.o \
+               zutil.o \
+               inflate.o \
+               infblock.o \
+               inftrees.o \
+               infcodes.o \
+               infutil.o \
+               inffast.o
+
+PNGOBJS     = \
+               png.o \
+               pngread.o \
+               pngrtran.o \
+               pngrutil.o \
+               pngpread.o \
+               pngtrans.o \
+               pngwrite.o \
+               pngwtran.o \
+               pngwutil.o \
+               pngerror.o \
+               pngmem.o \
+               pngwio.o \
+               pngrio.o \
+               pngget.o \
+               pngset.o
+
+
+JPEGOBJS    = \
+               jcomapi.o \
+               jutils.o \
+               jerror.o \
+               jmemmgr.o \
+               jmemnobs.o \
+               jcapimin.o \
+               jcapistd.o \
+               jctrans.o \
+               jcparam.o \
+               jdatadst.o \
+               jcinit.o \
+               jcmaster.o \
+               jcmarker.o \
+               jcmainct.o \
+               jcprepct.o \
+               jccoefct.o \
+               jccolor.o \
+               jcsample.o \
+               jchuff.o \
+               jcphuff.o \
+               jcdctmgr.o \
+               jfdctfst.o \
+               jfdctflt.o \
+               jfdctint.o \
+               jdapimin.o \
+               jdapistd.o \
+               jdtrans.o \
+               jdatasrc.o \
+               jdmaster.o \
+               jdinput.o \
+               jdmarker.o \
+               jdhuff.o \
+               jdphuff.o \
+               jdmainct.o \
+               jdcoefct.o \
+               jdpostct.o \
+               jddctmgr.o \
+               jidctfst.o \
+               jidctflt.o \
+               jidctint.o \
+               jidctred.o \
+               jdsample.o \
+               jdcolor.o \
+               jquant1.o \
+               jquant2.o \
+               jdmerge.o
+
+OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \
+         $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
+
+all:    $(OBJECTS) $(WXLIB)
+
+$(WXLIB): $(OBJECTS)
+       $AR) $(AROPTIONS) $@ $(OBJECTS)
+       $(RANLIB) $@
+
+$(OBJECTS):    $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
+
+parser.o:    parser.c lexer.c
+       $(CCLEX) -c $(CFLAGS) -o $@ parser.c
+
+parser.c:      $(COMMDIR)/parser.y lexer.c
+       $(YACC) $(COMMDIR)/parser.y
+       @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
+       sed -e "s/BUFSIZ/5000/g"            | \
+       sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
+       sed -e "s/yy/PROIO_yy/g"            | \
+       sed -e "s/input/PROIO_input/g"      | \
+       sed -e "s/unput/PROIO_unput/g"      > parser.c
+       @$(RM) y.tab.c
+
+lexer.c:       $(COMMDIR)/lexer.l
+       $(LEX) $(COMMDIR)/lexer.l
+       @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
+       sed -e "s/yy/PROIO_yy/g"            | \
+       sed -e "s/input/PROIO_input/g"      | \
+       sed -e "s/unput/PROIO_unput/g"      > lexer.c
+       @$(RM) lex.yy.c
+
+clean:
+       rm -f *.o
+       rm -f *.lo
+       rm -f parser.c
+       rm -f lexer.c
+       rm -f *.a
+       rm -f *.la
+
+cleanall: clean
diff --git a/makefile.unx.in b/makefile.unx.in
new file mode 100644 (file)
index 0000000..a767f10
--- /dev/null
@@ -0,0 +1,458 @@
+
+# This file was automatically generated by tmake at 23:03, 1999/07/29
+# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
+
+#
+# File:     makefile.unx
+# Author:   Julian Smart, Robert Roebling, Vadim Zeitlin
+# Created:  1993
+# Updated:  1999
+# Copyright:(c) 1993, AIAI, University of Edinburgh,
+# Copyright:(c) 1999, Vadim Zeitlin
+# Copyright:(c) 1999, Robert Roebling
+#
+# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
+
+########################### VERSION #################################
+
+LIBS = @LIBS@
+
+TOOLKIT = @TOOLKIT@
+
+WXLIB = @WX_LIBRARY@
+
+########################### VERSION #################################
+
+WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
+WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
+WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
+
+########################### Misc #################################
+
+SHELL = @SHELL@
+
+########################### Paths #################################
+
+srcdir = @srcdir@/src/gtk
+
+top_srcdir = @top_srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = .
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_alias = @build_alias@
+build_triplet = @build@
+host_alias = @host_alias@
+host_triplet = @host@
+target_alias = @target_alias@
+target_triplet = @target@
+
+EXTRA_VPATH = @EXTRA_VPATH_MF@
+
+VPATH = .:${srcdir}:${srcdir}/src/common:${srcdir}/src/generic:${srcdir}/src/html:${EXTRA_VPATH}
+
+########################### Programs #################################
+
+# C++ compiler
+CC          = @CXX@
+CCPP        = @CXXCPP@
+
+# C compiler
+CCC         = @CC@
+CCCPP       = @CPP@
+
+# Compiler for lex/yacc .c programs
+CCLEX       = @CC@
+
+LEX         = @LEX@
+YACC        = @YACC@
+AR          = @AR@
+AS          = @AS@
+NM          = @NM@
+LN_S        = @LN_S@
+STRIP       = @STRIP@
+MAKE        = make
+AROPTIONS   = ruv
+RANLIB      = @RANLIB@
+LD          = @LD@
+MAKEINFO    = @MAKEINFO@
+
+########################### Flags #################################
+
+CFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CFLAGS@
+CPPFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CXXFLAGS@
+
+########################### Rules #################################
+
+# Clears all default suffixes
+.SUFFIXES:     .o .cpp .c
+
+.c.o :
+       $(CCC) -c $(CFLAGS) -o $@ $<
+
+.cpp.o :
+       $(CC) -c $(CPPFLAGS) -o $@ $<
+
+########################### Files #################################
+
+WXDIR = $(srcdir)/../..
+
+# Subordinate library possibilities
+
+GENDIR  = $(WXDIR)/src/generic
+COMMDIR = $(WXDIR)/src/common
+HTMLDIR = $(WXDIR)/src/html
+UNIXDIR = $(WXDIR)/src/unix
+PNGDIR  = $(WXDIR)/src/png
+JPEGDIR = $(WXDIR)/src/jpeg
+ZLIBDIR = $(WXDIR)/src/zlib
+GTKDIR  = $(WXDIR)/src/gtk
+
+DOCDIR = $(WXDIR)\docs
+
+GENERICOBJS = \
+                busyinfo.o \
+               caret.o \
+               colrdlgg.o \
+               dirdlgg.o \
+               extdlgg.o \
+               fontdlgg.o \
+               gridg.o \
+               imaglist.o \
+               laywin.o \
+               listctrl.o \
+               numdlgg.o \
+               panelg.o \
+               printps.o \
+               prntdlgg.o \
+               progdlgg.o \
+               prop.o \
+               propform.o \
+               proplist.o \
+               sashwin.o \
+               scrolwin.o \
+               splitter.o \
+               statusbr.o \
+               tipdlg.o \
+               treectrl.o
+
+COMMONOBJS  = \
+               parser.o \
+               cmndata.o \
+               config.o \
+               date.o \
+               datstrm.o \
+               db.o \
+               dbtable.o \
+               dcbase.o \
+               dlgcmn.o \
+               docmdi.o \
+               docview.o \
+               dynarray.o \
+               dynlib.o \
+               event.o \
+               extended.o \
+               ffile.o \
+               file.o \
+               fileconf.o \
+               filefn.o \
+               filesys.o \
+               framecmn.o \
+               fs_inet.o \
+               fs_zip.o \
+               ftp.o \
+               gdicmn.o \
+               hash.o \
+               helpbase.o \
+               http.o \
+               imagbmp.o \
+               image.o \
+               imaggif.o \
+               imagjpeg.o \
+               imagpng.o \
+               intl.o \
+               ipcbase.o \
+               layout.o \
+               list.o \
+               log.o \
+               memory.o \
+               mimetype.o \
+               module.o \
+               mstream.o \
+               object.o \
+               objstrm.o \
+               paper.o \
+               prntbase.o \
+               process.o \
+               protocol.o \
+               resource.o \
+               sckaddr.o \
+               sckfile.o \
+               sckipc.o \
+               sckstrm.o \
+               socket.o \
+               stream.o \
+               string.o \
+               tbarbase.o \
+               tbarsmpl.o \
+               textcmn.o \
+               textfile.o \
+               time.o \
+               timercmn.o \
+               tokenzr.o \
+               txtstrm.o \
+               unzip.o \
+               url.o \
+               utilscmn.o \
+               valgen.o \
+               validate.o \
+               valtext.o \
+               variant.o \
+               wfstream.o \
+               wincmn.o \
+               wxchar.o \
+               wxexpr.o \
+               zipstream.o \
+               zstream.o
+
+HTMLOBJS = \
+                htmlcell.o \
+               htmlfilter.o \
+               htmlhelp.o \
+               htmlhelp_io.o \
+               htmlparser.o \
+               htmltag.o \
+               htmlwin.o \
+               htmlwinparser.o \
+               mod_fonts.o \
+               mod_hline.o \
+               mod_image.o \
+               mod_layout.o \
+               mod_links.cpp \
+               mod_list.o \
+               mod_pre.o \
+               mod_tables.o \
+               search.o
+
+GTKOBJS     = \
+               accel.o \
+               app.o \
+               bitmap.o \
+               bmpbuttn.o \
+               brush.o \
+               button.o \
+               checkbox.o \
+               checklst.o \
+               choicdlg.o \
+               choice.o \
+               clipbrd.o \
+               colour.o \
+               combobox.o \
+               control.o \
+               cursor.o \
+               data.o \
+               dataobj.o \
+               dc.o \
+               dcclient.o \
+               dcmemory.cpp \
+               dcscreen.o \
+               dialog.o \
+               dnd.o \
+               filedlg.o \
+               font.o \
+               frame.o \
+               gauge.o \
+               gdiobj.o \
+               gsockgtk.o \
+               icon.o \
+               listbox.o \
+               main.o \
+               mdi.o \
+               menu.o \
+               minifram.o \
+               msgdlg.o \
+               notebook.o \
+               palette.o \
+               pen.o \
+               radiobox.o \
+               radiobut.o \
+               region.o \
+               scrolbar.o \
+               settings.o \
+               slider.o \
+               spinbutt.o \
+               statbmp.o \
+               statbox.o \
+               statline.o \
+               stattext.o \
+               tbargtk.o \
+               textctrl.o \
+               textdlg.o \
+               timer.o \
+               tooltip.o \
+               utilsgtk.o \
+               utilsres.o \
+               wave.o \
+               win_gtk.o \
+               window.o
+
+UNIXOBJS     = \
+               gsocket.o \
+               threadpsx.o \
+               utilsunx.o
+
+ZLIBOBJS    = \
+               adler32.o \
+               compress.o \
+               crc32.o \
+               gzio.o \
+               uncompr.o \
+               deflate.o \
+               trees.o \
+               zutil.o \
+               inflate.o \
+               infblock.o \
+               inftrees.o \
+               infcodes.o \
+               infutil.o \
+               inffast.o
+
+PNGOBJS     = \
+               png.o \
+               pngread.o \
+               pngrtran.o \
+               pngrutil.o \
+               pngpread.o \
+               pngtrans.o \
+               pngwrite.o \
+               pngwtran.o \
+               pngwutil.o \
+               pngerror.o \
+               pngmem.o \
+               pngwio.o \
+               pngrio.o \
+               pngget.o \
+               pngset.o
+
+
+JPEGOBJS    = \
+               jcomapi.o \
+               jutils.o \
+               jerror.o \
+               jmemmgr.o \
+               jmemnobs.o \
+               jcapimin.o \
+               jcapistd.o \
+               jctrans.o \
+               jcparam.o \
+               jdatadst.o \
+               jcinit.o \
+               jcmaster.o \
+               jcmarker.o \
+               jcmainct.o \
+               jcprepct.o \
+               jccoefct.o \
+               jccolor.o \
+               jcsample.o \
+               jchuff.o \
+               jcphuff.o \
+               jcdctmgr.o \
+               jfdctfst.o \
+               jfdctflt.o \
+               jfdctint.o \
+               jdapimin.o \
+               jdapistd.o \
+               jdtrans.o \
+               jdatasrc.o \
+               jdmaster.o \
+               jdinput.o \
+               jdmarker.o \
+               jdhuff.o \
+               jdphuff.o \
+               jdmainct.o \
+               jdcoefct.o \
+               jdpostct.o \
+               jddctmgr.o \
+               jidctfst.o \
+               jidctflt.o \
+               jidctint.o \
+               jidctred.o \
+               jdsample.o \
+               jdcolor.o \
+               jquant1.o \
+               jquant2.o \
+               jdmerge.o
+
+OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \
+         $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
+
+all:    $(OBJECTS) $(WXLIB)
+
+$(WXLIB): $(OBJECTS)
+       $AR) $(AROPTIONS) $@ $(OBJECTS)
+       $(RANLIB) $@
+
+$(OBJECTS):    $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
+
+parser.o:    parser.c lexer.c
+       $(CCLEX) -c $(CFLAGS) -o $@ parser.c
+
+parser.c:      $(COMMDIR)/parser.y lexer.c
+       $(YACC) $(COMMDIR)/parser.y
+       @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
+       sed -e "s/BUFSIZ/5000/g"            | \
+       sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
+       sed -e "s/yy/PROIO_yy/g"            | \
+       sed -e "s/input/PROIO_input/g"      | \
+       sed -e "s/unput/PROIO_unput/g"      > parser.c
+       @$(RM) y.tab.c
+
+lexer.c:       $(COMMDIR)/lexer.l
+       $(LEX) $(COMMDIR)/lexer.l
+       @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
+       sed -e "s/yy/PROIO_yy/g"            | \
+       sed -e "s/input/PROIO_input/g"      | \
+       sed -e "s/unput/PROIO_unput/g"      > lexer.c
+       @$(RM) lex.yy.c
+
+clean:
+       rm -f *.o
+       rm -f *.lo
+       rm -f parser.c
+       rm -f lexer.c
+       rm -f *.a
+       rm -f *.la
+
+cleanall: clean