mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
--- Makefile.orig Thu Jan 20 10:31:46 2000
|
|
+++ Makefile Tue Mar 7 16:31:40 2000
|
|
@@ -4,10 +4,10 @@
|
|
|
|
# Where to install binary and manpage on "make install":
|
|
|
|
-PREFIX=/usr
|
|
BINDIR=$(PREFIX)/bin
|
|
MANDIR=$(PREFIX)/man
|
|
SECTION=1
|
|
+FLAGS=${CFLAGS}
|
|
|
|
###################################################
|
|
###### ######
|
|
@@ -57,11 +57,10 @@
|
|
#CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2'
|
|
|
|
freebsd:
|
|
- $(MAKE) CC=cc LDFLAGS= \
|
|
+ $(MAKE) LDFLAGS= \
|
|
OBJECTS= \
|
|
- CFLAGS='-Wall -ansi -pedantic -O4 -m486 \
|
|
- -funroll-all-loops -ffast-math -DROT_I386 \
|
|
- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP' \
|
|
+ CFLAGS='-funroll-all-loops -ffast-math \
|
|
+ -DREAL_IS_FLOAT -DUSE_MMAP ${FLAGS}' \
|
|
greed
|
|
|
|
openbsd:
|
|
@@ -139,12 +138,6 @@
|
|
$(CC) $(CFLAGS) $(LDFLAGS) main.o connect.o download.o \
|
|
ftpheader.o httpheader.o parse.o util.o proxy.o $(OBJECTS) \
|
|
-o greed
|
|
- @echo ""
|
|
- @echo "Done! Now just type in 'make install' to install it!"
|
|
- @echo "Greed will install in /usr, if you want it in another directory,"
|
|
- @echo "just edit the Makefile and change PREFIX"
|
|
- @echo ""
|
|
-
|
|
|
|
greed.exe: main.o connect.o $(OBJECTS) ftpheader.o httpheader.o \
|
|
parse.o util.o download.o Makefile
|