[anjuta] project-wizard: Move PROJECT_CFLAGS to own line
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] project-wizard: Move PROJECT_CFLAGS to own line
- Date: Thu, 22 Dec 2011 21:51:58 +0000 (UTC)
commit f737dd0d6caf51bc9bd9e413f653624d15591bac
Author: Arnel A. Borja <kyoushuu yahoo com>
Date: Wed Dec 21 07:04:19 2011 +0800
project-wizard: Move PROJECT_CFLAGS to own line
When adding PROJECT_CFLAGS to AM_CPPFLAGS in src/Makefile of templates, move it
to its own line
.../templates/anjuta-plugin/src/Makefile.am.tpl | 3 ++-
.../templates/cpp/src/Makefile.am.tpl | 3 ++-
.../templates/library/src/Makefile.am.tpl | 3 ++-
.../templates/terminal/src/Makefile.am.tpl | 3 ++-
.../templates/wxwin/src/Makefile.am.tpl | 3 ++-
.../templates/xlib-dock/src/Makefile.am.tpl | 3 ++-
.../templates/xlib/src/Makefile.am.tpl | 3 ++-
7 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl b/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl
index 8ad3db3..ac3c1f8 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/Makefile.am.tpl
@@ -39,7 +39,8 @@ AM_CPPFLAGS = \
-DANJUTA_UI_DIR=\"$(anjuta_ui_dir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)\" \
-DPACKAGE_SRC_DIR=\"$(srcdir)\" \
- $(LIBANJUTA_CFLAGS) [+IF (=(get "HavePackage") "1")+]$([+NameCUpper+]_CFLAGS)[+ENDIF+]
+ $(LIBANJUTA_CFLAGS)[+IF (=(get "HavePackage") "1")+] \
+ $([+NameCUpper+]_CFLAGS)[+ENDIF+]
# Where to install the plugin
plugindir = $(anjuta_plugin_dir)
diff --git a/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl b/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl
index 7beab16..28f4f76 100644
--- a/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/cpp/src/Makefile.am.tpl
@@ -6,7 +6,8 @@
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" [+IF (=(get "HavePackage") "1")+]$([+NameCUpper+]_CFLAGS)[+ENDIF+]
+ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"[+IF (=(get "HavePackage") "1")+] \
+ $([+NameCUpper+]_CFLAGS)[+ENDIF+]
AM_CFLAGS =\
-Wall\
diff --git a/plugins/project-wizard/templates/library/src/Makefile.am.tpl b/plugins/project-wizard/templates/library/src/Makefile.am.tpl
index 7d580cb..87c1b52 100644
--- a/plugins/project-wizard/templates/library/src/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/library/src/Makefile.am.tpl
@@ -6,7 +6,8 @@
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" [+IF (=(get "HavePackage") "1")+]$([+NameCUpper+]_CFLAGS)[+ENDIF+]
+ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"[+IF (=(get "HavePackage") "1")+] \
+ $([+NameCUpper+]_CFLAGS)[+ENDIF+]
AM_CFLAGS =\
-Wall\
diff --git a/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl b/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl
index 2661f54..7a239dc 100644
--- a/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/terminal/src/Makefile.am.tpl
@@ -6,7 +6,8 @@
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" [+IF (=(get "HavePackage") "1")+]$([+NameCUpper+]_CFLAGS)[+ENDIF+]
+ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"[+IF (=(get "HavePackage") "1")+] \
+ $([+NameCUpper+]_CFLAGS)[+ENDIF+]
AM_CFLAGS =\
-Wall\
diff --git a/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl b/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl
index 325cad0..c5dda11 100644
--- a/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/wxwin/src/Makefile.am.tpl
@@ -7,7 +7,8 @@ AM_CPPFLAGS = \
$(WX_CXXFLAGS) \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" [+IF (=(get "HavePackage") "1")+]$([+NameCUpper+]_CFLAGS)[+ENDIF+]
+ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"[+IF (=(get "HavePackage") "1")+] \
+ $([+NameCUpper+]_CFLAGS)[+ENDIF+]
AM_CFLAGS =\
-Wall \
diff --git a/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl b/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl
index 3a71757..55494ca 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/xlib-dock/src/Makefile.am.tpl
@@ -6,7 +6,8 @@
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" [+IF (=(get "HavePackage") "1")+]$([+NameCUpper+]_CFLAGS)[+ENDIF+]
+ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"[+IF (=(get "HavePackage") "1")+] \
+ $([+NameCUpper+]_CFLAGS)[+ENDIF+]
AM_CFLAGS =\
-Wall\
diff --git a/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl b/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl
index 6fe27a1..32009ce 100644
--- a/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl
+++ b/plugins/project-wizard/templates/xlib/src/Makefile.am.tpl
@@ -6,7 +6,8 @@
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
- -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" [+IF (=(get "HavePackage") "1")+]$([+NameCUpper+]_CFLAGS)[+ENDIF+]
+ -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"[+IF (=(get "HavePackage") "1")+] \
+ $([+NameCUpper+]_CFLAGS)[+ENDIF+]
AM_CFLAGS =\
-Wall\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]