mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
943cfe1f34
WindowMaker dock PR: 42073 Submitted by: Bruce M Simpson <bms@spc.org>
51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
--- Makefile.orig Wed Aug 11 22:29:02 1999
|
|
+++ Makefile Tue Aug 27 10:23:17 2002
|
|
@@ -1,36 +1,19 @@
|
|
-CC = gcc
|
|
-CFLAGS = -O2 -Wall
|
|
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
|
|
-DESTDIR= /usr/X11R6
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
+#
|
|
+# Makefile for xmms (FreeBSD) -bms
|
|
+#
|
|
|
|
-# for Linux
|
|
-LIBS = -lXpm -lX11 -lXext
|
|
+PROG= wmxss
|
|
|
|
-# for Solaris
|
|
-#LIBS = -lXpm -lX11 -lXext -lsocket -lnsl
|
|
+SRCS= wmxss.c xutils.c
|
|
|
|
-OBJS = wmxss.o \
|
|
- xutils.o
|
|
+CFLAGS+= -I${X11BASE}/include -O2 -Wall
|
|
+LDADD+= -lXpm -lX11 -lXext
|
|
+LDADD+= -L${X11BASE}/lib
|
|
|
|
+NOMAN=
|
|
|
|
-.c.o:
|
|
- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
|
|
-
|
|
-
|
|
-all: wmxss.o wmxss
|
|
+BINDIR?= ${PREFIX}/bin
|
|
|
|
wmxss.o: wmxss_master.xpm wmxss_mask.xbm
|
|
-wmxss: $(OBJS)
|
|
- $(CC) $(COPTS) $(SYSTEM) -o wmxss $^ $(INCDIR) $(LIBDIR) $(LIBS)
|
|
-
|
|
-clean:
|
|
- for i in $(OBJS) ; do \
|
|
- rm -f $$i; \
|
|
- done
|
|
- rm -f wmxss
|
|
-
|
|
-install:: wmxss
|
|
- install -c -s -m 0755 wmxss $(DESTDIR)/bin
|
|
- install -c -m 0644 wmxss.1 $(DESTDIR)/man/man1
|
|
|
|
+.include <bsd.prog.mk>
|