xref: /freebsd/crypto/krb5/src/tests/misc/Makefile.in (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubertmydir=tests$(S)misc
2*7f2fe78bSCy SchubertBUILDTOP=$(REL)..$(S)..
3*7f2fe78bSCy Schubert
4*7f2fe78bSCy SchubertOBJS=\
5*7f2fe78bSCy Schubert	test_getpw.o \
6*7f2fe78bSCy Schubert	test_chpw_message.o
7*7f2fe78bSCy Schubert
8*7f2fe78bSCy SchubertSRCS=\
9*7f2fe78bSCy Schubert	$(srcdir)/test_getpw.c \
10*7f2fe78bSCy Schubert	$(srcdir)/test_chpw_message.c \
11*7f2fe78bSCy Schubert	$(srcdir)/test_getsockname.c \
12*7f2fe78bSCy Schubert	$(srcdir)/test_cxx_krb5.cpp \
13*7f2fe78bSCy Schubert	$(srcdir)/test_cxx_k5int.cpp \
14*7f2fe78bSCy Schubert	$(srcdir)/test_cxx_gss.cpp \
15*7f2fe78bSCy Schubert	$(srcdir)/test_cxx_rpc.cpp \
16*7f2fe78bSCy Schubert	$(srcdir)/test_cxx_kadm5.cpp
17*7f2fe78bSCy Schubert
18*7f2fe78bSCy Schubertall: test_getpw test_chpw_message
19*7f2fe78bSCy Schubert
20*7f2fe78bSCy Schubertcheck: test_getpw test_chpw_message test_cxx_krb5 test_cxx_gss test_cxx_rpc test_cxx_k5int test_cxx_kadm5
21*7f2fe78bSCy Schubert	$(RUN_TEST) ./test_getpw
22*7f2fe78bSCy Schubert	$(RUN_TEST) ./test_chpw_message
23*7f2fe78bSCy Schubert	$(RUN_TEST) ./test_cxx_krb5
24*7f2fe78bSCy Schubert	$(RUN_TEST) ./test_cxx_k5int
25*7f2fe78bSCy Schubert	$(RUN_TEST) ./test_cxx_gss
26*7f2fe78bSCy Schubert	$(RUN_TEST) ./test_cxx_rpc
27*7f2fe78bSCy Schubert	$(RUN_TEST) ./test_cxx_kadm5
28*7f2fe78bSCy Schubert
29*7f2fe78bSCy Schuberttest_getpw: $(OUTPRE)test_getpw.$(OBJEXT) $(SUPPORT_DEPLIB)
30*7f2fe78bSCy Schubert	$(CC_LINK) $(ALL_CFLAGS) -o test_getpw $(OUTPRE)test_getpw.$(OBJEXT) $(SUPPORT_LIB)
31*7f2fe78bSCy Schubert
32*7f2fe78bSCy Schuberttest_chpw_message: $(OUTPRE)test_chpw_message.$(OBJEXT) $(SUPPORT_DEPLIB)
33*7f2fe78bSCy Schubert	$(CC_LINK) $(ALL_CFLAGS) -o test_chpw_message $(OUTPRE)test_chpw_message.$(OBJEXT) $(KRB5_BASE_LIBS) $(LIBS)
34*7f2fe78bSCy Schubert
35*7f2fe78bSCy Schuberttest_getsockname: $(OUTPRE)test_getsockname.$(OBJEXT)
36*7f2fe78bSCy Schubert	$(CC_LINK) $(ALL_CFLAGS) -o test_getsockname $(OUTPRE)test_getsockname.$(OBJEXT) $(LIBS)
37*7f2fe78bSCy Schubert
38*7f2fe78bSCy Schuberttest_cxx_krb5: $(OUTPRE)test_cxx_krb5.$(OBJEXT) $(KRB5_DEPLIB)
39*7f2fe78bSCy Schubert	$(CXX_LINK) $(ALL_CXXFLAGS) -o test_cxx_krb5 $(OUTPRE)test_cxx_krb5.$(OBJEXT) $(KRB5_BASE_LIBS) $(LIBS)
40*7f2fe78bSCy Schuberttest_cxx_k5int: $(OUTPRE)test_cxx_k5int.$(OBJEXT) $(KRB5_DEPLIB)
41*7f2fe78bSCy Schubert	$(CXX_LINK) $(ALL_CXXFLAGS) -o test_cxx_k5int $(OUTPRE)test_cxx_k5int.$(OBJEXT) $(KRB5_BASE_LIBS) $(LIBS)
42*7f2fe78bSCy Schuberttest_cxx_gss: $(OUTPRE)test_cxx_gss.$(OBJEXT)
43*7f2fe78bSCy Schubert	$(CXX_LINK) $(ALL_CXXFLAGS) -o test_cxx_gss $(OUTPRE)test_cxx_gss.$(OBJEXT) $(LIBS)
44*7f2fe78bSCy Schuberttest_cxx_rpc: $(OUTPRE)test_cxx_rpc.$(OBJEXT) $(GSSRPC_DEPLIBS)
45*7f2fe78bSCy Schubert	$(CXX_LINK) $(ALL_CXXFLAGS) -o test_cxx_rpc $(OUTPRE)test_cxx_rpc.$(OBJEXT) $(GSSRPC_LIBS) $(KRB5_BASE_LIBS) $(LIBS)
46*7f2fe78bSCy Schuberttest_cxx_kadm5: $(OUTPRE)test_cxx_kadm5.$(OBJEXT) $(KADMCLNT_DEPLIBS)
47*7f2fe78bSCy Schubert	$(CXX_LINK) $(ALL_CXXFLAGS) -o test_cxx_kadm5 $(OUTPRE)test_cxx_kadm5.$(OBJEXT) $(KADMCLNT_LIBS) $(KRB5_BASE_LIBS) $(LIBS)
48*7f2fe78bSCy Schubert
49*7f2fe78bSCy Schuberttest_cxx_krb5.$(OBJEXT): test_cxx_krb5.cpp
50*7f2fe78bSCy Schuberttest_cxx_gss.$(OBJEXT): test_cxx_gss.cpp
51*7f2fe78bSCy Schuberttest_cxx_rpc.$(OBJEXT): test_cxx_rpc.cpp
52*7f2fe78bSCy Schuberttest_cxx_kadm5.$(OBJEXT): test_cxx_kadm5.cpp
53*7f2fe78bSCy Schubert
54*7f2fe78bSCy Schubertinstall:
55*7f2fe78bSCy Schubert
56*7f2fe78bSCy Schubertclean:
57*7f2fe78bSCy Schubert	$(RM) test_getpw test_chpw_message test_cxx_krb5 test_cxx_gss test_cxx_k5int test_cxx_rpc test_cxx_kadm5 *.o
58*7f2fe78bSCy Schubert
59