-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
41 lines (35 loc) · 1.21 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
if ENABLE_SAMPLES
SAMPLES_SUBDIR = samples
else
SAMPLES_SUBDIR =
endif
SUBDIRS = eb libebutils ebappendix ebfont ebinfo ebrefile ebstopcode ebzip \
doc po-eb po-ebutils m4 $(SAMPLES_SUBDIR)
EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 move-if-change \
eb.conf.in misc/ebfixlog misc/ebdump
CLEANFILES = eb.conf
appendixdir = $(pkgdatadir)/appendix
appendix_DATA =
sysconf_DATA = eb.conf
eb.conf: eb.conf.in Makefile
rm -f $@
sed -e 's;\@VERSION\@;$(VERSION);' \
-e 's;\@EBCONF_EBINCS\@;$(EBCONF_EBINCS);' \
-e 's;\@EBCONF_EBLIBS\@;$(EBCONF_EBLIBS);' \
-e 's;\@EBCONF_ZLIBINCS\@;$(EBCONF_ZLIBINCS);' \
-e 's;\@EBCONF_ZLIBLIBS\@;$(EBCONF_ZLIBLIBS);' \
-e 's;\@ENABLE_PTHREAD\@;$(ENABLE_PTHREAD);' \
-e 's;\@PTHREAD_CPPFLAGS\@;$(PTHREAD_CPPFLAGS);' \
-e 's;\@PTHREAD_CFLAGS\@;$(PTHREAD_CFLAGS);' \
-e 's;\@PTHREAD_LDFLAGS\@;$(PTHREAD_LDFLAGS);' \
-e 's;\@ENABLE_NLS\@;$(ENABLE_NLS);' \
-e 's;\@EBCONF_INTLINCS\@;$(EBCONF_INTLINCS);' \
-e 's;\@EBCONF_INTLLIBS\@;$(EBCONF_INTLLIBS);' \
-e 's;\@ENABLE_EBNET\@;$(ENABLE_EBNET);' \
$(srcdir)/[email protected] > [email protected]
cp [email protected] $@
chmod 644 $@
rm -f [email protected]
gttest.mo: gttest.po
$(MSGFMT) -o gttest.mo gttest.po