1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
$NetBSD: patch-ac,v 1.1.1.1 2009/11/16 23:24:37 drochner Exp $
--- Makefile.rules.orig 2009-09-30 15:03:21.000000000 +0200
+++ Makefile.rules
@@ -549,11 +549,11 @@ ifdef LOADABLE_MODULE
LD.Flags += -module
endif
-ifdef SHARED_LIBRARY
-ifneq ($(DARWIN_MAJVERS),4)
- LD.Flags += $(RPATH) -Wl,$(LibDir)
-endif
-endif
+#ifdef SHARED_LIBRARY
+#ifneq ($(DARWIN_MAJVERS),4)
+# LD.Flags += $(RPATH) -Wl,$(LibDir)
+#endif
+#endif
ifdef TOOL_VERBOSE
C.Flags += -v
@@ -583,9 +583,9 @@ ifneq ($(HOST_OS),Darwin)
ifneq ($(DARWIN_MAJVERS),4)
ifdef TOOLNAME
ifdef EXAMPLE_TOOL
- LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(RDYNAMIC)
+ LD.Flags += $(RDYNAMIC)
else
- LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC)
+ LD.Flags += $(RDYNAMIC)
endif
endif
endif
@@ -735,9 +735,6 @@ ObjectsBC := $(BaseNameSources:%=$(ObjDi
# in the file so they get built before dependencies
#---------------------------------------------------------
-$(PROJ_bindir) $(PROJ_libdir) $(PROJ_includedir) $(PROJ_etcdir)::
- $(Verb) $(MKDIR) $@
-
# To create other directories, as needed, and timestamp their creation
%/.dir:
$(Verb) $(MKDIR) $* > /dev/null
@@ -858,7 +855,9 @@ install-local::
uninstall-local::
$(Echo) UnInstall circumvented with NO_INSTALL
else
-install-local:: $(PROJ_etcdir) $(CONFIG_FILES)
+PROJ_etcdir=${PREFIX}/share/examples/llvm
+install-local:: $(CONFIG_FILES)
+ $(MKDIR) ${PROJ_etcdir}
$(Echo) Installing Configuration Files To $(PROJ_etcdir)
$(Verb)for file in $(CONFIG_FILES); do \
if test -f $(PROJ_OBJ_DIR)/$${file} ; then \
|