summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 17:00:59 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-22 17:00:59 +0000
commit7b595ae429f84872a3004e24ee74ffe905500f22 (patch)
tree8865e2506667fe19250f9d04b9f95071e922fcbc /src
parenta2056f98102dcb72c52139f372fb98f3084616c8 (diff)
downloadhercules-7b595ae429f84872a3004e24ee74ffe905500f22.tar.gz
hercules-7b595ae429f84872a3004e24ee74ffe905500f22.tar.bz2
hercules-7b595ae429f84872a3004e24ee74ffe905500f22.tar.xz
hercules-7b595ae429f84872a3004e24ee74ffe905500f22.zip
Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs directly to all sub make files
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12230 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/Makefile.in2
-rw-r--r--src/char_sql/Makefile.in2
-rw-r--r--src/common/Makefile.in6
-rw-r--r--src/ladmin/Makefile.in2
-rw-r--r--src/login/Makefile.in2
-rw-r--r--src/login_sql/Makefile.in2
-rw-r--r--src/map/Makefile.in4
-rw-r--r--src/plugins/Makefile.in2
8 files changed, 11 insertions, 11 deletions
diff --git a/src/char/Makefile.in b/src/char/Makefile.in
index 359e19b01..37b464991 100644
--- a/src/char/Makefile.in
+++ b/src/char/Makefile.in
@@ -40,7 +40,7 @@ obj_txt:
-mkdir obj_txt
obj_txt/%.o: %.c $(CHAR_H) $(COMMON_H)
- @CC@ @CFLAGS@ -DTXT_ONLY @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) -DTXT_ONLY @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
# missing common object files
../common/obj_all/%.o:
diff --git a/src/char_sql/Makefile.in b/src/char_sql/Makefile.in
index 819ddec18..8a422dcf7 100644
--- a/src/char_sql/Makefile.in
+++ b/src/char_sql/Makefile.in
@@ -54,7 +54,7 @@ obj_sql:
-mkdir obj_sql
obj_sql/%.o: %.c $(CHAR_H) $(COMMON_H) $(COMMON_SQL_H)
- @CC@ @CFLAGS@ @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
# missing common object files
../common/obj_all/%.o:
diff --git a/src/common/Makefile.in b/src/common/Makefile.in
index bda9e1911..75450f46a 100644
--- a/src/common/Makefile.in
+++ b/src/common/Makefile.in
@@ -60,13 +60,13 @@ common_sql: obj_sql $(COMMON_SQL_OBJ)
obj_all/%.o: %.c $(COMMON_H)
- @CC@ @CFLAGS@ @LDFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) @LDFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
obj_all/mini%.o: %.c $(COMMON_H)
- @CC@ @CFLAGS@ -DMINICORE @LDFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) -DMINICORE @LDFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
obj_sql/%.o: %.c $(COMMON_H) $(COMMON_SQL_H)
- @CC@ @CFLAGS@ @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
HAVESVN = $(shell which svnversion)
diff --git a/src/ladmin/Makefile.in b/src/ladmin/Makefile.in
index 4703dded1..365252f63 100644
--- a/src/ladmin/Makefile.in
+++ b/src/ladmin/Makefile.in
@@ -35,7 +35,7 @@ obj_all:
-mkdir obj_all
obj_all/%.o: %.c $(LADMIN_H) $(COMMON_H)
- @CC@ @CFLAGS@ @LDFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) @LDFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
# missing common object files
../common/obj_all/%.o:
diff --git a/src/login/Makefile.in b/src/login/Makefile.in
index 0c194fac4..aeb41b667 100644
--- a/src/login/Makefile.in
+++ b/src/login/Makefile.in
@@ -39,7 +39,7 @@ obj_txt:
-mkdir obj_txt
obj_txt/%.o: %.c $(LOGIN_H) $(COMMON_H)
- @CC@ @CFLAGS@ -DTXT_ONLY @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) -DTXT_ONLY @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
# missing common object files
../common/obj_all/%.o:
diff --git a/src/login_sql/Makefile.in b/src/login_sql/Makefile.in
index 72d23b183..05bd9262e 100644
--- a/src/login_sql/Makefile.in
+++ b/src/login_sql/Makefile.in
@@ -50,7 +50,7 @@ obj_sql:
-mkdir obj_sql
obj_sql/%.o: %.c $(LOGIN_H) $(COMMON_H)
- @CC@ @CFLAGS@ @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
# missing common object files
../common/obj_all/%.o:
diff --git a/src/map/Makefile.in b/src/map/Makefile.in
index 4276b976a..7799b43ce 100644
--- a/src/map/Makefile.in
+++ b/src/map/Makefile.in
@@ -90,10 +90,10 @@ map-server_sql: obj_sql $(MAP_SQL_OBJ) $(COMMON_OBJ) $(COMMON_SQL_OBJ)
# map object files
obj_txt/%.o: %.c $(MAP_H) $(COMMON_H)
- @CC@ @CFLAGS@ $(PCRE_CFLAGS) -DTXT_ONLY @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(PCRE_CFLAGS) $(CUSTOM_CFLAGS) -DTXT_ONLY @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
obj_sql/%.o: %.c $(MAP_H) $(COMMON_H) $(COMMON_SQL_H)
- @CC@ @CFLAGS@ $(PCRE_CFLAGS) @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @CC@ @CFLAGS@ $(PCRE_CFLAGS) $(CUSTOM_CFLAGS) @MYSQL_CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
# missing common object files
../common/obj_all/%.o:
diff --git a/src/plugins/Makefile.in b/src/plugins/Makefile.in
index c21bcd7d9..6a902e1d7 100644
--- a/src/plugins/Makefile.in
+++ b/src/plugins/Makefile.in
@@ -50,7 +50,7 @@ gui@DLLEXT@: ../../plugins/gui.conf
upnp@DLLEXT@: ../../plugins/upnp.conf
sig@DLLEXT@: sig.c $(COMMON_OBJ)
- @CC@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ -shared -o ../../plugins/$@ $< $(COMMON_OBJ)
+ @CC@ @CFLAGS@ $(CUSTOM_CFLAGS) @CPPFLAGS@ @LDFLAGS@ -shared -o ../../plugins/$@ $< $(COMMON_OBJ)
../../plugins/%.conf: %.txt
cp -r $< $@