summaryrefslogtreecommitdiff
path: root/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-03-06 20:13:35 +0000
committerGuenter Knauf <fuankg@apache.org>2011-03-06 20:13:35 +0000
commitb5bb3816a61001a32b15b4f01c51780ccc9877da (patch)
tree93494832caa538866668322a14204271cf97ae6e /NWGNUmakefile
parent72d4d5cb4e906f30501128cc711e7ef26c29a6e9 (diff)
downloadapr-b5bb3816a61001a32b15b4f01c51780ccc9877da.tar.gz
NetWare build overhaul in order to compile on Linux.
Part 4. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1078559 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'NWGNUmakefile')
-rw-r--r--NWGNUmakefile33
1 files changed, 17 insertions, 16 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile
index aae431242..e5c1bc754 100644
--- a/NWGNUmakefile
+++ b/NWGNUmakefile
@@ -141,12 +141,12 @@ NLM_STACK_SIZE =
#
# If this is specified it will be used by the link '-entry' directive
#
-NLM_ENTRY_SYM = _LibCPrelude
+NLM_ENTRY_SYM =
#
# If this is specified it will be used by the link '-exit' directive
#
-NLM_EXIT_SYM = _LibCPostlude
+NLM_EXIT_SYM =
#
# If this is specified it will be used by the link '-check' directive
@@ -156,7 +156,7 @@ NLM_CHECK_SYM =
#
# If this is specified it will be used by the link '-flags' directive
#
-NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS =
#
# If this is specified it will be linked in with the XDCData option in the def
@@ -423,24 +423,24 @@ nlms :: libs $(TARGET_nlm)
# correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms $(INSTDIRS) FORCE
- $(call CP,$(APR)/$(TARGET_nlm),$(INSTALLBASE)/)
+ $(call COPY,$(APR)/$(TARGET_nlm),$(INSTALLBASE)/)
ifndef DEST
- -$(call CP,$(APR)/STATUS,$(INSTALLBASE)/*.apr)
- -$(call CP,$(APR)/LICENSE,$(INSTALLBASE)/)
- -$(call CP,$(APR)/CHANGES,$(INSTALLBASE)/*.apr)
- @-$(call XCP,$(APR)/docs,$(INSTALLBASE)/docs/)
+ -$(call COPY,$(APR)/STATUS,$(INSTALLBASE)/*.apr)
+ -$(call COPY,$(APR)/LICENSE,$(INSTALLBASE)/)
+ -$(call COPY,$(APR)/CHANGES,$(INSTALLBASE)/*.apr)
+ @-$(call COPYR,$(APR)/docs,$(INSTALLBASE)/docs/)
endif
ifndef DEST
installdev :: $(INSTDEVDIRS) FORCE
- $(call CP,$(APR)/include/*.h,$(INSTALLBASE)/include/)
- $(call CP,$(APR)/*.imp,$(INSTALLBASE)/lib/)
- $(call CP,$(APR)/misc/netware/*.xdc,$(INSTALLBASE)/lib/)
- $(call CP,$(APR)/$(TARGET_lib),$(INSTALLBASE)/lib/)
- $(call CP,$(APR)/$(TARGET_nlm),$(INSTALLBASE)/bin/)
+ $(call COPY,$(APR)/include/*.h,$(INSTALLBASE)/include/)
+ $(call COPY,$(APR)/*.imp,$(INSTALLBASE)/lib/)
+ $(call COPY,$(APR)/misc/netware/*.xdc,$(INSTALLBASE)/lib/)
+ $(call COPY,$(APR)/$(TARGET_lib),$(INSTALLBASE)/lib/)
+ $(call COPY,$(APR)/$(TARGET_nlm),$(INSTALLBASE)/bin/)
$(INSTDEVDIRS) ::
- $(call MD,$@)
+ $(call MKDIR,$@)
endif
#
@@ -460,7 +460,8 @@ endif
vpath %.c network_io/unix
$(OBJDIR)/%.o: file_io/netware/%.c $(OBJDIR)/$(NLM_NAME)_cc.opt
- @echo Compiling $<
+# @echo Compiling $<
+ @echo $(DL)CC $<$(DL)
$(CC) -cwd source -o $@ $< @$(OBJDIR)/$(NLM_NAME)_cc.opt
#
@@ -468,6 +469,6 @@ $(OBJDIR)/%.o: file_io/netware/%.c $(OBJDIR)/$(NLM_NAME)_cc.opt
# in this makefile
#
-include $(APR_WORK)/build/NWGNUtail.inc
+include $(APRBUILD)/NWGNUtail.inc