diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2003-11-21 23:44:15 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2003-11-21 23:44:15 +0000 |
commit | 14406d5132ed8e7df9532cef0297dd06565bbda7 (patch) | |
tree | 28a3306122110c17d3013676b28f238d11f5ca33 /NWGNUmakefile | |
parent | 9a19d440248c849145517f3ce4e2de13c051cfd4 (diff) | |
download | libapr-14406d5132ed8e7df9532cef0297dd06565bbda7.tar.gz |
Fix up the NetWare make files so that they copy the right headers and libraries
for the installdev target
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64782 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'NWGNUmakefile')
-rw-r--r-- | NWGNUmakefile | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile index 6f9da1de1..a4a7e7834 100644 --- a/NWGNUmakefile +++ b/NWGNUmakefile @@ -312,8 +312,32 @@ nlms :: libs $(TARGET_nlm) # Updated this target to create necessary directories and copy files to the # correct place. (See $(APR_WORK)\build\NWGNUhead.inc for examples) # -install :: nlms FORCE - copy $(OBJDIR)\aprlib.nlm $(INSTALL)\Apache2\*.* +install :: nlms $(INSTDIRS) FORCE + copy $(OBJDIR)\aprlib.nlm $(INSTALLBASE)\*.* +ifndef DEST + -copy $(subst /,\,$(APR))\STATUS $(INSTALLBASE)\*.apr + -copy $(subst /,\,$(APR))\LICENSE $(INSTALLBASE)\* + -copy $(subst /,\,$(APR))\CHANGES $(INSTALLBASE)\*.apr + -copy $(subst /,\,$(APRUTIL))\STATUS $(INSTALLBASE)\*.apu + -copy $(subst /,\,$(APRUTIL))\CHANGES $(INSTALLBASE)\*.apu + @echo rem copying the docs directories > xc.bat + @echo xcopy docs $(INSTALLBASE)\docs\*.* /E /Y >> xc.bat + $(CMD) xc.bat +endif + +$(INSTDIRS) :: + $(CHKNOT) $@\NUL mkdir $@ + +ifndef DEST +installdev :: $(INSTDEVDIRS) FORCE + -copy $(subst /,\,$(APR))\include\*.h $(INSTALLBASE)\include\*.* + -copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALLBASE)\include\*.* + -copy $(subst /,\,$(APR))\*.imp $(INSTALLBASE)\lib\*.* + -copy $(subst /,\,$(APR))\misc\netware\*.xdc $(INSTALLBASE)\lib\*.* + +$(INSTDEVDIRS) :: + $(CHKNOT) $@\NUL mkdir $@ +endif # # Any specialized rules here |