summaryrefslogtreecommitdiff
blob: 28f6f77c0a69c65df4ef0f1d8a956712f1588892 (plain)
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
--- mozart-1.4.0.20080704.orig/platform/dss/Makefile.in	2008-07-02 20:01:31.000000000 +1200
+++ mozart-1.4.0.20080704/platform/dss/Makefile.in	2008-07-06 14:25:32.000000000 +1200
@@ -1,5 +1,6 @@
 # Includes necessary flags and environment
 
+PREFIX	=@prefix@
 SRCDIR	=@srcdir@/src
 VPATH   = $(SRCDIR)
 INCS    = -I. -I@srcdir@/include
@@ -64,10 +65,10 @@
 	-rm -f Makefile config.*
 
 install: all
-	mkdir -p @prefix@
-	mkdir -p @prefix@/include
-	mkdir -p @prefix@/lib
-	@INSTALL@ @ENVTYPE@ @prefix@/lib; @EXAMPLES@
+	mkdir -p $(PREFIX)
+	mkdir -p $(PREFIX)/include
+	mkdir -p $(PREFIX)/lib
+	@INSTALL@ @ENVTYPE@ $(PREFIX)/lib; @EXAMPLES@
 	@COPY_HEADERS@
 
 depend:: $(REALSRC)
--- mozart-1.4.0.20080704.orig/platform/dss/configure	2008-07-03 02:57:01.000000000 +1200
+++ mozart-1.4.0.20080704/platform/dss/configure	2008-07-06 14:43:46.000000000 +1200
@@ -5718,13 +5718,13 @@
 	{ echo "$as_me:$LINENO: result: will build stand-alone messaging component" >&5
 echo "${ECHO_T}will build stand-alone messaging component" >&6; }
 	ENV="MSL"
-	COPY_HEADERS="$INSTALL $srcdir/include/dss_comService.hh $prefix/include"
+	COPY_HEADERS="$INSTALL $srcdir/include/dss_comService.hh \$(PREFIX)/include"
     ;;
     *)
 	{ echo "$as_me:$LINENO: result: will build full DSS" >&5
 echo "${ECHO_T}will build full DSS" >&6; }
         ENV="DSS"
-        COPY_HEADERS="$INSTALL $srcdir/include/*.hh $prefix/include"
+        COPY_HEADERS="$INSTALL $srcdir/include/*.hh \$(PREFIX)/include"
 esac
 
 { echo "$as_me:$LINENO: checking for linking choice..." >&5