Home | History | Annotate | Line # | Download | only in msgc
Makefile revision 1.1
      1  1.1  phil # Message system compiler Makefile
      2  1.1  phil #
      3  1.1  phil 
      4  1.1  phil SRCS = msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
      5  1.1  phil 
      6  1.1  phil .PATH: ${.CURDIR}/../menuc
      7  1.1  phil 
      8  1.1  phil PROG = msgc
      9  1.1  phil 
     10  1.1  phil DATA = msg_sys.def
     11  1.1  phil 
     12  1.1  phil DATADIR = /usr/share/misc
     13  1.1  phil 
     14  1.1  phil MAN = msgc.1
     15  1.1  phil 
     16  1.1  phil LDADD = -lfl
     17  1.1  phil 
     18  1.1  phil WARNS = 1
     19  1.1  phil 
     20  1.1  phil COPTS = -g
     21  1.1  phil 
     22  1.1  phil CLEANFILES += y.tab.h
     23  1.1  phil 
     24  1.1  phil CFLAGS += -I. -I${.CURDIR}
     25  1.1  phil 
     26  1.1  phil .include<bsd.prog.mk>
     27  1.1  phil 
     28  1.1  phil .for M in ${DATA}
     29  1.1  phil 
     30  1.1  phil proginstall:: ${DESTDIR}${DATADIR}/${M}
     31  1.1  phil .if !defined(UPDATE)
     32  1.1  phil .PHONY: ${DESTDIR}${DATADIR}/${M}
     33  1.1  phil .endif
     34  1.1  phil .if !defined(BUILD)
     35  1.1  phil ${DESTDIR}${DATADIR}/${M}: .MADE
     36  1.1  phil .endif
     37  1.1  phil 
     38  1.1  phil ${DESTDIR}${DATADIR}/${M}: ${M}
     39  1.1  phil 	$(INSTALL) -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.ALLSRC} ${.TARGET}
     40  1.1  phil .endfor
     41