Lines 1-6
Link Here
|
1 |
--- makefile.orig Wed Dec 24 20:59:55 2003 |
1 |
--- makefile.orig Mon Jun 28 21:20:11 2004 |
2 |
+++ makefile Sat Apr 10 23:01:52 2004 |
2 |
+++ makefile Mon Jun 28 21:33:41 2004 |
3 |
@@ -52,9 +52,9 @@ |
3 |
@@ -43,9 +43,9 @@ |
4 |
#LIBPATH-The directory for libtomcrypt to be installed to. |
4 |
#LIBPATH-The directory for libtomcrypt to be installed to. |
5 |
#INCPATH-The directory to install the header files for libtomcrypt. |
5 |
#INCPATH-The directory to install the header files for libtomcrypt. |
6 |
#DATAPATH-The directory to install the pdf docs. |
6 |
#DATAPATH-The directory to install the pdf docs. |
Lines 13-27
Link Here
|
13 |
DATAPATH=/usr/share/doc/libtomcrypt/pdf |
13 |
DATAPATH=/usr/share/doc/libtomcrypt/pdf |
14 |
|
14 |
|
15 |
#List of objects to compile. |
15 |
#List of objects to compile. |
16 |
@@ -106,6 +106,7 @@ |
16 |
@@ -178,13 +178,19 @@ |
17 |
|
|
|
18 |
#This rule makes the test program included with libtomcrypt |
19 |
test: library $(TESTOBJECTS) |
20 |
+ mv $(TEST).o demos |
21 |
$(CC) $(TESTOBJECTS) $(LIBNAME) -o $(TEST) $(WARN) |
22 |
|
23 |
#This rule makes the hash program included with libtomcrypt |
24 |
@@ -129,13 +130,19 @@ |
25 |
#This rule installs the library and the header files. This must be run |
17 |
#This rule installs the library and the header files. This must be run |
26 |
#as root in order to have a high enough permission to write to the correct |
18 |
#as root in order to have a high enough permission to write to the correct |
27 |
#directories and to set the owner and group to root. |
19 |
#directories and to set the owner and group to root. |
Lines 31-37
Link Here
|
31 |
- install -d -g root -o root $(DESTDIR)$(DATAPATH) |
23 |
- install -d -g root -o root $(DESTDIR)$(DATAPATH) |
32 |
- install -g root -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) |
24 |
- install -g root -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) |
33 |
- install -g root -o root $(HEADERS) $(DESTDIR)$(INCPATH) |
25 |
- install -g root -o root $(HEADERS) $(DESTDIR)$(INCPATH) |
34 |
- install -g root -o root crypt.pdf $(DESTDIR)$(DATAPATH) |
26 |
- install -g root -o root doc/crypt.pdf $(DESTDIR)$(DATAPATH) |
35 |
+install: library docs install-nodocs |
27 |
+install: library docs install-nodocs |
36 |
+ install -d -g wheel -o root $(DOCSDIR) |
28 |
+ install -d -g wheel -o root $(DOCSDIR) |
37 |
+ install -g wheel -o root crypt.pdf $(DOCSDIR) |
29 |
+ install -g wheel -o root crypt.pdf $(DOCSDIR) |
Lines 44-50
Link Here
|
44 |
+ install -g wheel -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) |
36 |
+ install -g wheel -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) |
45 |
+ install -g wheel -o root $(HEADERS) $(DESTDIR)$(INCPATH) |
37 |
+ install -g wheel -o root $(HEADERS) $(DESTDIR)$(INCPATH) |
46 |
+ install -g wheel -o root examples/* $(EXAMPLESDIR) |
38 |
+ install -g wheel -o root examples/* $(EXAMPLESDIR) |
47 |
+ install -g wheel -o root demos/* $(EXAMPLESDIR) |
39 |
+ install -g wheel -o root demos/*.c $(EXAMPLESDIR) |
48 |
|
40 |
|
49 |
#This rule cleans the source tree of all compiled code, not including the pdf |
41 |
#This rule cleans the source tree of all compiled code, not including the pdf |
50 |
#documentation. |
42 |
#documentation. |