summaryrefslogtreecommitdiffstats
path: root/kuser/Makefile.am
blob: af784341c1f1751c65cbe87943dd79671ca7996b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
INCLUDES	= -I.. -I$(top_srcdir)/kuser $(all_includes)

# May be -D_XU_QUOTA -D_XU_SHADOW
#AM_CXXFLAGS = 	$(KU_NIS) $(KU_QUOTA) $(QUOTACTL) -D_KU_DEBUG

kuser_LDFLAGS	=	$(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kuser_LDADD	=	$(LIB_TDEUI) $(LIBCRYPT) $(LIBSHADOW) $(LIBGEN) $(LIB_KABC) -ltdentlm

####### Files

kuser_SOURCES	=	\
	mainWidget.cpp editGroup.cpp kuservw.cpp \
	kgroupvw.cpp delUser.cpp \
	kuser.cpp kgroup.cpp main.cpp mainView.cpp \
	propdlg.cpp misc.cpp pwddlg.cpp \
	addUser.cpp editDefaults.cpp \
	tdeglobal.cpp sid.cpp\
	kuserfiles.cpp kgroupfiles.cpp kuserldap.cpp kgroupldap.cpp \
	kusersystem.cpp kgroupsystem.cpp selectconn.cpp\
	sha1.cpp kuserprefs.kcfgc \
	filessettings.ui generalsettings.ui ldapsettings.ui ldapsamba.ui passwordpolicy.ui

kuser_METASOURCES = AUTO

# the following are only useful, if you want to use "make dist"
noinst_HEADERS	=	\
	mainWidget.h editGroup.h kuservw.h \
	kuser.h mainView.h kgroup.h delUser.h \
	kgroupvw.h propdlg.h globals.h misc.h \
	pwddlg.h addUser.h \
	editDefaults.h selectconn.h sha1.h sid.h kglobal_.h \
	kusersystem.h kgroupsystem.h kuserfiles.h kgroupfiles.h kuserldap.h kgroupldap.h

kde_kcfg_DATA = kuser.kcfg

EDITABLE	=	$(noinst_HEADERS) $(kuser_SOURCES) Makefile.am

EXTRA_DIST = README AUTHORS THANKS kuser.desktop

rcdir = $(kde_datadir)/kuser
rc_DATA = kuserui.rc

# the programs get installed in $(prefix)/bin
bin_PROGRAMS = kuser

# the subdirs we have. Better would be to include pic here too
SUBDIRS = pic toolbar icon

xdg_apps_DATA = kuser.desktop

edit::
	xemacs -fn "-edict-fixed-medium-r-*-*-*-120-*-*-*-*-koi8-r" -geometry 142x41+0+0 $(EDITABLE)&

messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kuser.pot

pot::
	/usr/local/bin/xgettext -ki18n -o kuser.pot -p ../po -d kuser -C -n *.cpp
	/usr/local/bin/msgmerge --strict -v -o $(podir)/kuser.pot
	mv $(podir)/ru/kuser.po