Sync usage with man page.
[netbsd-mini2440.git] / usr.sbin / isdn / isdnmonitor / Makefile.hpux
blob8e69362927a20f4191f31e884228e4f30ac4c07e
1 # tested under HPUX 10.20 using HP's ANSI-C compiler
3 CC      =       cc
4 NAME    =       i4bmon
5 DEST    =       /usr/local/bin
6 MANDIR  =       /usr/local/man
7 MANHPUX =       man1
8 CFLAGS  =       -g -z -Wc,-w1 -Ae -DDEBUG -lHcurses
9 LFLAGS  =       -g -z -Wc,-w1 -Ae -lHcurses
10 CFILES  =       main.c curses.c
11 OFILES  =       main.o curses.o
12 HFILES  =       monitor.h monprivate.h
14 $(NAME):        $(OFILES)
15                 $(CC) $(OFILES) $(LFLAGS) -o $(NAME)
16                         
17 $(OFILES):      $(HFILES)
19 install:        $(NAME) $(MANFILE)
20                 cp $(NAME) $(DEST)
21                 strip $(DEST)/$(NAME)
22                 chmod og-rw,a+x,u+rwx $(DEST)/$(NAME)
23                 chown root $(DEST)/$(NAME)
24                 chgrp bin $(DEST)/$(NAME)
25                 cp $(MANFILE) $(MANDIR)/$(MANHPUX)
26                 chmod a+r $(MANDIR)/$(MANHPUX)/$(MANFILE)
28 clean:          
29                 rm -f *.o $(NAME) trace core* lint.out
31 #-------------------------- E O F ---------------------------------------------