summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index f333dc3..363a30d 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -25,8 +25,10 @@ PORT_OBJS = \
port/netdb.o
ifeq "$(ENABLE_NLS)" "1"
-PORT_OBJS += \
- port/gettext.o
+I18N_OBJS = \
+ i18n/gettext.o
+else
+I18N_OBJS =
endif
LOG_OBJS = \
@@ -50,6 +52,7 @@ OBJS = \
errors.o \
$(THREADING_OBJS) \
$(PORT_OBJS) \
+ $(I18N_OBJS) \
$(LOG_OBJS) \
$(DAEMON_OBJS) \
$(NETWORK_OBJS) \
@@ -78,6 +81,11 @@ local_clean:
-@rm -f port/*.bak
-@rm -f port/*~
-@rm -f port/*.d
+ifeq "$(ENABLE_NLS)" "1"
+ -@rm -f i18n/*.bak
+ -@rm -f i18n/*~
+ -@rm -f i18n/*.d
+endif
-@rm -f log/*.bak
-@rm -f log/*~
-@rm -f log/*.d
@@ -86,9 +94,9 @@ local_clean:
-@rm -f daemon/*.d
ifeq "$(ENABLE_THREADS)" "1"
-@rm -f threads/*.bak
-endif
-@rm -f threads/*~
-@rm -f threads/*.d
+endif
-@rm -f library/*.bak
-@rm -f library/*~
-@rm -f library/*.d