2006-11-27 22:03:42 +00:00
|
|
|
--- Makefile.orig Wed Jan 5 22:39:10 2000
|
|
|
|
+++ Makefile Mon Nov 27 00:23:30 2006
|
|
|
|
@@ -1,16 +1,17 @@
|
2001-04-07 06:08:33 +00:00
|
|
|
#
|
2006-11-27 22:03:42 +00:00
|
|
|
# $Id: Makefile,v 1.7 2000/01/05 21:39:10 aland Exp $
|
|
|
|
#
|
|
|
|
-LIBS = -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext \
|
2001-04-07 06:08:33 +00:00
|
|
|
- -ljpeg -lpng -ltiff -lz -lgif -lm -lImlib
|
|
|
|
-CFLAGS = -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
|
|
|
|
- -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes \
|
|
|
|
- -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
+LIBS = -L$(LOCALBASE)/lib -L/usr/local/lib -lX11 -lXext \
|
2001-04-07 06:08:33 +00:00
|
|
|
+ -ljpeg -lpng -ltiff -lz -lungif -lm -lImlib
|
|
|
|
+
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
+CFLAGS += -I$(LOCALBASE)/include
|
2001-04-07 06:08:33 +00:00
|
|
|
|
|
|
|
VERSION=2.0
|
|
|
|
|
|
|
|
+all: isreal
|
|
|
|
+
|
|
|
|
isreal: isreal.o
|
|
|
|
- $(CC) $^ $(LIBS) -o $@
|
|
|
|
+ $(CC) isreal.o $(LIBS) -o $@
|
|
|
|
|
|
|
|
clean:
|
2006-11-27 22:03:42 +00:00
|
|
|
@rm -f *~ *.o isreal
|