Changes in Makefile.am [353719a:3624a2c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r353719a r3624a2c 12 12 13 13 check_PROGRAMS = tester.bin 14 dist_check_DATA = t 15 dist_check_SCRIPTS = runtests.sh 16 17 bin_SCRIPTS = barnowl 18 check_SCRIPTS = tester 19 20 barnowl tester: %: barnowl-wrapper.in %.bin Makefile 21 sed \ 22 -e 's,[@]abs_srcdir[@],$(abs_srcdir),g' \ 23 -e 's,[@]abs_builddir[@],$(abs_builddir),g' \ 24 $< > $@ 25 chmod +x $@ 14 26 15 27 barnowl_bin_SOURCES = $(BASE_SRCS) \ 16 owl.h owl_perl.h config.h\17 owl.c \18 28 owl.h owl_perl.h \ 29 owl.c 30 nodist_barnowl_bin_SOURCES = $(GEN_C) $(GEN_H) 19 31 20 man_MANS = doc/barnowl.121 d oc_DATA = doc/intro.txt doc/advanced.txt32 dist_man_MANS = doc/barnowl.1 33 dist_doc_DATA = doc/intro.txt doc/advanced.txt 22 34 23 35 barnowl_bin_LDADD = compat/libcompat.a libfaim/libfaim.a 24 36 25 37 tester_bin_SOURCES = $(BASE_SRCS) \ 26 owl.h owl_perl.h config.h \ 27 $(GEN_C) $(GEN_H) \ 38 owl.h owl_perl.h \ 28 39 tester.c 40 nodist_tester_bin_SOURCES = $(GEN_C) $(GEN_H) 29 41 30 42 tester_bin_LDADD = compat/libcompat.a libfaim/libfaim.a … … 32 44 TESTS=runtests.sh 33 45 34 AM_CPPFLAGS = -I$(top_srcdir)/\46 AM_CPPFLAGS = \ 35 47 -I$(top_srcdir)/libfaim/ \ 36 48 -DDATADIR='"$(pkgdatadir)"' \ … … 48 60 mainpanel.c msgwin.c sepbar.c editcontext.c signal.c closures.c 49 61 50 NORMAL_SRCS = filterproc.c window.cwindowcb.c62 NORMAL_SRCS = filterproc.c filterproc.h window.c window.h windowcb.c 51 63 52 64 BASE_SRCS = $(CODELIST_SRCS) $(NORMAL_SRCS) 53 65 54 66 GEN_C = varstubs.c perlglue.c gmarshal_funcs.c 55 GEN_H = owl_prototypes.h gmarshal_funcs.h67 GEN_H = owl_prototypes.h owl_prototypes.h.new gmarshal_funcs.h 56 68 57 69 BUILT_SOURCES = $(GEN_C) $(GEN_H) … … 66 78 proto: owl_prototypes.h 67 79 68 perlglue.c: perlglue.xs $(TYPEMAP)69 $(AM_V_GEN)perl $(XSUBPPDIR)/xsubpp $(XSUBPPFLAGS) -prototypes perlglue.xs > perlglue.c80 perlglue.c: perlglue.xs typemap 81 $(AM_V_GEN)perl $(XSUBPPDIR)/xsubpp $(XSUBPPFLAGS) -prototypes $< > $@ 70 82 71 83 varstubs.c: stubgen.pl variable.c … … 84 96 $(COMPILE) -Wall -Wextra -pedantic -fsyntax-only $(CHK_SOURCES) 85 97 86 install-data-local:87 $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/lib88 (cd perl/lib && tar -cf - . ) | (cd ${DESTDIR}${pkgdatadir}/lib && tar -xf - )89 90 98 do_transform = $(shell echo '$(1)' | sed '$(transform)') 91 99 install-exec-hook: … … 93 101 $(DESTDIR)$(bindir)/$(call do_transform,barnowl) 94 102 103 uninstall-local: 104 rm -f $(DESTDIR)$(bindir)/$(call do_transform,barnowl) 105 106 CLEANFILES = $(BUILT_SOURCES) $(bin_SCRIPTS) $(check_SCRIPTS) 107 EXTRA_DIST = \ 108 autogen.sh \ 109 barnowl-wrapper.in \ 110 codelist.pl \ 111 doc \ 112 examples \ 113 marshal_types \ 114 perlglue.xs \ 115 scripts \ 116 stubgen.pl \ 117 typemap 118 95 119 SUBDIRS = compat libfaim perl
Note: See TracChangeset
for help on using the changeset viewer.