/[smeserver]/rpms/cpuspeed/sme10/cpuspeed-1.5-Makefile.patch
ViewVC logotype

Annotation of /rpms/cpuspeed/sme10/cpuspeed-1.5-Makefile.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Mar 17 16:10:39 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: cpuspeed-1_5-23_el7_sme, cpuspeed-1_5-23_el7_centos, HEAD
Initial import

1 unnilennium 1.1 --- cpuspeed-1.5/Makefile 2008-10-08 15:00:12.000000000 -0400
2     +++ cpuspeed-1.5/Makefile.rh 2008-10-08 18:54:03.000000000 -0400
3     @@ -1,5 +1,8 @@
4     -CC=gcc -Wall -fno-exceptions
5     +CC=gcc
6     +CFLAGS=-Wall -fno-exceptions
7     COPTS=-Os
8     +LDFLAGS=
9     +SBINDIR=/usr/sbin
10    
11     TARGET=cpuspeed
12     DEBUG_TARGET=cpuspeed-debug
13     @@ -9,16 +12,16 @@ debug: $(DEBUG_TARGET)
14     fake: $(FAKE_TARGET)
15    
16     $(TARGET): cpuspeed.cc
17     - $(CC) -c $(COPTS) cpuspeed.cc
18     - $(CC) cpuspeed.o -o $(TARGET)
19     - strip $(TARGET)
20     + $(CC) $(CFLAGS) -c $(COPTS) cpuspeed.cc
21     + $(CC) $(CFLAGS) $(LDFLAGS) cpuspeed.o -o $(TARGET)
22    
23     # Debug target
24     $(DEBUG_TARGET): cpuspeed.cc
25     $(CC) -c -g -DDEBUG -o cpuspeed_debug.o cpuspeed.cc
26     $(CC) cpuspeed_debug.o -o $(DEBUG_TARGET)
27    
28     -install: install_redhat
29     +install: $(TARGET)
30     + install -m755 $(TARGET) $(DESTDIR)/$(SBINDIR)/
31    
32     install_redhat: $(TARGET)
33     cp -f $(TARGET) /sbin

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed