mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
ea9fb84528
A utility to pass commands to a running netscape process. PR: 13727 Submitted by: Kelly Yancey <kbyanc@posi.net>
23 lines
461 B
Makefile
23 lines
461 B
Makefile
X11BASE ?= /usr/X11R6
|
|
INCDIR = -I$(X11BASE)/include
|
|
LIBDIR = -L$(X11BASE)/lib
|
|
LIBS = -lX11 -lXmu
|
|
OBJS = remote.o
|
|
CFLAGS += -DSTANDALONE -g $(INCDIR)
|
|
PREFIX ?= /usr/local
|
|
BSD_INSTALL_PROGRAM ?= /usr/bin/install -c -s
|
|
|
|
BINARY = netscape-remote
|
|
|
|
all: remote
|
|
|
|
remote: $(OBJS)
|
|
$(CC) $(CFLAGS) $(LIBDIR) $(LIBS) -o $(BINARY) $(OBJS)
|
|
|
|
install: all
|
|
$(BSD_INSTALL_PROGRAM) $(BINARY) $(PREFIX)/bin
|
|
|
|
clean:
|
|
for i in $(OBJS); do rm -f $$i; done
|
|
rm -f $(BINARY)
|