xref: /freebsd/contrib/ntp/check-libopts.mf (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy Schubert## check-libopts.mf - automake fragment
2*2b15cb3dSCy Schubert##
3*2b15cb3dSCy Schubert## If we are not using the tearoff libopts, we won't be
4*2b15cb3dSCy Schubert## building its libopts.la, so the submake is allowed
5*2b15cb3dSCy Schubert## to fail.
6*2b15cb3dSCy Schubert
7*2b15cb3dSCy SchubertBUILT_SOURCES	+= check-libopts
8*2b15cb3dSCy SchubertCLEANFILES	+= check-libopts
9*2b15cb3dSCy Schubert
10*2b15cb3dSCy Schubertcheck-libopts: ../sntp/libopts/libopts.la
11*2b15cb3dSCy Schubert	@echo stamp > $@
12*2b15cb3dSCy Schubert
13*2b15cb3dSCy Schubert../sntp/libopts/libopts.la:
14*2b15cb3dSCy Schubert	-cd ../sntp/libopts && $(MAKE) $(AM_MAKEFLAGS) libopts.la
15