~ubuntu-branches/ubuntu/precise/krb5/precise-updates

« back to all changes in this revision

Viewing changes to src/util/profile/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2011-12-01 19:34:41 UTC
  • mfrom: (28.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20111201193441-9tipg3aru1jsidyv
Tags: 1.10+dfsg~alpha1-6
* Fix segfault with unknown hostnames in krb5_sname_to_principal,
  Closes: #650671
* Indicate that this library breaks libsmbclient versions that depend on
  krb5_locate_kdc, Closes: #650603, #650611

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
mydir=util$(S)profile
2
2
BUILDTOP=$(REL)..$(S)..
 
3
SUBDIRS=testmod
3
4
PROG_LIBPATH=-L$(TOPLIBD) $(TCL_LIBPATH) -L.
4
5
PROG_RPATH=$(KRB5_LIBDIR)$(TCL_RPATH)
5
6
KRB5_RUN_ENV=@KRB5_RUN_ENV@
10
11
 
11
12
LOCALINCLUDES=-I. $(TCL_INCLUDES)
12
13
# for tcl.h
13
 
DEFINES=-DHAS_STDARG
 
14
DEFINES=-DHAS_STDARG -DLIBDIR=\"$(KRB5_LIBDIR)\"
14
15
 
15
16
STLIBOBJS = \
16
17
        prof_tree.o \
37
38
        prof_err.c \
38
39
        $(srcdir)/prof_init.c
39
40
 
40
 
EXTRADEPSRCS=$(srcdir)/test_parse.c $(srcdir)/test_profile.c \
 
41
EXTRADEPSRCS=$(srcdir)/test_load.c $(srcdir)/test_parse.c \
 
42
        $(srcdir)/test_profile.c $(srcdir)/test_vtable.c \
41
43
        $(srcdir)/profile_tcl.c
42
44
 
43
45
DEPLIBS = $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
93
95
        $(CC_LINK) -o test_profile test_profile.$(OBJEXT) \
94
96
                argv_parse.$(OBJEXT) $(OBJS) $(MLIBS)
95
97
 
 
98
test_vtable: test_vtable.$(OBJEXT) $(OBJS) $(DEPLIBS)
 
99
        $(CC_LINK) -o test_vtable test_vtable.$(OBJEXT) $(OBJS) $(MLIBS)
 
100
 
 
101
test_load: test_load.$(OBJEXT) $(OBJS) $(DEPLIBS)
 
102
        $(CC_LINK) -o test_load test_load.$(OBJEXT) $(OBJS) $(MLIBS)
 
103
 
 
104
modtest.conf:
 
105
        echo "module `pwd`/testmod/proftest$(DYNOBJEXT):teststring" > $@
 
106
 
96
107
.d: includes
97
108
 
98
109
# NEED TO FIX!!
120
131
 
121
132
# not built by default, but may be useful for testing
122
133
$(srcdir)/profile_tcl.c: profile.swg
123
 
#       (cd $(srcdir) && swig -tcl8 -o profile_tcl.c profile.swg)
 
134
#       (cd $(srcdir) && swig -tcl8 -nosafe -o profile_tcl.c profile.swg)
124
135
profile_tcl.o: $(srcdir)/profile_tcl.c profile.h
125
136
profile_tcl: profile_tcl.o $(PROF_DEPLIB) $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
126
137
        $(CC_LINK) -o profile_tcl profile_tcl.o \
128
139
                -L../et -L../.. -lprofile $(TCL_LIBS) $(MLIBS)
129
140
 
130
141
clean-unix:: clean-libs clean-libobjs
131
 
        $(RM) $(PROGS) *.o *~ test_parse core prof_err.h \
132
 
                prof_err.c test_profile profile.h profile_tcl
 
142
        $(RM) $(PROGS) *.o *~ core prof_err.h profile.h prof_err.c
 
143
        $(RM) test_load test_parse test_profile test_vtable profile_tcl
 
144
        $(RM) modtest.conf
133
145
 
134
146
clean-windows::
135
147
        $(RM) $(PROFILE_HDR)
136
148
 
137
 
check-unix:: test_parse test_profile
 
149
check-unix:: test_parse test_profile test_vtable test_load modtest.conf
 
150
        $(KRB5_RUN_ENV) $(VALGRIND) ./test_vtable
 
151
        $(KRB5_RUN_ENV) $(VALGRIND) ./test_load
138
152
 
139
153
DO_TCL=@DO_TCL@
140
154
check-unix:: check-unix-tcl-$(DO_TCL)