]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/Makefile.am
wxFileSystem now compiles if wxUSE_HTML (required by wxHTML)
[wxWidgets.git] / src / msw / Makefile.am
index 9a155b7aa0c1bbee4802af976f8087c79df8c7e9..2923f8b3c5542abe06ff65697014477494216561 100644 (file)
@@ -1,25 +1,33 @@
 ## Purpose: The automake makefile for wxWindows (src/msw subdirectory)
 ## Purpose: The automake makefile for wxWindows (src/msw subdirectory)
-## Author:  Phil Blecker, Vadim Zeitlin
+## Author:  Phil Blecker, Vadim Zeitlin, Robert Roebling
 ## Version: $Id$
 ##
 ## Process this file with automake to produce Makefile.in
 
 ## Version: $Id$
 ##
 ## Process this file with automake to produce Makefile.in
 
+AUTOMAKE_OPTIONS = 1.3
+# no-dependencies
+
 SUFFIXES = .cpp .c
 
 DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
 LIBS = $(GUILIBS)
 
 SUFFIXES = .cpp .c
 
 DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
 LIBS = $(GUILIBS)
 
-VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${EXTRA_VPATH}
+VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH}
 
 EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
 
 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
 
 
 EXTRA_DIST = "${srcdir}/../common ${srcdir}/../generic ${srcdir}"
 
 lib_LTLIBRARIES = @WX_LIBRARY_NAME@
 EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
 
+# empty Motif library
+libwx_motif_la_SOURCES =
+
+# empty GTK library
+libwx_gtk_la_SOURCES =
+
 # these are the common files which always make part of the library
 libwx_msw_la_SOURCES = \
 \
 # these are the common files which always make part of the library
 libwx_msw_la_SOURCES = \
 \
- winestub.c \
  extended.c \
  parser.c \
 \
  extended.c \
  parser.c \
 \
@@ -33,6 +41,7 @@ libwx_msw_la_SOURCES = \
  module.cpp \
  object.cpp \
  string.cpp \
  module.cpp \
  object.cpp \
  string.cpp \
+ strconv.cpp \
  timercmn.cpp \
  utilscmn.cpp \
  tokenzr.cpp \
  timercmn.cpp \
  utilscmn.cpp \
  tokenzr.cpp \
@@ -43,18 +52,24 @@ libwx_msw_la_SOURCES = \
  date.cpp \
  datstrm.cpp \
  dcbase.cpp \
  date.cpp \
  datstrm.cpp \
  dcbase.cpp \
+ dlgcmn.cpp \
  docmdi.cpp \
  docview.cpp \
  dynlib.cpp \
  event.cpp \
  docmdi.cpp \
  docview.cpp \
  dynlib.cpp \
  event.cpp \
+ ffile.cpp \
  file.cpp \
  fileconf.cpp \
  file.cpp \
  fileconf.cpp \
+ filesys.cpp \
+ fs_inet.cpp \
+ fs_zip.cpp \
  framecmn.cpp \
  ftp.cpp \
  gdicmn.cpp \
  helpbase.cpp \
  http.cpp \
  image.cpp \
  framecmn.cpp \
  ftp.cpp \
  gdicmn.cpp \
  helpbase.cpp \
  http.cpp \
  image.cpp \
+ imagbmp.cpp \
  imaggif.cpp \
  imagjpeg.cpp \
  imagpng.cpp \
  imaggif.cpp \
  imagjpeg.cpp \
  imagpng.cpp \
@@ -73,7 +88,6 @@ libwx_msw_la_SOURCES = \
  resource.cpp \
  sckaddr.cpp \
  sckfile.cpp \
  resource.cpp \
  sckaddr.cpp \
  sckfile.cpp \
- sckint.cpp \
  sckipc.cpp \
  sckstrm.cpp \
  serbase.cpp \
  sckipc.cpp \
  sckstrm.cpp \
  serbase.cpp \
@@ -81,19 +95,25 @@ libwx_msw_la_SOURCES = \
  stream.cpp \
  tbarbase.cpp \
  tbarsmpl.cpp \
  stream.cpp \
  tbarbase.cpp \
  tbarsmpl.cpp \
+ textcmn.cpp \
  textfile.cpp \
  time.cpp \
  url.cpp \
  textfile.cpp \
  time.cpp \
  url.cpp \
+ unzip.c \
  validate.cpp \
  valtext.cpp \
  wfstream.cpp \
  wincmn.cpp \
  wxexpr.cpp \
  validate.cpp \
  valtext.cpp \
  wfstream.cpp \
  wincmn.cpp \
  wxexpr.cpp \
+ zipstrm.cpp \
  zstream.cpp \
 \
  zstream.cpp \
 \
+ busyinfo.cpp \
  choicdgg.cpp \
  choicdgg.cpp \
+ dcpsg.cpp \
  gridg.cpp \
  laywin.cpp \
  gridg.cpp \
  laywin.cpp \
+ numdlgg.cpp \
  panelg.cpp \
  progdlgg.cpp \
  prop.cpp \
  panelg.cpp \
  progdlgg.cpp \
  prop.cpp \
@@ -105,6 +125,7 @@ libwx_msw_la_SOURCES = \
  statusbr.cpp \
  tabg.cpp \
  textdlgg.cpp \
  statusbr.cpp \
  tabg.cpp \
  textdlgg.cpp \
+ tipdlg.cpp \
 \
  accel.cpp \
  app.cpp \
 \
  accel.cpp \
  app.cpp \
@@ -160,9 +181,11 @@ libwx_msw_la_SOURCES = \
  spinbutt.cpp \
  statbmp.cpp \
  statbox.cpp \
  spinbutt.cpp \
  statbmp.cpp \
  statbox.cpp \
+ statline.cpp \
  stattext.cpp \
  tbar95.cpp \
  textctrl.cpp \
  stattext.cpp \
  tbar95.cpp \
  textctrl.cpp \
+ treectrl.cpp \
  thread.cpp \
  timer.cpp \
  tooltip.cpp \
  thread.cpp \
  timer.cpp \
  tooltip.cpp \
@@ -170,7 +193,26 @@ libwx_msw_la_SOURCES = \
  utilsexc.cpp \
  wave.cpp \
  window.cpp \
  utilsexc.cpp \
  wave.cpp \
  window.cpp \
- nativdlg.cpp
+ nativdlg.cpp \
+\
+ htmlcell.cpp \
+ htmlfilter.cpp \
+ htmlhelp.cpp \
+ htmlhelp_io.cpp \
+ htmlparser.cpp \
+ htmltag.cpp \
+ htmlwin.cpp \
+ htmlwinparser.cpp \
+ mod_fonts.cpp \
+ mod_hline.cpp \
+ mod_image.cpp \
+ mod_layout.cpp \
+ mod_links.cpp \
+ mod_list.cpp \
+ mod_pre.cpp \
+ mod_tables.cpp \
+ search.cpp
+                
 
 # these are the sources which we build by our own rules
 #
 
 # these are the sources which we build by our own rules
 #
@@ -178,12 +220,14 @@ libwx_msw_la_SOURCES = \
 #       don't know where to put lexer.l - if I put it in the sources too,
 #       automake tries to build lexer.lo... and fails, of course. (VZ)
 BUILT_SOURCES = parser.c lexer.c
 #       don't know where to put lexer.l - if I put it in the sources too,
 #       automake tries to build lexer.lo... and fails, of course. (VZ)
 BUILT_SOURCES = parser.c lexer.c
+
+# VZ: can anyone please explain me why are we doing these substitutions?
 parser.c: $(srcdir)/../common/parser.y lexer.c
        $(YACC) $(srcdir)/../common/parser.y
        @sed -e "s;$(srcdir)/../common/y.tab.c;parser.y;g" < y.tab.c | \
        sed -e "s/BUFSIZ/5000/g"            | \
        sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
 parser.c: $(srcdir)/../common/parser.y lexer.c
        $(YACC) $(srcdir)/../common/parser.y
        @sed -e "s;$(srcdir)/../common/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/yy\([^.]\)/PROIO_yy\1/g"  | \
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > parser.c
        @$(RM) y.tab.c
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > parser.c
        @$(RM) y.tab.c
@@ -191,13 +235,13 @@ parser.c: $(srcdir)/../common/parser.y lexer.c
 lexer.c: $(srcdir)/../common/lexer.l
        $(LEX) $(srcdir)/../common/lexer.l
        @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
 lexer.c: $(srcdir)/../common/lexer.l
        $(LEX) $(srcdir)/../common/lexer.l
        @sed -e "s;$(srcdir)/../common/lex.yy.c;lexer.l;g" < lex.yy.c | \
-       sed -e "s/yy/PROIO_yy/g"            | \
+       sed -e "s/yy\([^.]\)/PROIO_yy\1/g"  | \
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > lexer.c
        @$(RM) lex.yy.c
 
 libwx_msw_la_LDFLAGS = -rpath @libdir@ \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
        sed -e "s/input/PROIO_input/g"      | \
        sed -e "s/unput/PROIO_unput/g"      > lexer.c
        @$(RM) lex.yy.c
 
 libwx_msw_la_LDFLAGS = -rpath @libdir@ \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-       -release $(LT_RELEASE)
+       -release $(LT_RELEASE) -no-undefined
 libwx_msw_la_LIBADD = $(LTLIBOBJS)
 libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y
 libwx_msw_la_LIBADD = $(LTLIBOBJS)
 libwx_msw_la_DEPENDENCIES = $(libwx_msw_la_LIBADD) lexer.l parser.y