54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2005/07/23 18:39:44 fgsch Exp $
|
|
--- Makefile.orig Thu Mar 23 20:04:16 2000
|
|
+++ Makefile Tue Nov 13 19:28:20 2001
|
|
@@ -9,25 +9,21 @@ DATA =
|
|
EXTRAS =
|
|
BUILD = \
|
|
|
|
-LIB_DIRS = \
|
|
- -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
|
|
+#LIB_DIRS = \
|
|
+# -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
|
|
LIBS = \
|
|
- `gtk-config --libs` -lgdbm -lgdk_imlib
|
|
-CFLAGS = \
|
|
- -O -g -D_GNU_SOURCE $(DEVFLAGS)
|
|
+ `gtk-config --libs`
|
|
+#CFLAGS = \
|
|
+# -O -g -D_GNU_SOURCE $(DEVFLAGS)
|
|
#CFLAGS = \
|
|
# -O -g -W -Wall -Wno-unused -pedantic -pedantic-errors -ansi -D_GNU_SOURCE
|
|
-OPTFLAGS = \
|
|
- -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
|
|
+#OPTFLAGS = \
|
|
+# -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
|
|
INCLUDES = \
|
|
`gtk-config --cflags` -I..
|
|
|
|
BIN = e16keyedit
|
|
|
|
-# configurable stuff
|
|
-BINARY_DESTINATION = /usr/local/enlightenment/bin
|
|
-DATA_DESTINATION = /usr/local/enlightenment/share
|
|
-
|
|
# commands to do things
|
|
INSTALL = install
|
|
MKDIR = mkdir
|
|
@@ -92,14 +88,8 @@ clean::
|
|
$(RMRF) $(BIN) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut $(DIST) $(DIST).tar $(DIST).tar.gz ./=build ./=install "#"*
|
|
|
|
# how to install
|
|
-install:: e
|
|
- @echo
|
|
- @echo
|
|
- @echo "You don't really want to do this. it doesn't work yet."
|
|
- @echo
|
|
- @echo
|
|
-# for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(prefix)$(BINARY_DESTINATION)/$$I; done
|
|
-# for I in $(DATA); do $(INSTALL) -D -m 0664 $$I $(prefix)$(DATA_DESTINATION)/$$I; done
|
|
+install::
|
|
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(PREFIX)/bin
|
|
|
|
# how to make a dist tarball
|
|
dist::
|