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

⟦0f88cf3bb⟧ TextFile

    Length: 2903 (0xb57)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/others/max/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of max
###############################################################################

BINDIR	=	/usr/uci
LIBDIR	=	/usr/uci/lib/X

OPTIONS	=	-DLIBDIR=\"$(LIBDIR)\"

CC	=	cc
CFLAGS	=	-g    $(OPTIONS)
LINT	=	lint
LFLAGS	=	-bhuz $(OPTIONS)
LLIBS   =	-lXt -lX
LD	=	ld
LDCC	=	cc
LDFLAGS	=	-g
LIBES	=	-lXt -lX


##################################################################
# Here it is...
##################################################################

all:		max maXdefaults maXe maXefile
inst-all:	inst-max inst-maXdefaults inst-maXe inst-maXefile manuals
install:	inst-all clean
lint:		l-max


##################################################################
# max
##################################################################

HFILES	=	max.h
CFILES	=	max.c commands.c display.c file.c functions.c
OFILES	=	max.o commands.o display.o file.o functions.o
#		ButtonBox.o Command.o VPane.o Xrm.o

inst-max:	$(BINDIR)/max

$(BINDIR)/max:	max
		install -c -s -m 0755 max $@
		-@ls -gls $@
		-@echo ""

max:		$(OFILES)
		$(LDCC) $(LDFLAGS) -o $@ $(OFILES) $(LIBES)

l-max:;		$(LINT) $(LFLAGS) $(CFILES) $(LLIBS)

max.o:		max.h
commands.o:	max.h
display.o:	max.h
file.o:		max.h
functions.o:	max.h


##################################################################
# maXdefaults
##################################################################

inst-maXdefaults:	$(LIBDIR)/maXdefaults

$(LIBDIR)/maXdefaults:	maXdefaults
			install -c -m 0644 maXdefaults $@
			-@ls -gls $@
			-@echo ""


##################################################################
# maXe
##################################################################

inst-maXe:	$(LIBDIR)/maXe

$(LIBDIR)/maXe:	maXe
		install -c -m 0755 maXe $@
		-@ls -gls $@
		-@echo ""

maXe:		maXe.sh Makefile
		sed -e 's%@(LIBDIR)%$(LIBDIR)%' < maXe.sh > $@
		chmod a+rx $@


##################################################################
# maXefile
##################################################################

inst-maXefile:		$(LIBDIR)/maXefile

$(LIBDIR)/maXefile:	maXefile
			install -c -m 0644 maXefile $@
			-@ls -gls $@
			-@echo ""

maXefile:	maXefile.make Makefile
		sed -e 's%@(LIBDIR)%$(LIBDIR)%' < maXefile.make > $@
		chmod a+rx $@


################################################################
# manual pages
################################################################

MANUALS	=	max.1 

manuals:;	install -c -m 0444 max.1 /usr/man/manl/max.l


################################################################
# clean
################################################################

clean:;		rm -f *.o max maXe maXefile z* _* core

grind:;		iprint Makefile
		tgrind -lc $(HFILES) $(CFILES)
		@echo $(MANUALS) | \
			tr " " "\012" | \
			sed -e "s%.*%itroff -man &%" | \
			sh -ve

true:;