Strange syntax in Makefile.am

Jaroslaw Staniek js at iidea.pl
Tue Nov 8 12:34:03 GMT 2005


Andras Mantia said the following, On 2005-11-08 11:15:

> Hi,
> 
>  I found in many places in Kexi the following syntax:
> 
> KDE_CXXFLAGS += -DKEXIDB_ODBC_DRIVER_EXPORT= -D__KEXIDB__=
> 
> See the "=" signs all over. Does it have some meaning? Because it 
> certainly breaks things, like in showimg (copied from kexi) where 
> -KDE_CXXFLAGS += -D__KEXIDB__= -DMAKE_KEXI_DB_LIB -include 
> $(showimg_top_srcdir)/kexi/kexidb/global.h
> +KDE_CXXFLAGS += -D__KEXIDB__ -DMAKE_KEXI_DB_LIB -include 
> $(showimg_top_srcdir)/kexi/kexidb/global.h
> 
> fixed the visibility problems (MAKE_KEXI_DB_LIB did not get defined).
> 
> If it's just an error, I will correct them all.

Strange, there's a ' ' after '=' in '-D__KEXIDB__= -DMAKE_KEXI_DB_LIB', right?

This worked for a long time. Or is there a specific platform where it won't work?

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska
  Kexi Developer:
      http://www.kexi-project.org | http://koffice.org/kexi
  Kexi support:
      http://www.kexi-project.org/support.html
  KDE3, KDE4 libraries for developing MS Windows applications:
      http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32




More information about the kde-core-devel mailing list