~ubuntu-branches/ubuntu/wily/libuser/wily

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Habouzit
  • Date: 2006-09-03 21:58:15 UTC
  • mto: (2.1.1 edgy) (1.1.5 upstream) (3.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20060903215815-rtvvfzhaer8ymyp4
Tags: upstream-0.54.6-2.1.dfsg.1
ImportĀ upstreamĀ versionĀ 0.54.6-2.1.dfsg.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
AM_CPPFLAGS = $(GOBJECT_CFLAGS)
13
13
LOCALEDIR_CPPFLAGS = -DLOCALEDIR='"$(localedir)"'
14
14
PYTHON_CPPFLAGS = -I/usr/include/python$(PYTHON_VERSION)
15
 
SYSCONFDIR_CPPFLAGS = -DSYSCONFDIR='"$(sysconfdir)"'
16
 
 
17
 
CLEANFILES = libuser.conf
18
15
 
19
16
## Targets
20
17
SUBDIRS = po docs
24
21
endif
25
22
 
26
23
EXTRA_DIST = \
27
 
        libuser.conf.in \
28
24
        $(EXTRA_MANS) \
29
25
        python/modules.txt \
30
26
        samples/genusers \
31
 
        tests/config.conf.in tests/config_test.sh tests/files.conf.in \
32
 
        tests/files_test tests/files_test.py tests/ldap.conf.in tests/ldaprc \
33
 
        tests/ldap_skel.ldif tests/ldap_test tests/ldap_test.py \
34
 
        tests/slapd.conf.in tests/utils.conf.in tests/utils_group \
35
 
        tests/utils_gshadow tests/utils_passwd tests/utils_shadow \
36
 
        tests/utils_test
 
27
        tests/config.conf.in tests/config_default_useradd \
 
28
        tests/config_import.conf.in tests/config_login.defs \
 
29
        tests/config_override.conf.in tests/config_test.sh \
 
30
        tests/files.conf.in tests/files_test tests/files_test.py \
 
31
        tests/ldap.conf.in tests/ldaprc tests/ldap_skel.ldif tests/ldap_test \
 
32
        tests/ldap_test.py tests/slapd.conf.in tests/utils.conf.in \
 
33
        tests/utils_group tests/utils_gshadow tests/utils_passwd \
 
34
        tests/utils_shadow tests/utils_test
37
35
 
38
36
bin_PROGRAMS = apps/lchfn apps/lchsh
39
37
sbin_PROGRAMS = apps/lchage apps/lgroupadd apps/lgroupdel apps/lgroupmod \
61
59
if SASL
62
60
pkglib_LTLIBRARIES += modules/libuser_sasldb.la
63
61
endif
 
62
if WITH_PYTHON
64
63
pyexec_LTLIBRARIES = python/libusermodule.la
65
64
if QUOTA
66
65
pyexec_LTLIBRARIES += python/libuserquotamodule.la
67
66
endif
 
67
endif
68
68
 
69
69
dist_man_MANS = apps/lgroupadd.1 apps/lgroupdel.1 apps/lgroupmod.1 \
70
70
        apps/lchage.1 apps/lchfn.1 apps/lchsh.1 apps/lid.1 apps/lnewusers.1 \
72
72
EXTRA_MANS = lib/userquota.3
73
73
 
74
74
pkgconfig_DATA = $(PACKAGE).pc
75
 
sysconf_DATA = libuser.conf
 
75
dist_sysconf_DATA = libuser.conf
76
76
 
77
77
pkginclude_HEADERS = lib/config.h lib/entity.h lib/error.h lib/prompt.h \
78
78
        lib/user.h lib/user_private.h lib/userquota.h \
83
83
 
84
84
 
85
85
## Rules
86
 
libuser.conf: Makefile libuser.conf.in
87
 
        sed 's,@sysconfdir\@,$(sysconfdir),g' $(srcdir)/libuser.conf.in > $@
88
 
 
89
86
force-tag:
90
87
        cd $(top_srcdir); cvs tag -cFR $(CVSTAG) .
91
88
 
156
153
apps_lusermod_LDADD = apps/libapputil.la lib/libuser.la $(LTLIBINTL)
157
154
apps_lusermod_LDFLAGS = $(GMODULE_LIBS) -lpopt
158
155
 
159
 
lib_libuser_la_SOURCES = lib/config.c lib/entity.c lib/error.c lib/internal.h \
160
 
        lib/misc.c lib/modules.c lib/prompt.c lib/scache.c lib/user.c \
161
 
        lib/util.c
 
156
lib_libuser_la_SOURCES = lib/config.c lib/entity.c lib/error.c lib/getdate.y \
 
157
        lib/internal.h lib/misc.c lib/modules.c lib/prompt.c lib/scache.c \
 
158
        lib/user.c lib/util.c
162
159
# -Ilib so that "../config.h" is the result of configure
163
160
lib_libuser_la_CPPFLAGS = $(GMODULE_CFLAGS) -Ilib $(LOCALEDIR_CPPFLAGS) \
164
 
        $(SYSCONFDIR_CPPFLAGS) -DMODULEDIR='"$(pkglibdir)"'
165
 
lib_libuser_la_LDFLAGS = $(GMODULE_LIBS) $(CRYPT_LIBS) -version-info 2:2:1
 
161
        -DMODULEDIR='"$(pkglibdir)"' -DSYSCONFDIR='"$(sysconfdir)"'
 
162
lib_libuser_la_LDFLAGS = $(GMODULE_LIBS) $(CRYPT_LIBS) -version-info 2:6:1
166
163
lib_libuser_la_LIBADD = $(LTLIBINTL)
167
164
 
168
165
lib_libuserquota_la_SOURCES = lib/userquota.c
170
167
lib_libuserquota_la_CPPFLAGS = $(GLIB_CFLAGS) -Ilib
171
168
lib_libuserquota_la_LDFLAGS = -version-info 2:1:1
172
169
 
173
 
modules_libuser_files_la_CPPFLAGS = $(AM_CPPFLAGS) -D_LIBUSER_MODULE \
174
 
        $(SYSCONFDIR_CPPFLAGS)
 
170
modules_libuser_files_la_CPPFLAGS = $(AM_CPPFLAGS) -D_LIBUSER_MODULE
175
171
modules_libuser_files_la_SOURCES = modules/files.c
176
172
modules_libuser_files_la_LDFLAGS = -module -avoid-version -export-dynamic \
177
173
        $(GOBJECT_LIBS) $(SELINUX_LIBS)
178
174
modules_libuser_files_la_LIBADD = lib/libuser.la
179
175
 
180
 
modules_libuser_shadow_la_CPPFLAGS = $(AM_CPPFLAGS) -D_LIBUSER_MODULE \
181
 
        $(SYSCONFDIR_CPPFLAGS)
 
176
modules_libuser_shadow_la_CPPFLAGS = $(AM_CPPFLAGS) -D_LIBUSER_MODULE
182
177
modules_libuser_shadow_la_SOURCES = modules/files.c
183
178
modules_libuser_shadow_la_LDFLAGS = -module -avoid-version -export-dynamic \
184
179
        $(GOBJECT_LIBS) $(SELINUX_LIBS)