| 1 | ## Process this file with automake to produce Makefile.in |
| 2 | |
| 3 | AM_CFLAGS = -DPACKAGE_DATA_DIR=\""$(datadir)"\" -DPACKAGE_BIN_DIR=\""$(bindir)"\" |
| 4 | |
| 5 | # Ensure scripts are portable by depending only on /bin/sh |
| 6 | SH = /bin/sh |
| 7 | |
| 8 | bin_PROGRAMS = lttctl |
| 9 | bin_SCRIPTS = ltt-armall ltt-disarmall |
| 10 | CLEANFILES = $(bin_SCRIPTS) |
| 11 | EXTRA_DIST = ltt-armall.sh ltt-disarmall.sh |
| 12 | |
| 13 | ltt-armall: ltt-armall.sh |
| 14 | rm -f ltt-armall |
| 15 | echo "#!"$(SH) > ltt-armall |
| 16 | cat $(srcdir)/ltt-armall.sh >> ltt-armall |
| 17 | chmod ugo+x ltt-armall |
| 18 | |
| 19 | ltt-disarmall: ltt-disarmall.sh |
| 20 | rm -f ltt-disarmall |
| 21 | echo "#!"$(SH) > ltt-disarmall |
| 22 | cat $(srcdir)/ltt-disarmall.sh >> ltt-disarmall |
| 23 | chmod ugo+x ltt-disarmall |
| 24 | |
| 25 | lttctl_SOURCES = \ |
| 26 | lttctl.c |
| 27 | lttctl_DEPENDENCIES = ../liblttctl/liblttctl.la |
| 28 | lttctl_LDADD = $(lttctl_DEPENDENCIES) |
| 29 | |