DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦e8b45b761⟧ TextFile

    Length: 2685 (0xa7d)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Tools/mu/Makefile« 

TextFile

# MTS user interface for PP     ---->  mu  <----
#
############################################################
#
# @(#) $Header: /cs/research/pp/hubris/pp-beta/Tools/mu/RCS/Makefile,v 5.0 90/09/20 16:29:19 pp Exp Locker: pp $
#
# $Log:	Makefile,v $
# Revision 5.0  90/09/20  16:29:19  pp
# rcsforce : 5.0 public release
# 
#
############################################################
#
# Definitions
#
############################################################



SRCS =  argh.c mu.c screenh.c
OBJS =  argh.o mu.o screenh.o
# DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT

HEADERS         = ../../h
LIBPP           = ../../Lib/libpp.a
CFLAGS          = $(CCOPTIONS) $(LCF) -I$(HEADERS)
LDFLAGS		= $(LDOPTIONS) $(LLF)
LLFLAGS         = $(LINTFLAGS) -I$(HEADERS) -u

LIBCURSES       = -lcurses
LIBTERMCAP      = -ltermlib

############################################################
#
# Building Rules
#
############################################################

PROGS = xmu

default: $(PROGS)

mu:     xmu

xmu:    mu.o argh.o screenh.o $(LIBPP)
	$(CC) $(LDFLAGS) -o xmu mu.o argh.o screenh.o \
	$(LIBPP) $(LIBSYS) $(LIBCURSES) $(LIBTERMCAP)


install: inst-dir inst-mu
inst-mu: $(TOOLDIR)/mu
$(TOOLDIR)/mu: xmu
	-$(BACKUP) $@ zxmu
	rm -f $@
	$(INSTALL) xmu $@
	-$(CHMOD) $(PGMPROT) $@
	-$(CHOWN) $(PPUSER) $@
	-@ls -ls $@
	-@echo "Mu installed normally"; echo ""


inst-dir: $(TOOLDIR)


lint:
	$(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)

lintlib:llib-lio.ln

llib-lio.ln: $(SRCS)
	$(LINT) -Cio -I$(HEADERS) $(SRCS)


clean: tidy
	rm -f $(OBJS)

tidy:
	rm -f core $(PROGS) zxmu *.old *.BAK

define:
	$(DEFINE) Makefile

depend:
	$(DEPEND) -I$(HEADERS) $(SRCS)



############################################################
#
# End of building rules
#
############################################################

# DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
# Dependencies follow
argh.o: argh.c
argh.o: ../../h/argh.h
argh.o: ../../h/util.h
argh.o: ../../h/config.h
argh.o: ../../h/ll_log.h
mu.o: mu.c
mu.o: ../../h/head.h
mu.o: ../../h/util.h
mu.o: ../../h/config.h
mu.o: ../../h/ll_log.h
mu.o: ../../h/retcode.h
mu.o: ../../h/util.h
mu.o: ../../h/q.h
mu.o: ../../h/adr.h
mu.o: ../../h/list_rchan.h
mu.o: ../../h/chan.h
mu.o: ../../h/table.h
mu.o: ../../h/list_bpt.h
mu.o: ../../h/auth.h
mu.o: ../../h/list_bpt.h
mu.o: ../../h/extension.h
mu.o: ../../h/mta.h
mu.o: ../../h/adr.h
mu.o: ../../h/list_bpt.h
mu.o: ../../h/mta.h
mu.o: ../../h/prm.h
mu.o: ../../h/tb_prm.h
mu.o: ../../h/tb_q.h
mu.o: ../../h/tb_a.h
mu.o: ../../h/tb_dr.h
mu.o: ../../h/argh.h
screenh.o: screenh.c

# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY
# see make depend above