summaryrefslogtreecommitdiffstats
path: root/x11-wm/xwmm/files/patch-aa
blob: 2050b06da107fe83c1bf7f65590b68411147ca2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- Makefile.orig	Sat Aug 28 03:10:27 1999
+++ Makefile	Sat Nov 27 03:19:24 1999
@@ -2,24 +2,24 @@
 
 TARGET=xwmm
 
-INSTALLDIR=/usr/local
+INSTALLDIR=$(PREFIX)
 
-INCDIR	= -I./ -I/usr/include -I$(QTDIR)/include -I/usr/include/qt -I/usr/local/include/qt
+INCDIR	= -I./ -I/usr/include -I$(QTDIR)/include -I$(QTDIR)/include/qt2
 
 #CFLAGS	= -O2 -fno-strength-reduce -W -Wtemplate-debugging -Wparentheses \
 #	-Wuninitialized -Wchar-subscripts -Wformat -Wtrigraphs -Wcomment \
 #	-Wswitch -Wunused -Wreturn-type -Wimplicit -Wpointer-arith -Wsynth \
 #	-Wconversion -Wno-overloaded-virtual
-CFLAGS	= -ggdb -Wall -W -pipe
+#CFLAGS	= -ggdb -Wall -W -pipe
 #CFLAGS	= -O2 -Wall -W -pipe 
 
-LFLAGS  = -g -L/lib -L$(QTDIR)/lib -lqt -lm
+LFLAGS  = -g -L/lib -L$(QTDIR)/lib -lqt2 -lm -lxpg4
 ARFLAGS	= -crs
-CC	= g++
+CC	= $(CXX)
 AR	= ar
 FLEX 	= flex
 MAKE	= gmake
-MOC	= moc
+MOC	= $(QTDIR)/bin/moc2
 
 ####### Implicit rules
 
OpenPOWER on IntegriCloud