mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
82fb56cb2f
A really handy tool for large image collections and digital cameras. PR: 17316 Submitted by: Stever <stever@transmission23.com>
37 lines
1008 B
Plaintext
37 lines
1008 B
Plaintext
--- Makefile.in.orig Fri Sep 18 23:23:19 1998
|
|
+++ Makefile.in Sun Apr 30 18:42:42 2000
|
|
@@ -7,18 +7,19 @@
|
|
#############################################################################
|
|
|
|
# Executable name
|
|
-INST_NAME = ../qp
|
|
+INST_NAME = qp
|
|
|
|
DEFINES = -DHAVE_CONFIG_H
|
|
|
|
# Do you have libjpeg already on your system? If so, set this.
|
|
-LIBJPEGPATH = ../jpeg-6a
|
|
+LIBJPEGPATH = ${PREFIX}/lib
|
|
+INCJPEGPATH = ${PREFIX}/include
|
|
|
|
+CC ?= gcc
|
|
+CFLAGS ?= -fno-strength-reduce -Wall -Wno-implicit @CFLAGS@
|
|
|
|
-CC = gcc
|
|
-CFLAGS = -fno-strength-reduce -Wall -Wno-implicit @CFLAGS@
|
|
CLINKFLAGS = @LIBS@
|
|
-INCLUDEDIRS = -I. -I$(LIBJPEGPATH)
|
|
+INCLUDEDIRS = -I. -I$(INCJPEGPATH)
|
|
|
|
|
|
# No need to change anything below this line
|
|
@@ -28,7 +29,7 @@
|
|
SOURCES = html.c qp.c image.c dir.c utility.c main.c
|
|
|
|
$(INST_NAME): $(OBJECTS)
|
|
- $(CC) -o $(INST_NAME) $(OBJECTS) $(LIBJPEGPATH)/libjpeg.a $(CLINKFLAGS)
|
|
+ $(CC) -o $(INST_NAME) $(OBJECTS) $(CLINKFLAGS) -ljpeg
|
|
@echo ""
|
|
@echo "Successful compile: $(INST_NAME)"
|
|
@echo ""
|