Lines 19-26
Link Here
|
19 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 |
# |
20 |
# |
21 |
|
21 |
|
22 |
CC = gcc |
22 |
#CC = gcc |
23 |
CFLAGS = -fomit-frame-pointer -O3 -Wall -pedantic |
23 |
#CFLAGS = -fomit-frame-pointer -O3 -Wall -pedantic |
24 |
#CFLAGS = -ggdb -DDEBUG -DDEBUG_UGLY -Wall -pedantic |
24 |
#CFLAGS = -ggdb -DDEBUG -DDEBUG_UGLY -Wall -pedantic |
25 |
#CFLAGS = -ggdb -Wall -pedantic |
25 |
#CFLAGS = -ggdb -Wall -pedantic |
26 |
SYS = -DUNIX |
26 |
SYS = -DUNIX |
Lines 42-47
Link Here
|
42 |
# `install' rule: |
42 |
# `install' rule: |
43 |
# |
43 |
# |
44 |
# INSTALL `install' command to be used |
44 |
# INSTALL `install' command to be used |
|
|
45 |
#***GENTOO: Is changed to DESTDIR to comply |
45 |
# INSTDIR base destination-directory |
46 |
# INSTDIR base destination-directory |
46 |
# ("/bin" and "/lib" will be added) |
47 |
# ("/bin" and "/lib" will be added) |
47 |
# |
48 |
# |
Lines 50-56
Link Here
|
50 |
#INSTALL = /bin/install |
51 |
#INSTALL = /bin/install |
51 |
|
52 |
|
52 |
#INSTDIR = /usr |
53 |
#INSTDIR = /usr |
53 |
INSTDIR = /usr/local |
54 |
#INSTDIR = /usr/ |
54 |
#INSTDIR = $(HOME) |
55 |
#INSTDIR = $(HOME) |
55 |
|
56 |
|
56 |
#------------------------------------------------ |
57 |
#------------------------------------------------ |
Lines 212-226
Link Here
|
212 |
# installation |
213 |
# installation |
213 |
#-------------------------------------------------------------------- |
214 |
#-------------------------------------------------------------------- |
214 |
install : all |
215 |
install : all |
215 |
$(INSTALL) -m 755 -s hsc/hsc $(INSTDIR)/bin/hsc |
216 |
$(INSTALL) -m 755 -s hsc/hsc $(DESTDIR)/bin/hsc |
216 |
$(INSTALL) -m 755 -s hsctools/hscdepp $(INSTDIR)/bin/hscdepp |
217 |
$(INSTALL) -m 755 -s hsctools/hscdepp $(DESTDIR)/bin/hscdepp |
217 |
$(INSTALL) -m 755 -s hsctools/hscpitt $(INSTDIR)/bin/hscpitt |
218 |
$(INSTALL) -m 755 -s hsctools/hscpitt $(DESTDIR)/bin/hscpitt |
218 |
$(INSTALL) -m 644 hsc.prefs $(INSTDIR)/lib/hsc.prefs |
219 |
$(INSTALL) -m 644 hsc.prefs $(DESTDIR)/lib/hsc.prefs |
219 |
$(INSTALL) -m 644 -D README $(INSTDIR)/share/doc/hsc/README |
220 |
$(INSTALL) -m 644 -D README $(DESTDIR)/share/doc/${P}/README |
220 |
$(INSTALL) -m 644 -D CHANGES $(INSTDIR)/share/doc/hsc/CHANGES |
221 |
$(INSTALL) -m 644 -D CHANGES $(DESTDIR)/share/doc/${P}/CHANGES |
221 |
cp -R docs $(INSTDIR)/share/doc/hsc/ |
222 |
cp -R docs $(DESTDIR)/share/doc/${P}/ |
222 |
find $(INSTDIR)/share/doc/hsc/docs -type d | xargs chmod 755 |
223 |
cp -R examples $(DESTDIR)/share/doc/${P}/ |
223 |
find $(INSTDIR)/share/doc/hsc/docs -type f | xargs chmod 644 |
224 |
cp -R starter-project $(DESTDIR)/share/doc/${P}/ |
|
|
225 |
cp -R docs-source $(DESTDIR)/share/doc/${P}/examples/ |
226 |
find $(DESTDIR)/share/doc/${P}/docs -type d | xargs chmod 755 |
227 |
find $(DESTDIR)/share/doc/${P}/docs -type f | xargs chmod 644 |
228 |
find $(DESTDIR)/share/doc/${P}/examples -type d | xargs chmod 755 |
229 |
find $(DESTDIR)/share/doc/${P}/examples -type f | xargs chmod 644 |
230 |
find $(DESTDIR)/share/doc/${P}/starter-project -type d | xargs chmod 755 |
231 |
find $(DESTDIR)/share/doc/${P}/starter-project -type f | xargs chmod 644 |
232 |
|
224 |
|
233 |
|
225 |
#-------------------------------------------------------------------- |
234 |
#-------------------------------------------------------------------- |
226 |
# cleanup - remove all objects and executables |
235 |
# cleanup - remove all objects and executables |