add LDAP Wrapper code
[pve-common.git] / src / Makefile
1
2 PREFIX=/usr
3 BINDIR=${PREFIX}/bin
4 MANDIR=${PREFIX}/share/man
5 DOCDIR=${PREFIX}/share/doc
6 MAN1DIR=${MANDIR}/man1/
7 PERLDIR=${PREFIX}/share/perl5
8
9 LIB_SOURCES = \
10         ACME.pm \
11         ACME/Challenge.pm \
12         ACME/StandAlone.pm \
13         AtomicFile.pm \
14         Certificate.pm \
15         CLIFormatter.pm \
16         CLIHandler.pm \
17         CalendarEvent.pm \
18         CpuSet.pm \
19         Daemon.pm \
20         Exception.pm \
21         INotify.pm \
22         JSONSchema.pm \
23         LDAP.pm \
24         Network.pm \
25         OTP.pm \
26         PTY.pm \
27         ProcFSTools.pm \
28         RESTEnvironment.pm \
29         RESTHandler.pm \
30         SafeSyslog.pm \
31         SectionConfig.pm \
32         Subscription.pm \
33         Syscall.pm \
34         SysFSTools.pm \
35         Systemd.pm \
36         Ticket.pm \
37         Tools.pm
38
39 all:
40
41 .PHONY: install
42 install:
43         install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE
44         install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/ACME
45         for i in ${LIB_SOURCES}; do install -D -m 0644 PVE/$$i ${DESTDIR}${PERLDIR}/PVE/$$i; done
46
47
48 .PHONY: clean
49 clean:  
50         rm -rf *~ 
51
52 .PHONY: distclean
53 distclean: clean
54