Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Binary/Makefile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


include Makefile.inc

THISLIB	= Binary
SEARCH	=
EXTRA_H_FLAGS	=
EXTRA_C_FLAGS	=

SRCS	= \
	Bin.hs CBinary.hs Instances.hs LeftLeft.hs \
	PutAt.hs PutAtEnd.hs GetAt.hs GetFAt.hs \
	BinHandle.gc BinPtr.gc GetBitsF.gc GetBits.gc PutBits.gc \
	AlignBin.gc BinIOMode.gc BinLocation.gc \
	ClearBits.gc CloseBin.gc CompareBin.gc \
	CopyBin.gc CopyBytes.gc CopyBits.gc \
	EndBin.gc EqualsBin.gc \
	FreezeBin.gc IsEOFBin.gc \
	OpenBin.gc SkipBits.gc StdMem.gc SizeBin.gc \
	SeekBin.gc TellBin.gc \
	cLowBinary.c
	# SizedBin.hs \
	# SizeofBin.gc DirectPut.gc


# Here are the main rules.
include ../Makefile.common


# Here are the dependencies.
${OBJDIR}/cLowBinary.$O: cLowBinary.h cLowBinary.c
${OBJDIR}/AlignBin.$O: AlignBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/BinHandle.$O: BinHandle.gc
${OBJDIR}/BinIOMode.$O: BinIOMode.gc
${OBJDIR}/BinLocation.$O: BinLocation.gc ${OBJDIR}/BinIOMode.$O
${OBJDIR}/BinPtr.$O: BinPtr.gc
${OBJDIR}/Bin.$O: Bin.hs ${OBJDIR}/BinPtr.$O
${OBJDIR}/CBinary.$O: CBinary.hs ${OBJDIR}/BinHandle.$O ${OBJDIR}/Bin.$O
${OBJDIR}/ClearBits.$O: ClearBits.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O
${OBJDIR}/CloseBin.$O: CloseBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/CompareBin.$O: CompareBin.gc cLowBinary.h ${OBJDIR}/BinPtr.$O ${OBJDIR}/BinHandle.$O
${OBJDIR}/CopyBin.$O: CopyBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinLocation.$O ${OBJDIR}/OpenBin.$O ${OBJDIR}/SizeBin.$O
${OBJDIR}/CopyBits.$O: CopyBits.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O ${OBJDIR}/GetBits.$O ${OBJDIR}/PutBits.$O ${OBJDIR}/SeekBin.$O
${OBJDIR}/CopyBytes.$O: CopyBytes.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O
${OBJDIR}/EndBin.$O: EndBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O
${OBJDIR}/EqualsBin.$O: EqualsBin.gc cLowBinary.h ${OBJDIR}/BinPtr.$O ${OBJDIR}/BinHandle.$O
${OBJDIR}/FreezeBin.$O: FreezeBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/GetAt.$O: GetAt.hs ${OBJDIR}/CBinary.$O ${OBJDIR}/BinHandle.$O ${OBJDIR}/Bin.$O ${OBJDIR}/SeekBin.$O
${OBJDIR}/GetBitsF.$O: GetBitsF.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O
${OBJDIR}/GetBits.$O: GetBits.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/GetFAt.$O: GetFAt.hs ${OBJDIR}/CBinary.$O ${OBJDIR}/BinHandle.$O ${OBJDIR}/Bin.$O
${OBJDIR}/IsEOFBin.$O: IsEOFBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/Instances.$O: Instances.hs ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O ${OBJDIR}/BinLocation.$O ${OBJDIR}/Bin.$O ${OBJDIR}/OpenBin.$O ${OBJDIR}/TellBin.$O ${OBJDIR}/AlignBin.$O ${OBJDIR}/PutBits.$O ${OBJDIR}/GetBits.$O ${OBJDIR}/CBinary.$O ${OBJDIR}/GetBitsF.$O ${OBJDIR}/LeftLeft.$O ${OBJDIR}/FreezeBin.$O
${OBJDIR}/LeftLeft.$O: LeftLeft.hs
${OBJDIR}/OpenBin.$O: OpenBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinIOMode.$O ${OBJDIR}/BinLocation.$O
${OBJDIR}/PutAt.$O: PutAt.hs ${OBJDIR}/CBinary.$O ${OBJDIR}/BinHandle.$O ${OBJDIR}/Bin.$O ${OBJDIR}/SeekBin.$O
${OBJDIR}/PutAtEnd.$O: PutAtEnd.hs ${OBJDIR}/CBinary.$O ${OBJDIR}/BinHandle.$O ${OBJDIR}/Bin.$O ${OBJDIR}/EndBin.$O ${OBJDIR}/SeekBin.$O
${OBJDIR}/PutBits.$O: PutBits.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O
${OBJDIR}/SkipBits.$O: SkipBits.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/StdMem.$O: StdMem.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/SizeBin.$O: SizeBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O
${OBJDIR}/SizedBin.$O: SizedBin.hs ${OBJDIR}/BinPtr.$O ${OBJDIR}/CBinary.$O ${OBJDIR}/PutBits.$O ${OBJDIR}/GetBits.$O ${OBJDIR}/AlignBin.$O ${OBJDIR}/SizeofBin.$O ${OBJDIR}/EqualsBin.$O ${OBJDIR}/CompareBin.$O ${OBJDIR}/StdMem.$O ${OBJDIR}/GetFAt.$O
${OBJDIR}/SeekBin.$O: SeekBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O
${OBJDIR}/TellBin.$O: TellBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O


#${OBJDIR}/Binary.$O: Binary.hs ${OBJS}

#${OBJDIR}/DirectPut.$O: DirectPut.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/SizedBin.$O ${OBJDIR}/BinPtr.$O
#${OBJDIR}/SizeofBin.$O: SizeofBin.gc cLowBinary.h ${OBJDIR}/BinHandle.$O ${OBJDIR}/BinPtr.$O


# C-files dependencies.

AlignBin.$C:    BinHandle.$C
BinLocation.$C: BinIOMode.$C
Bin.$C:         BinPtr.$C
CBinary.$C:     BinHandle.$C Bin.$C
ClearBits.$C:   BinHandle.$C BinPtr.$C
CloseBin.$C:    BinHandle.$C
CompareBin.$C:  BinPtr.$C BinHandle.$C
CopyBin.$C:     BinHandle.$C BinLocation.$C OpenBin.$C SizeBin.$C
CopyBits.$C:    BinHandle.$C BinPtr.$C GetBits.$C PutBits.$C SeekBin.$C
CopyBytes.$C:   BinHandle.$C BinPtr.$C
EndBin.$C:      BinHandle.$C BinPtr.$C
EqualsBin.$C:   BinPtr.$C BinHandle.$C
FreezeBin.$C:   BinHandle.$C
GetAt.$C:       CBinary.$C BinHandle.$C Bin.$C SeekBin.$C
GetBitsF.$C:    BinHandle.$C BinPtr.$C
GetBits.$C:     BinHandle.$C
GetFAt.$C:      CBinary.$C BinHandle.$C Bin.$C
IsEOFBin.$C:    BinHandle.$C
Instances.$C:   BinHandle.$C BinPtr.$C BinLocation.$C Bin.$C OpenBin.$C TellBin.$C AlignBin.$C PutBits.$C GetBits.$C CBinary.$C GetBitsF.$C LeftLeft.$C FreezeBin.$C
OpenBin.$C:     BinHandle.$C BinIOMode.$C BinLocation.$C
PutAt.$C:       CBinary.$C BinHandle.$C Bin.$C SeekBin.$C
PutAtEnd.$C:    CBinary.$C BinHandle.$C Bin.$C EndBin.$C SeekBin.$C
PutBits.$C:     BinHandle.$C BinPtr.$C
SkipBits.$C:    BinHandle.$C
StdMem.$C:      BinHandle.$C
SizeBin.$C:     BinHandle.$C
SizedBin.$C:    BinPtr.$C CBinary.$C PutBits.$C GetBits.$C AlignBin.$C SizeofBin.$C EqualsBin.$C CompareBin.$C StdMem.$C GetFAt.$C
SeekBin.$C:     BinHandle.$C BinPtr.$C
TellBin.$C:     BinHandle.$C BinPtr.$C


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].