makelocal.mk
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· MK 代码 · 共 69 行
MK
69 行
# @(#)Makelocal.mk 4.1 ULTRIX 7/2/90include $(GMAKEVARS)CFLAGS= -O -DCM_N -DCM_GT -DCM_B -DCM_DLD = ldOBJECTS= termcap.o tgoto.o tputs.oall: $(MACHINE)allvaxall: termcap.a termcap_p.amipsall: termcap.atermcap.a: termcap.o tgoto.o tputs.o ar cr termcap.a termcap.o tgoto.o tputs.otermcap_p.a: termcap.o tgoto.o tputs.o cd profiled; ar cr ../termcap_p.a termcap.o tgoto.o tputs.otermcap.o: termcap.ctgoto.o: tgoto.ctputs.o: tputs.ctools2 install: $(MACHINE)installmipsinstall: install -c termcap.a ${DESTROOT}/usr/lib/libtermcap.a -rm -f ${DESTROOT}/usr/lib/libtermlib.a ln ${DESTROOT}/usr/lib/libtermcap.a ${DESTROOT}/usr/lib/libtermlib.a ranlib ${DESTROOT}/usr/lib/libtermcap.avaxinstall: install -c termcap.a ${DESTROOT}/usr/lib/libtermcap.a -rm -f ${DESTROOT}/usr/lib/libtermlib.a ln ${DESTROOT}/usr/lib/libtermcap.a ${DESTROOT}/usr/lib/libtermlib.a ranlib ${DESTROOT}/usr/lib/libtermcap.a install -c termcap_p.a ${DESTROOT}/usr/lib/libtermcap_p.a -rm -f ${DESTROOT}/usr/lib/libtermlib_p.a ln ${DESTROOT}/usr/lib/libtermcap_p.a ${DESTROOT}/usr/lib/libtermlib_p.a ranlib ${DESTROOT}/usr/lib/libtermcap_p.apretools tools1: for i in ${OBJECTS}; do \ echo $$i; \ $(CCCMD) ../`basename $$i .o`.c; \ $(CC) $(LDFLAGS) -X -r $$i; \ mv a.out $$i; \ done rm -f termcap.a ar cr termcap.a ${OBJECTS} rm -f ${OBJECTS} install -c termcap.a ${DESTROOT}/usr/lib/libtermcap.a -if [ -f ${DESTROOT}/usr/lib/libtermlib.a ]; \ then \ rm -f ${DESTROOT}/usr/lib/libtermlib.a; \ else \ true; \ fi ln ${DESTROOT}/usr/lib/libtermcap.a ${DESTROOT}/usr/lib/libtermlib.a ranlib ${DESTROOT}/usr/lib/libtermcap.aclean$(MACHINE): cleanprofiledcleanprofiled: -$(RM) -r profiledinclude $(GMAKERULES)include ../Makelocal_$(MACHINE).mk
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?