X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4286a5b59579f09c014fd81683732cd8609cfe9f..4438caf41af49f00f3c8137ac801871f59cce386:/src/msw/Makefile.am diff --git a/src/msw/Makefile.am b/src/msw/Makefile.am index 9a155b7aa0..31294a6914 100644 --- a/src/msw/Makefile.am +++ b/src/msw/Makefile.am @@ -1,9 +1,12 @@ ## 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 +AUTOMAKE_OPTIONS = 1.3 +# no-dependencies + SUFFIXES = .cpp .c DEFS = $(TOOLKIT_DEF) $(WXDEBUG_DEFINE) @@ -16,10 +19,15 @@ 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 = \ \ - winestub.c \ extended.c \ parser.c \ \ @@ -43,6 +51,7 @@ libwx_msw_la_SOURCES = \ date.cpp \ datstrm.cpp \ dcbase.cpp \ + dlgcmn.cpp \ docmdi.cpp \ docview.cpp \ dynlib.cpp \ @@ -55,6 +64,7 @@ libwx_msw_la_SOURCES = \ helpbase.cpp \ http.cpp \ image.cpp \ + imagbmp.cpp \ imaggif.cpp \ imagjpeg.cpp \ imagpng.cpp \ @@ -105,6 +115,7 @@ libwx_msw_la_SOURCES = \ statusbr.cpp \ tabg.cpp \ textdlgg.cpp \ + tipdlg.cpp \ \ accel.cpp \ app.cpp \ @@ -178,12 +189,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 + +# 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" | \ - 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 @@ -191,13 +204,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 | \ - 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) \ - -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