Home | History | Annotate | Line # | Download | only in libiocs
      1  1.11  christos #	$NetBSD: Makefile,v 1.11 2013/05/24 16:00:16 christos Exp $
      2   1.1     itohy 
      3   1.1     itohy LIB=	iocs
      4   1.1     itohy 
      5   1.7        tv NOLINT=# defined
      6   1.7        tv NOPROFILE=# defined
      7   1.7        tv NOPIC=# defined
      8   1.1     itohy 
      9  1.10   tsutsui .include "../Makefile.booters"
     10  1.10   tsutsui 
     11  1.10   tsutsui CPPFLAGS+=	-I.
     12  1.10   tsutsui 
     13  1.11  christos ASM=	b_keyinp.S b_keysns.S b_sftsns.S bitsns.S skeyset.S tvctrl.S \
     14  1.11  christos 	ledmod.S tgusemd.S defchr.S crtmod.S contrast.S hsvtorgb.S tpalet.S \
     15  1.11  christos 	tpalet2.S tcolor.S fntget.S textget.S textput.S clipput.S scroll.S \
     16  1.11  christos 	b_curon.S b_curoff.S b_putc.S b_print.S b_color.S b_locate.S \
     17  1.11  christos 	b_down_s.S b_up_s.S b_up.S b_down.S b_right.S b_left.S b_clr_ed.S \
     18  1.11  christos 	b_clr_st.S b_clr_al.S b_era_ed.S b_era_st.S b_era_al.S b_ins.S \
     19  1.11  christos 	b_del.S b_consol.S b_putmes.S set232c.S lof232c.S inp232c.S \
     20  1.11  christos 	isns232c.S osns232c.S out232c.S joyget.S init_prn.S snsprn.S \
     21  1.11  christos 	outlpt.S outprn.S b_seek.S b_verify.S b_readdi.S b_dskini.S \
     22  1.11  christos 	b_drvsns.S b_write.S b_read.S b_recali.S b_assign.S b_writed.S \
     23  1.11  christos 	b_readid.S b_badfmt.S b_readdl.S b_format.S b_drvchk.S b_eject.S \
     24  1.11  christos 	bindatebcd.S bindateset.S timebcd.S timeset.S bindateget.S datebin.S \
     25  1.11  christos 	timeget.S timebin.S datecnv.S timecnv.S dateasc.S timeasc.S dayasc.S \
     26  1.11  christos 	alarmmod.S alarmset.S alarmget.S adpcmout.S adpcminp.S adpcmaot.S \
     27  1.11  christos 	adpcmain.S adpcmlot.S adpcmlin.S adpcmsns.S adpcmmod.S opmset.S \
     28  1.11  christos 	opmsns.S opmintst.S timerdst.S vdispst.S crtcras.S hsyncst.S \
     29  1.11  christos 	prnintst.S ms_init.S ms_curon.S ms_curof.S ms_stat.S ms_getdt.S \
     30  1.11  christos 	ms_curgt.S ms_curst.S ms_limit.S ms_offtm.S ms_ontm.S ms_patst.S \
     31  1.11  christos 	ms_sel.S ms_sel2.S skey_mod.S densns.S ontime.S b_intvcs.S b_super.S \
     32  1.11  christos 	b_bpeek.S b_wpeek.S b_lpeek.S b_memstr.S b_bpoke.S b_wpoke.S \
     33  1.11  christos 	b_lpoke.S b_memset.S dmamove.S dmamov_a.S dmamov_l.S dmamode.S \
     34  1.11  christos 	bootinf.S romver.S g_clr_on.S gpalet.S sftjis.S jissft.S akconv.S \
     35  1.11  christos 	rmacnv.S dakjob.S hanjob.S mpu_stat.S cache_st.S cache_md.S \
     36  1.11  christos 	b_curmod.S b_curpat.S b_curpat1.S b_curdef.S b_scroll.S os_curon.S \
     37  1.11  christos 	os_curof.S drawmode.S apage.S vpage.S home.S window.S wipe.S pset.S \
     38  1.11  christos 	point.S line.S box.S fill.S circle.S paint.S symbol.S getgrm.S \
     39  1.11  christos 	putgrm.S sp_init.S sp_on.S sp_off.S sp_cgclr.S sp_defcg.S sp_gtpcg.S \
     40  1.11  christos 	sp_regst.S sp_reggt.S bgscrlst.S bgscrlgt.S bgctrlst.S bgctrlgt.S \
     41  1.11  christos 	bgtextcl.S bgtextst.S bgtextgt.S spalet.S txxline.S txyline.S \
     42  1.11  christos 	txline.S txbox.S txfill.S txrev.S txrascpy.S abortrst.S iplerr.S \
     43  1.11  christos 	abortjob.S trap15.S
     44   1.1     itohy 
     45   1.1     itohy # SCSI calls
     46  1.11  christos ASM+=	s_reset.S s_select.S s_cmdout.S s_datain.S s_dataout.S s_stsin.S \
     47  1.11  christos 	s_msgin.S s_msgout.S s_phase.S s_inquiry.S s_read.S s_write.S \
     48  1.11  christos 	s_format.S s_testunit.S s_readcap.S s_readext.S s_writeext.S \
     49  1.11  christos 	s_rezerounit.S s_request.S s_seek.S s_startstop.S s_reassign.S \
     50  1.11  christos 	s_pamedium.S
     51   1.1     itohy 
     52  1.11  christos SRCS+=	${ASM}
     53   1.1     itohy 
     54   1.1     itohy MAKECALL=${.CURDIR}/makeiocscalls.awk
     55   1.1     itohy 
     56   1.1     itohy ${ASM}: ${.CURDIR}/iocs.h ${MAKECALL}
     57  1.11  christos 	${_MKTARGET_CREATE}
     58   1.1     itohy 	@grep -i 'IOCS_${.PREFIX} ' ${.CURDIR}/iocs.h | \
     59   1.9       apb 	    ${TOOL_AWK} -f ${MAKECALL} | \
     60  1.11  christos 	    ${CPP} ${CPPFLAGS} > ${.TARGET}
     61  1.11  christos 
     62  1.11  christos CLEANFILES+=	${ASM}
     63   1.1     itohy 
     64   1.1     itohy # only needed during build
     65   1.1     itohy libinstall::
     66   1.1     itohy 
     67   1.6        tv .include <bsd.own.mk>
     68   1.6        tv .undef DESTDIR
     69   1.1     itohy .include <bsd.lib.mk>
     70