1*7f2fe78bSCy Schubertmydir=lib$(S)krad 2*7f2fe78bSCy SchubertBUILDTOP=$(REL)..$(S).. 3*7f2fe78bSCy SchubertRELDIR=krad 4*7f2fe78bSCy Schubert 5*7f2fe78bSCy SchubertPROG_LIBPATH=-L$(TOPLIBD) 6*7f2fe78bSCy SchubertPROG_RPATH=$(KRB5_LIBDIR) 7*7f2fe78bSCy Schubert 8*7f2fe78bSCy SchubertSHLIB_EXPLIBS=$(KRB5_BASE_LIBS) $(VERTO_LIBS) 9*7f2fe78bSCy SchubertSHLIB_EXPDEPLIBS=$(KRB5_BASE_DEPLIBS) $(VERTO_DEPLIB) 10*7f2fe78bSCy SchubertSHLIB_DIRS=-L$(TOPLIBD) 11*7f2fe78bSCy SchubertSHLIB_RDIRS=$(KRB5_LIBDIR) 12*7f2fe78bSCy Schubert 13*7f2fe78bSCy SchubertLIBBASE=krad 14*7f2fe78bSCy SchubertLIBMAJOR=0 15*7f2fe78bSCy SchubertLIBMINOR=0 16*7f2fe78bSCy Schubert 17*7f2fe78bSCy SchubertSTLIBOBJS=attr.o attrset.o client.o code.o packet.o remote.o 18*7f2fe78bSCy SchubertLIBOBJS=$(OUTPRE)attr.$(OBJEXT) \ 19*7f2fe78bSCy Schubert $(OUTPRE)attrset.$(OBJEXT) \ 20*7f2fe78bSCy Schubert $(OUTPRE)client.$(OBJEXT) \ 21*7f2fe78bSCy Schubert $(OUTPRE)code.$(OBJEXT) \ 22*7f2fe78bSCy Schubert $(OUTPRE)packet.$(OBJEXT) \ 23*7f2fe78bSCy Schubert $(OUTPRE)remote.$(OBJEXT) 24*7f2fe78bSCy SchubertSRCS=attr.c attrset.c client.c code.c packet.c remote.c \ 25*7f2fe78bSCy Schubert t_attr.c t_attrset.c t_client.c t_code.c t_packet.c t_remote.c t_test.c 26*7f2fe78bSCy Schubert 27*7f2fe78bSCy SchubertSTOBJLISTS=OBJS.ST 28*7f2fe78bSCy Schubert 29*7f2fe78bSCy Schubertall-unix: all-liblinks 30*7f2fe78bSCy Schubertinstall-unix: install-libs 31*7f2fe78bSCy Schubert 32*7f2fe78bSCy Schubertclean-unix:: clean-liblinks clean-libs clean-libobjs 33*7f2fe78bSCy Schubert 34*7f2fe78bSCy Schubertcheck-unix: t_attr t_attrset t_code t_packet t_remote t_client 35*7f2fe78bSCy Schubert $(RUN_TEST) ./t_attr 36*7f2fe78bSCy Schubert $(RUN_TEST) ./t_attrset 37*7f2fe78bSCy Schubert $(RUN_TEST) ./t_code 38*7f2fe78bSCy Schubert $(RUN_TEST) ./t_packet $(PYTHON) $(srcdir)/t_daemon.py 39*7f2fe78bSCy Schubert $(RUN_TEST) ./t_remote $(PYTHON) $(srcdir)/t_daemon.py 40*7f2fe78bSCy Schubert $(RUN_TEST) ./t_client $(PYTHON) $(srcdir)/t_daemon.py 41*7f2fe78bSCy Schubert 42*7f2fe78bSCy SchubertTESTDEPS=t_test.o $(KRB5_BASE_DEPLIBS) 43*7f2fe78bSCy SchubertTESTLIBS=t_test.o $(KRB5_BASE_LIBS) 44*7f2fe78bSCy Schubert 45*7f2fe78bSCy SchubertT_ATTR_OBJS=attr.o t_attr.o 46*7f2fe78bSCy Schubertt_attr: $(T_ATTR_OBJS) $(TESTDEPS) 47*7f2fe78bSCy Schubert $(CC_LINK) -o $@ $(T_ATTR_OBJS) $(TESTLIBS) 48*7f2fe78bSCy Schubert 49*7f2fe78bSCy SchubertT_ATTRSET_OBJS=attr.o attrset.o t_attrset.o 50*7f2fe78bSCy Schubertt_attrset: $(T_ATTRSET_OBJS) $(TESTDEPS) 51*7f2fe78bSCy Schubert $(CC_LINK) -o $@ $(T_ATTRSET_OBJS) $(TESTLIBS) 52*7f2fe78bSCy Schubert 53*7f2fe78bSCy SchubertT_CODE_OBJS=code.o t_code.o 54*7f2fe78bSCy Schubertt_code: $(T_CODE_OBJS) $(TESTDEPS) 55*7f2fe78bSCy Schubert $(CC_LINK) -o $@ $(T_CODE_OBJS) $(TESTLIBS) 56*7f2fe78bSCy Schubert 57*7f2fe78bSCy SchubertT_PACKET_OBJS=attr.o attrset.o code.o packet.o t_packet.o 58*7f2fe78bSCy Schubertt_packet: $(T_PACKET_OBJS) $(TESTDEPS) 59*7f2fe78bSCy Schubert $(CC_LINK) -o $@ $(T_PACKET_OBJS) $(TESTLIBS) 60*7f2fe78bSCy Schubert 61*7f2fe78bSCy SchubertT_REMOTE_OBJS=attr.o attrset.o code.o packet.o remote.o t_remote.o 62*7f2fe78bSCy Schubertt_remote: $(T_REMOTE_OBJS) $(TESTDEPS) $(VERTO_DEPLIB) 63*7f2fe78bSCy Schubert $(CC_LINK) -o $@ $(T_REMOTE_OBJS) $(TESTLIBS) $(VERTO_LIBS) 64*7f2fe78bSCy Schubert 65*7f2fe78bSCy SchubertT_CLIENT_OBJS=attr.o attrset.o code.o packet.o remote.o client.o t_client.o 66*7f2fe78bSCy Schubertt_client: $(T_CLIENT_OBJS) $(TESTDEPS) $(VERTO_DEPLIB) 67*7f2fe78bSCy Schubert $(CC_LINK) -o $@ $(T_CLIENT_OBJS) $(TESTLIBS) $(VERTO_LIBS) 68*7f2fe78bSCy Schubert 69*7f2fe78bSCy Schubertclean-unix:: clean-libobjs 70*7f2fe78bSCy Schubert $(RM) *.o t_attr t_attrset t_code t_packet t_remote t_client 71*7f2fe78bSCy Schubert 72*7f2fe78bSCy Schubert@lib_frag@ 73*7f2fe78bSCy Schubert@libobj_frag@ 74