diff options
author | Guenter Knauf <fuankg@apache.org> | 2011-03-04 11:19:49 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2011-03-04 11:19:49 +0000 |
commit | 00ab6bddb361a6cb256f009a30fb9d6d8447f4b2 (patch) | |
tree | cd076718704e819cbabbe42660f6301d14f444cd /build/NWGNUmakefile | |
parent | c16c739cb3b93b193e0e0763480ddf0c4c3b2e88 (diff) | |
download | apr-00ab6bddb361a6cb256f009a30fb9d6d8447f4b2.tar.gz |
NetWare build overhaul in order to compile on Linux.
Part 2.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1077882 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUmakefile')
-rw-r--r-- | build/NWGNUmakefile | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/build/NWGNUmakefile b/build/NWGNUmakefile index fb6f1183d..a62e15d09 100644 --- a/build/NWGNUmakefile +++ b/build/NWGNUmakefile @@ -53,27 +53,15 @@ endif $(APR)/include/%.h: $(APR)/include/%.hnw @echo Creating $@ -ifeq "$(OSTYPE)" "linux" - $(CP) $< $@ -else - $(CP) $(subst /,\,$<) $(subst /,\,$@) -endif + $(call CP,$<,$@) $(APR)/include/private/%.h: $(APR)/include/private/%.hnw @echo Creating $@ -ifeq "$(OSTYPE)" "linux" - $(CP) $< $@ -else - $(CP) $(subst /,\,$<) $(subst /,\,$@) -endif + $(call CP,$<,$@) $(APR)/include/private/%.h: $(APR)/include/private/%.hw @echo Creating $@ -ifeq "$(OSTYPE)" "linux" - $(CP) $< $@ -else - $(CP) $(subst /,\,$<) $(subst /,\,$@) -endif + $(call CP,$<,$@) $(APR)/include/private/apu_config.h: FORCE @@ -85,15 +73,15 @@ install :: nlms FORCE clean :: - $(CHK) nw_export.i $(DEL) nw_export.i - $(CHK) $(NLM_NAME)_cc.opt $(DEL) $(NLM_NAME)_cc.opt - $(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc - $(CHK) $(subst /,\,$(APR))\include\apr.h $(DEL) $(subst /,\,$(APR))\include\apr.h - $(CHK) $(subst /,\,$(APR))\include\apu_want.h $(DEL) $(subst /,\,$(APR))\include\apu_want.h - $(CHK) $(subst /,\,$(APR))\include\apr_ldap.h $(DEL) $(subst /,\,$(APR))\include\apr_ldap.h - $(CHK) $(subst /,\,$(APR))\include\private\apu_config.h $(DEL) $(subst /,\,$(APR))\include\private\apu_config.h - $(CHK) $(subst /,\,$(APR))\include\private\apu_select_dbm.h $(DEL) $(subst /,\,$(APR))\include\private\apu_select_dbm.h - $(CHK) $(subst /,\,$(APR))\aprlib.imp $(DEL) $(subst /,\,$(APR))\aprlib.imp + $(call DEL,nw_export.i) + $(call DEL,$(NLM_NAME)_cc.opt) + $(call DEL,NWGNUversion.inc) + $(call DEL,$(APR)/include/apr.h) + $(call DEL,$(APR)/include/apu_want.h) + $(call DEL,$(APR)/include/apr_ldap.h) + $(call DEL,$(APR)/include/private/apu_config.h) + $(call DEL,$(APR)/include/private/apu_select_dbm.h) + $(call DEL,$(APR)/aprlib.imp) # # Include the 'tail' makefile that has targets that depend on variables defined |