summaryrefslogblamecommitdiff
path: root/security/libtomcrypt/files/patch-makefile
blob: c1c8fa8207d829a9741463ffbd27a0049ffd9de5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                


                                                                                                                
                                                                                                     

                                                 

                   











                                                

                     


                                                               

                                                                      
              
                                                                          


                                                                

                                  
                   







                                       
--- makefile.orig	Thu Nov 24 12:55:28 2005
+++ makefile	Fri Dec  2 22:38:47 2005
@@ -24,7 +24,7 @@
 endif
 
 # Compilation flags. Note the += does not write over the user's CFLAGS!
-CFLAGS += -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE
+CFLAGS += -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE -D_WCHAR_T
 
 # additional warnings (newer GCC 3.4 and higher)
 ifdef GCC_34
@@ -35,10 +35,10 @@
 ifndef IGNORE_SPEED
 
 # optimize for SPEED
-CFLAGS += -O3 -funroll-loops
+#CFLAGS += -O3 -funroll-loops
 
 # add -fomit-frame-pointer.  hinders debugging!
-CFLAGS += -fomit-frame-pointer
+#CFLAGS += -fomit-frame-pointer
 
 # optimize for SIZE
 #CFLAGS += -Os -DLTC_SMALL_CODE
@@ -275,11 +275,11 @@
 endif
 	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
 	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
-	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(DATAPATH)
 	install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH)
 	install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
 ifndef NODOCS
-	install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DESTDIR)$(DATAPATH)
+	install -d -g $(GROUP) -o $(USER) $(DATAPATH)
+	install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DATAPATH)
 endif
 
 install_test: testprof/$(LIBTEST)
@@ -333,7 +333,7 @@
 	latex crypt > /dev/null
 	makeindex crypt.idx > /dev/null
 	latex crypt > /dev/null
-	dvipdf crypt
+	dvipdft crypt
 	mv -ivf crypt.pdf doc/crypt.pdf
 	rm -f $(LEFTOVERS)