DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T m

⟦1f7e2c528⟧ TextFile

    Length: 3612 (0xe1c)
    Types: TextFile
    Names: »makefile«

Derivation

└─⟦8ee07855d⟧ Bits:30000545 8mm tape, Rational 1000, DTIA 2_1_6
    └─ ⟦0c25cb74a⟧ »DATA« 
        └─⟦038380b96⟧ 
└─⟦d0624311f⟧ Bits:30000529 8mm tape, Rational 1000, DTIA 2_1_7
    └─ ⟦f494b5154⟧ »DATA« 
        └─⟦038380b96⟧ 
            └─ ⟦this⟧ »makefile« 

TextFile


#	@(#)makefile 2.1 90/08/02 19:03:38  Copyright(c) 1990 by Rational.

PROGRAM=	in.dtia dtia_server

INCS=		talk.h dtia_server.h
MAINS=		dtia_server.c dtia_inetd.c serv_check.c inetd_check.l
SRCS1=		compatible.c error_str.c check_id.c unix_name.c talk_c.c\
		buffering.c read_write.c remote_sh.c interchange.c trace.c\
		create_r.c create_f.c\
		put_r.c put_f.c\
		get_r.c get_f.c\
		ws_stamp_r.c ws_stamp_f.c\
		copy_r.c copy_f.c\
		delete_r.c delete_f.c\
		expunge_r.c expunge_f.c\
		move_r.c move_f.c\
		ls_r.c ls_f.c\
		input_sh_r.c input_sh_f.c\
		signal_sh_r.c signal_sh_f.c\
		f_exists_r.c f_exists_f.c
SRCS2=		connections.c port.c sons.c time.c
SRCS=		$(SRCS1) $(SRCS2)
OBJS1=		$(SRCS1:.c=.o)
OBJS2=		$(SRCS2:.c=.o)
OBJS=		$(OBJS1) $(OBJS2)
LINTS1=		$(SRCS1:.c=.ln)
LINTS2=		$(SRCS2:.c=.ln)
LINTS=		$(LINTS1) $(LINTS2)

INSTALL_DIR=	/usr/etc
CFLAGS=		-DULTRIX_DTIA -DDEBUG
LIBS=

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

# to create the object
all:		$(PROGRAM)

install_inetd:	in.dtia inetd_check serv_check
	cp in.dtia $(INSTALL_DIR)
	./inetd_check $(INSTALL_DIR) < /etc/inetd.conf
	./serv_check
	kill -HUP `ps -ax|fgrep inetd|awk '$$5!="fgrep"{print $$1}'`

install:	dtia_server serv_check
	cp dtia_server $(INSTALL_DIR)
	./serv_check

lint:		$(LINTS) 
	lint $(LINTS)
# Do not remove or change this line. Mkmake depends on it.
clean:
	rm -f $(LINTS) $(OBJS) $(PROGRAM) inetd_check.c \
	inetd_check serv_check tar*
	sccs clean

create_makefile:	create_makefile.c
	cc -o create_makefile create_makefile.c -ll
# Do not remove or change this line. Mkmake depends on it.
tar_sun:	create_makefile makefile $(INCS) $(SRCS) $(MAINS) README
	create_makefile SUN < makefile > Makefile
	tar -cvf tar_sun Makefile $(INCS) $(SRCS) $(MAINS) README
	rm Makefile
# Do not remove or change this line. Mkmake depends on it.
tar_hp:		create_makefile makefile $(INCS) $(SRCS) $(MAINS) README
	create_makefile HP < makefile > Makefile
	tar -cvf tar_hp Makefile $(INCS) $(SRCS) $(MAINS) README
	rm Makefile
# Do not remove or change this line. Mkmake depends on it.
tar_aix:	create_makefile makefile $(INCS) $(SRCS) $(MAINS) README
	create_makefile AIX < makefile > Makefile
	tar -cvf tar_aix Makefile $(INCS) $(SRCS) $(MAINS) README
	rm Makefile
# Do not remove or change this line. Mkmake depends on it.
tar_apollo:	create_makefile makefile $(INCS) $(SRCS) $(MAINS) README
	create_makefile APOLLO < makefile > Makefile
	tar -cvf tar_apollo Makefile $(INCS) $(SRCS) $(MAINS) README
	rm Makefile
# Do not remove or change this line. Mkmake depends on it.
###############################################################################
# Do not remove or change this line. Mkmake depends on it.
tar_ultrix:	create_makefile makefile $(INCS) $(SRCS) $(MAINS) README
	create_makefile ULTRIX < makefile > Makefile
	tar -cvf tar_ultrix Makefile $(INCS) $(SRCS) $(MAINS) README
	rm Makefile

in.dtia:	$(OBJS1) dtia_inetd.c
	cc $(CFLAGS) -o in.dtia $(OBJS1) dtia_inetd.c $(LIBS)

dtia_server:	$(OBJS1) $(OBJS2) dtia_server.c
	cc $(CFLAGS) -o dtia_server $(OBJS1) $(OBJS2) dtia_server.c $(LIBS)

inetd_check:	inetd_check.c compatible.o
	cc $(CFLAGS) -o inetd_check compatible.o inetd_check.c -ll
###############################################################################
# End of Makefile for porting. This line is (also) not ot be modified.
#$(INCS):
	sccs get $(REL) $@

#$(OBJS):	$(INCS)

#$(LINTS):	$(INCS)

#$(MAINS):
#	sccs get $(REL) $@

#$(SRCS):
#	sccs get $(REL) $@

#README:
#	sccs get $(REL) $@

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