You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.8 KiB
49 lines
1.8 KiB
Index: makefile |
|
--- makefile.orig 2007-05-12 16:46:25.000000000 +0200 |
|
+++ makefile 2016-02-20 18:11:22.662557867 +0100 |
|
@@ -30,18 +30,12 @@ |
|
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 |
|
- |
|
-# additional warnings (newer GCC 3.4 and higher) |
|
-ifdef GCC_34 |
|
-CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \ |
|
- -Wmissing-declarations -Wpointer-arith |
|
-endif |
|
+CFLAGS += -c -I./testprof/ -I./src/headers/ -Wno-unused-parameter -DLTC_SOURCE |
|
|
|
ifndef IGNORE_SPEED |
|
|
|
# optimize for SPEED |
|
-CFLAGS += -O3 -funroll-loops |
|
+CFLAGS += -O2 -funroll-loops |
|
|
|
# add -fomit-frame-pointer. hinders debugging! |
|
CFLAGS += -fomit-frame-pointer |
|
@@ -295,19 +289,12 @@ |
|
#This rule installs the library and the header files. This must be run |
|
#as root in order to have a high enough permission to write to the correct |
|
#directories and to set the owner and group to root. |
|
-ifndef NODOCS |
|
-install: library docs |
|
-else |
|
install: library |
|
-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) |
|
-endif |
|
+ install -d $(DESTDIR)$(LIBPATH) |
|
+ install -d $(DESTDIR)$(INCPATH) |
|
+ install -d $(DESTDIR)$(DATAPATH) |
|
+ install $(LIBNAME) $(DESTDIR)$(LIBPATH) |
|
+ install $(HEADERS) $(DESTDIR)$(INCPATH) |
|
|
|
install_test: testprof/$(LIBTEST) |
|
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
|
|
|