-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (34 loc) · 871 Bytes
/
Makefile
File metadata and controls
40 lines (34 loc) · 871 Bytes
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
#
# linuxcsa top level Makefile
#
CSA_VERSION=5.1.0
JOB_VERSION=3.0.1
LIBDIR=/usr/lib64
default:: job csa
job::
cd job; \
libtoolize -c; \
aclocal; \
autoheader; \
automake -a -c -i; \
autoconf; \
./configure --prefix=/usr --libdir=$(LIBDIR) --sysconfdir=/etc --mandir=/usr/share/man; \
make
csa:: job
cd csa; \
if [ -a /usr/share/gettext/config.rpath ] ; \
then \
ln -s /usr/share/gettext/config.rpath . ; \
else \
touch config.rpath ; \
fi; \
libtoolize -c; \
aclocal; \
autoheader; \
automake -a -c -i; \
autoconf; \
./configure --prefix=/usr --libdir=$(LIBDIR) --sysconfdir=/etc --mandir=/usr/share/man --with-csainstalluser=root --with-csainstallgroup=sys; \
make
rpm::
@echo To build rpms, please run "create_rpm.sh <RPM_BUILD_ROOT pathname>"
@echo " where RPM_BUILD_ROOT is %_topdir in ~/.rpmmacros"