diff options
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index a90fd5841e4..37480f8269d 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -68,23 +68,21 @@ OTHER_FILES = @OTHER_FILES@ | |||
| 68 | PROFILING_CFLAGS = @PROFILING_CFLAGS@ | 68 | PROFILING_CFLAGS = @PROFILING_CFLAGS@ |
| 69 | 69 | ||
| 70 | ## Flags to pass to the compiler to enable build warnings | 70 | ## Flags to pass to the compiler to enable build warnings |
| 71 | C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@ | 71 | WARN_CFLAGS = @WARN_CFLAGS@ |
| 72 | WERROR_CFLAGS = @WERROR_CFLAGS@ | ||
| 72 | 73 | ||
| 73 | ## Machine-specific CFLAGS. | 74 | ## Machine-specific CFLAGS. |
| 74 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ | 75 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ |
| 75 | ## System-specific CFLAGS. | 76 | ## System-specific CFLAGS. |
| 76 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ | 77 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
| 77 | 78 | ||
| 78 | ## Currently only set if NS_IMPL_GNUSTEP. | 79 | GNUSTEP_CFLAGS=@GNUSTEP_CFLAGS@ |
| 79 | ## C_SWITCH_X_SITE may override this. | ||
| 80 | C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@ | ||
| 81 | 80 | ||
| 82 | ## Define C_SWITCH_X_SITE to contain any special flags your compiler | 81 | ## Define C_SWITCH_X_SITE to contain any special flags your compiler |
| 83 | ## may need to deal with X Windows. For instance, if you've defined | 82 | ## may need to deal with X Windows. For instance, if you've defined |
| 84 | ## HAVE_X_WINDOWS and your X include files aren't in a place that your | 83 | ## HAVE_X_WINDOWS and your X include files aren't in a place that your |
| 85 | ## compiler can find on its own, you might want to add "-I/..." or | 84 | ## compiler can find on its own, you might want to add "-I/..." or |
| 86 | ## something similar. This is normally set by configure. | 85 | ## something similar. This is normally set by configure. |
| 87 | ## This is used before C_SWITCH_X_SYSTEM and may override it. | ||
| 88 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 86 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 89 | 87 | ||
| 90 | ## Define LD_SWITCH_X_SITE to contain any special flags your loader | 88 | ## Define LD_SWITCH_X_SITE to contain any special flags your loader |
| @@ -302,19 +300,16 @@ MKDEPDIR=@MKDEPDIR@ | |||
| 302 | ## -DHAVE_CONFIG_H is needed for some other files to take advantage of | 300 | ## -DHAVE_CONFIG_H is needed for some other files to take advantage of |
| 303 | ## the information in `config.h'. | 301 | ## the information in `config.h'. |
| 304 | ## | 302 | ## |
| 305 | ## C_SWITCH_X_SITE must come before C_SWITCH_X_SYSTEM | ||
| 306 | ## since it may have -I options that should override those. | ||
| 307 | ## | ||
| 308 | ## FIXME? MYCPPFLAGS only referenced in etc/DEBUG. | 303 | ## FIXME? MYCPPFLAGS only referenced in etc/DEBUG. |
| 309 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I$(srcdir) \ | 304 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I$(srcdir) \ |
| 310 | -I$(lib) -I$(srcdir)/../lib \ | 305 | -I$(lib) -I$(srcdir)/../lib \ |
| 311 | $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ | 306 | $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ |
| 312 | $(C_SWITCH_X_SYSTEM) $(CFLAGS_SOUND) $(RSVG_CFLAGS) $(IMAGEMAGICK_CFLAGS) \ | 307 | $(GNUSTEP_CFLAGS) $(CFLAGS_SOUND) $(RSVG_CFLAGS) $(IMAGEMAGICK_CFLAGS) \ |
| 313 | $(LIBXML2_CFLAGS) $(DBUS_CFLAGS) \ | 308 | $(LIBXML2_CFLAGS) $(DBUS_CFLAGS) \ |
| 314 | $(SETTINGS_CFLAGS) $(FREETYPE_CFLAGS) $(FONTCONFIG_CFLAGS) \ | 309 | $(SETTINGS_CFLAGS) $(FREETYPE_CFLAGS) $(FONTCONFIG_CFLAGS) \ |
| 315 | $(LIBOTF_CFLAGS) $(M17N_FLT_CFLAGS) $(DEPFLAGS) $(PROFILING_CFLAGS) \ | 310 | $(LIBOTF_CFLAGS) $(M17N_FLT_CFLAGS) $(DEPFLAGS) $(PROFILING_CFLAGS) \ |
| 316 | $(LIBGNUTLS_CFLAGS) \ | 311 | $(LIBGNUTLS_CFLAGS) \ |
| 317 | $(C_WARNINGS_SWITCH) $(CFLAGS) | 312 | $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAGS) |
| 318 | ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS) | 313 | ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS) |
| 319 | 314 | ||
| 320 | .SUFFIXES: .m | 315 | .SUFFIXES: .m |