Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 25738
Collapse All | Expand All

(-)Makefile.orig (-7 / +5 lines)
Lines 1-7 Link Here
1
1
DESTDIR=/usr/local
2
CC=gcc
3
LD=ld
4
CFLAGS=-Wall
5
2
6
default:
3
default:
7
	cd src && make
4
	cd src && make
Lines 18-26 Link Here
18
	@mv src/gtkasp2php .
15
	@mv src/gtkasp2php .
19
16
20
install:
17
install:
21
	@if [ -e asp2php ]; then install asp2php /usr/local/bin; fi;
18
	@mkdir -p $(DESTDIR)/bin;
22
	@if [ -e gtkasp2php ]; then install gtkasp2php /usr/local/bin; fi;
19
	@if [ -e asp2php ]; then install asp2php $(DESTDIR)/bin; fi;
23
	@echo "Compiled programs have been installed in /usr/local/bin"
20
	@if [ -e gtkasp2php ]; then install gtkasp2php $(DESTDIR)/bin; fi;
21
	@echo "Compiled programs have been installed in $(DESTDIR)/bin"
24
	@echo ""
22
	@echo ""
25
23
26
uninstall:
24
uninstall:
(-)src/Makefile.orig (-6 lines)
Lines 1-9 Link Here
1
2
CC=gcc
3
LD=ld
4
#FLAGS=-DDEBUG
5
CFLAGS=-Wall
6
7
default:
1
default:
8
	@cd jscript && make
2
	@cd jscript && make
9
	$(CC) -c class.c $(CFLAGS) $(FLAGS)
3
	$(CC) -c class.c $(CFLAGS) $(FLAGS)
(-)src/jscript/Makefile.orig (-6 lines)
Lines 1-9 Link Here
1
2
CC=gcc
3
LD=ld
4
#FLAGS=-DDEBUG
5
CFLAGS=-Wall
6
7
default:
1
default:
8
	$(CC) -c conditionals_j.c $(CFLAGS) $(FLAGS)
2
	$(CC) -c conditionals_j.c $(CFLAGS) $(FLAGS)
9
	$(CC) -c eval_expression_j.c $(CFLAGS) $(FLAGS)
3
	$(CC) -c eval_expression_j.c $(CFLAGS) $(FLAGS)

Return to bug 25738