3e4ed01146
- 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)
23 lines
816 B
Text
23 lines
816 B
Text
--- Makefile.orig Sun Mar 24 00:48:56 2002
|
|
+++ Makefile Sun Mar 24 02:40:46 2002
|
|
@@ -1,16 +1,16 @@
|
|
-LIBDIR = -L/usr/X11R6/lib -L/usr/lib -L/opt/gnome/lib
|
|
-LIBS = -lXpm -lXext -lX11 -lm -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
|
|
-CFLAGS = -I/usr/X11R6/include -I/usr/lib/glib/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include
|
|
+LIBDIR = -L${LOCALBASE}/lib
|
|
+LIBS = `${GTK_CONFIG} --libs` -lXpm
|
|
+CFLAGS += `${GTK_CONFIG} --cflags`
|
|
OBJS = washerDryer.o \
|
|
../wmgeneral/wmgeneral.o \
|
|
../wmgeneral/misc.o \
|
|
../wmgeneral/list.o
|
|
|
|
.c.o:
|
|
- cc -c -O2 -Wall $< -o $*.o $(CFLAGS)
|
|
+ $(CC) -c -Wall $< -o $*.o $(CFLAGS)
|
|
|
|
washerDryer: $(OBJS)
|
|
- cc -Wall -pedantic -o washerDryer $^ $(LIBDIR) $(LIBS)
|
|
+ $(CC) -o washerDryer $^ $(LIBDIR) $(LIBS)
|
|
|
|
all:: washerDryer
|