6ddba4a2f9
Submitted by William Yodlowsky <bsd@openbsd.rutgers.edu>. bbkeys is a general X Window System keygrabber, meant to be a working example of a better window-hinting scheme with the blackbox window manager.
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
$OpenBSD: qt-bbkeysconf-1_2_Makefile,v 1.1.1.1 2001/01/06 23:58:06 naddy Exp $
|
|
--- bbkeysconf-1.2/Makefile.orig Thu Sep 28 22:30:22 2000
|
|
+++ bbkeysconf-1.2/Makefile Tue Jan 2 20:10:23 2001
|
|
@@ -1,11 +1,11 @@
|
|
-CXX= /usr/bin/g++
|
|
-QTDIR = /usr/lib/qt2
|
|
-MOC = /usr/bin/moc
|
|
-LIBS = -L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib -lqt -lX11
|
|
-CXXFLAGS = -g -I/usr/include -I$(QTDIR)/include -I/usr/X11R6/include
|
|
+#CXX= /usr/bin/g++
|
|
+QTDIR = ${LOCALBASE}/lib/qt2
|
|
+MOC = ${QTDIR}/bin/moc
|
|
+LIBS = -L${QTDIR} -L${LOCALBASE}/lib -L${X11BASE}/lib -lqt -lX11
|
|
+CXXFLAGS += -I${LOCALBASE}/include/X11/qt2 -I${X11BASE}/include
|
|
|
|
TARGET = bbkeysconf
|
|
-PREFIX = /usr/local/bin
|
|
+BINDIR = ${PREFIX}/bin
|
|
OBJECTS = gui.o main.o myapplication.o
|
|
SOURCES = gui.cc main.cc myapplication.cc
|
|
MOCSRC = gui.hh
|
|
@@ -37,13 +37,13 @@ install:
|
|
if ! test -x $(TARGET) ; then \
|
|
exit; \
|
|
fi; \
|
|
- echo "Checking existance of $(PREFIX)...."; \
|
|
- if ! test -d $(PREFIX) ; then \
|
|
- echo "Heyyyyy. $(PREFIX) doesn't exist. Creating it...."; \
|
|
- /usr/bin/install -d $(PREFIX); \
|
|
+ echo "Checking existance of $(BINDIR)...."; \
|
|
+ if ! test -d $(BINDIR) ; then \
|
|
+ echo "Heyyyyy. $(BINDIR) doesn't exist. Creating it...."; \
|
|
+ /usr/bin/install -d $(BINDIR); \
|
|
fi ; \
|
|
- echo "Installing $(TARGET) in $(PREFIX)..."; \
|
|
- /usr/bin/install -s $(TARGET) $(PREFIX)/$(TARGET)
|
|
+ echo "Installing $(TARGET) in $(BINDIR)..."; \
|
|
+ /usr/bin/install -s $(TARGET) $(BINDIR)/$(TARGET)
|
|
|
|
gui.o: gui.cc gui.moc
|
|
main.o: main.cc
|