]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/makefile.unx
wxMenu compile fix
[wxWidgets.git] / src / motif / makefile.unx
index 17ae26ec6c4b51f047358e6b2fef820b39a34589..55b61ca7da5b41aa10f917ddcdd76de7c0735091 100644 (file)
@@ -16,6 +16,7 @@ LIB_CPP_SRC=\
 \
  ../common/cmndata.cpp \
  ../common/config.cpp \
+ ../common/dcbase.cpp \
  ../common/date.cpp \
  ../common/docmdi.cpp \
  ../common/docview.cpp \
@@ -31,6 +32,9 @@ LIB_CPP_SRC=\
  ../common/intl.cpp \
  ../common/ipcbase.cpp \
  ../common/image.cpp \
+ ../common/imagjpeg.cpp \
+ ../common/imagpng.cpp \
+ ../common/imaggif.cpp \
  ../common/layout.cpp \
  ../common/list.cpp \
  ../common/log.cpp \
@@ -39,10 +43,10 @@ LIB_CPP_SRC=\
  ../common/module.cpp \
  ../common/object.cpp \
  ../common/odbc.cpp \
- ../common/postscrp.cpp \
  ../common/prntbase.cpp \
  ../common/resource.cpp \
  ../common/serbase.cpp \
+ ../common/paper.cpp \
  ../common/string.cpp \
  ../common/textfile.cpp \
  ../common/tbarbase.cpp \
@@ -60,17 +64,23 @@ LIB_CPP_SRC=\
  ../common/objstrm.cpp \
  ../common/sckstrm.cpp \
  ../common/validate.cpp \
+ ../common/valgen.cpp \
  ../common/valtext.cpp \
  ../common/variant.cpp \
  ../common/wxexpr.cpp \
+ ../common/wxchar.cpp \
  ../common/socket.cpp \
  ../common/sckaddr.cpp \
+ ../common/sckint.cpp \
  ../common/sckipc.cpp \
  ../common/protocol.cpp \
  ../common/ftp.cpp \
  ../common/http.cpp \
  ../common/url.cpp \
  ../common/tokenzr.cpp \
+\
+ ../unix/threadpsx.cpp \
+ ../unix/utilsunx.cpp \
 \
  accel.cpp \
  app.cpp \
@@ -90,7 +100,6 @@ LIB_CPP_SRC=\
  dc.cpp \
  dcclient.cpp \
  dcmemory.cpp \
- dcps.cpp \
  dcscreen.cpp \
  dialog.cpp \
  dnd.cpp \
@@ -122,17 +131,16 @@ LIB_CPP_SRC=\
  stattext.cpp \
  taskbar.cpp \
  textctrl.cpp \
- thread.cpp \
  timer.cpp \
  toolbar.cpp \
  utils.cpp \
- utilsexc.cpp \
  wave.cpp \
  window.cpp \
 \
  ../generic/choicdgg.cpp \
  ../generic/colrdlgg.cpp \
  ../generic/dirdlgg.cpp \
+ ../generic/dcpsg.cpp \
  ../generic/fontdlgg.cpp \
  ../generic/gridg.cpp \
  ../generic/helphtml.cpp \
@@ -174,7 +182,7 @@ LIB_C_SRC=\
 EXTRA_C_SRC=\
   xmcombo/xmcombo.c
 
-EXTRA_CPP_SRC=\
+EXTRA_CPP_SRC=
 
 #  mdi/lib/XsComponent.C\
 #  mdi/lib/XsMDICanvas.C\
@@ -201,11 +209,20 @@ $(WXLIB) : $(OBJECTS)
 # problems with lex_yy.c. See also note about LEX_SCANNER
 # above.
 ../common/lex_yy.c:    ../common/lexer.l
-       $(LEX) -o../common/lex.yy.c ../common/lexer.l 
-       sed -e "s/BUFSIZ/5000/g" < ../common/lex.yy.c | \
+       $(LEX) ../common/lexer.l
+       sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
        sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
         sed -e "s/YYLMAX 200/YYLMAX 5000/g" > ../common/lex_yy.c
-       /bin/rm -f ../common/lex.yy.c
+       /bin/rm -f lex.yy.c
+
+# The above should work with both lex and flex, but just in case not,
+# here are alternative syntaxes.
+#
+# Flex-style syntax:
+# $(LEX) -olex.yy.c ../common/lexer.l 
+
+# Lex-style syntax:
+#    $(LEX) ../common/lexer.l
 
 # Replace yacc with bison if you run into compilation
 # problems with y_tab.c.