NetBSD/usr.sbin/isdn/isdnmonitor/Makefile.hpux
martin fbf08005d7 Import of essential ISDN4BSD userland utilities and their documentation.
The left out parts (which have not been installed by ISDN4BSD on NetBSD
anyway), may be added as pkgs later (if demand exists).
2001-01-06 13:00:10 +00:00

32 lines
769 B
Makefile

# tested under HPUX 10.20 using HP's ANSI-C compiler
CC = cc
NAME = i4bmon
DEST = /usr/local/bin
MANDIR = /usr/local/man
MANHPUX = man1
CFLAGS = -g -z -Wc,-w1 -Ae -DDEBUG -lHcurses
LFLAGS = -g -z -Wc,-w1 -Ae -lHcurses
CFILES = main.c curses.c
OFILES = main.o curses.o
HFILES = monitor.h monprivate.h
$(NAME): $(OFILES)
$(CC) $(OFILES) $(LFLAGS) -o $(NAME)
$(OFILES): $(HFILES)
install: $(NAME) $(MANFILE)
cp $(NAME) $(DEST)
strip $(DEST)/$(NAME)
chmod og-rw,a+x,u+rwx $(DEST)/$(NAME)
chown root $(DEST)/$(NAME)
chgrp bin $(DEST)/$(NAME)
cp $(MANFILE) $(MANDIR)/$(MANHPUX)
chmod a+r $(MANDIR)/$(MANHPUX)/$(MANFILE)
clean:
rm -f *.o $(NAME) trace core* lint.out
#-------------------------- E O F ---------------------------------------------