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

⟦5fd31852f⟧ TextFile

    Length: 3331 (0xd03)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/others/quipu/photo/Makefile« 

TextFile

###############################################################################
#   Instructions to Make, for compilation of QUIPU photo programs
###############################################################################

###############################################################################
#
# $Header: /f/osi/others/quipu/photo/RCS/Makefile,v 6.2 89/03/23 22:27:36 mrose Exp $
#
#
# $Log:	Makefile,v $
# Revision 6.2  89/03/23  22:27:36  mrose
# out-the-door
# 
# Revision 6.1  89/03/19  11:24:48  mrose
# _*
# 
# Revision 6.0  89/03/18  23:33:55  mrose
# Release 5.0
# 
###############################################################################

###############################################################################
#
#				 NOTICE
#
#    Acquisition, use, and distribution of this module and related
#    materials are subject to the restrictions of a license agreement.
#    Consult the Preface in the User's Manual for the full terms of
#    this agreement.
#
###############################################################################


# should really go in config/CONFIG.make
# Select options
DISPLAY = ttyphoto hexphoto
# DISPLAY = sunphoto Xphoto ttyphoto hexphoto t4014


#######################################################################

DEC     = decode.o build_trees.o 
ENC     = encode.o code_word.o 
UTIL    = interface.o 


all:    libphoto.a $(DISPLAY) pr2pe

lint:
	$(LINT) $(LFLAGS) decode.c build_trees.c interface.c d_main.c tty.c

libphoto.a: $(DEC) $(UTIL)
	-rm -f $@
	@$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(DEC) $(UTIL)
	ranlib libphoto.a

pr2pe: $(ENC) $(UTIL) e_main.o
	$(LDCC) $(LDFLAGS) -o pr2pe e_main.o $(ENC) $(UTIL) -lpixrect

sunphoto: libphoto.a d_main.o sunview.o
	$(LDCC) $(LDFLAGS) -o sunphoto  \
		d_main.o libphoto.a sunview.o -lsuntool -lsunwindow -lpixrect

Xphoto: libphoto.a d_main.o winx.o
	$(LDCC) $(LDFLAGS) -o Xphoto \
		d_main.o libphoto.a winx.o -lX11

t4014: libphoto.a d_main.o t4014.o
	$(LDCC) $(LDFLAGS) -o t4014 \
		d_main.o libphoto.a t4014.o -l4014 -lm

ttyphoto: libphoto.a d_main.o tty.o
	$(LDCC) $(LDFLAGS) -o ttyphoto \
		d_main.o  libphoto.a tty.o

hexphoto: hexphoto.o d_main.o
	$(LDCC) $(LDFLAGS) -o hexphoto hexphoto.o d_main.o 

decode.o: decode.c $(HDIR)quipu/photo.h
	$(CC) -c $(CFLAGS) -DFAXDIR=\"$(ETCDIR)g3fax\" $*.c


#####################################################################
install:  inst-all clean

inst-all:  $(ETCDIR)g3fax inst_disp inst_pr2pe

inst_disp: $(DISPLAY) libphoto.a
	-mv $(ETCDIR)g3fax/ttyphoto zttyphoto
	-cp ttyphoto $(ETCDIR)g3fax/ttyphoto
	-mv $(ETCDIR)g3fax/hexphoto zhexphoto
	-cp hexphoto $(ETCDIR)g3fax/hexphoto
	-mv $(ETCDIR)g3fax/sunphoto zsunphoto
	-cp sunphoto $(ETCDIR)g3fax/sunphoto
	-mv $(ETCDIR)g3fax/Xphoto zXphoto
	-cp Xphoto $(ETCDIR)g3fax/Xphoto
	-mv $(ETCDIR)g3fax/t4014 zt4014
	-cp t4014 $(ETCDIR)g3fax/t4014
	-rm -f $(ETCDIR)g3fax/libphoto.a
	cp libphoto.a $(ETCDIR)g3fax/libphoto.a
	@$(UTILDIR)make-lib.sh $(SYSTEM) $(ETCDIR)g3fax/libphoto.a -ranlib
	-@ls -gls $(ETCDIR)g3fax/libphoto.a
	-@echo ""

inst_pr2pe: pr2pe
	-mv $(ETCDIR)g3fax/pr2pe zpr2pe
	-cp pr2pe $(ETCDIR)g3fax/pr2pe

$(ETCDIR)g3fax:  g3fax
	-rm -rf $@
	-cp -r g3fax $(ETCDIR)

clean:
	rm -f _* *.o *.old *% foo* core z* *.a \
		*.orig \
		sunphoto hexphoto ttyphoto \
		pr2pe Xphoto t4014