diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-28 22:20:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-28 22:20:37 +0000 |
commit | adfe64a18ab45ae5d00be00fa29fccdc14a83fc1 (patch) | |
tree | a594c880d00e576aad4b950a573f2d2cfebd47bd /Makefile.am | |
parent | use automake-1.9 (not that it really matters eh) (diff) | |
download | sandbox-adfe64a18ab45ae5d00be00fa29fccdc14a83fc1.tar.gz sandbox-adfe64a18ab45ae5d00be00fa29fccdc14a83fc1.tar.bz2 sandbox-adfe64a18ab45ae5d00be00fa29fccdc14a83fc1.zip |
whitespace fixes and move LIBC_VERSION to config.h
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/Makefile.am b/Makefile.am index 2d7dc18..199c07a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,26 +1,25 @@ -AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip -EXTRA_DIST = sandbox.bashrc canonicalize.c libctest.c symbols.in -CLEANFILES = symbols.h +AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip +EXTRA_DIST = sandbox.bashrc canonicalize.c libctest.c symbols.in +CLEANFILES = symbols.h -AM_CPPFLAGS = -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT \ - -DLIBC_VERSION=\"$(LIBC_VERSION)\" \ - -DLIBSANDBOX_PATH=\"$(libdir)\" \ - -DSANDBOX_BASHRC_PATH=\"$(pkgdatadir)\" +AM_CPPFLAGS = -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT \ + -DLIBSANDBOX_PATH=\"$(libdir)\" \ + -DSANDBOX_BASHRC_PATH=\"$(pkgdatadir)\" -dist_pkgdata_DATA = sandbox.bashrc +dist_pkgdata_DATA = sandbox.bashrc -lib_LTLIBRARIES = libsandbox.la -libsandbox_la_SOURCES = libsandbox.c localdecls.h +lib_LTLIBRARIES = libsandbox.la +libsandbox_la_SOURCES = libsandbox.c localdecls.h # Do not add -nostdlib or -nostartfiles, as then our constructor # and destructor will not be executed ... -libsandbox_la_LDFLAGS = -nodefaultlibs -lc -ldl +libsandbox_la_LDFLAGS = -nodefaultlibs -lc -ldl # We need -fexceptions here, else we do not catch exceptions # (nptl/tst-cancelx4.c in glibc among others fails for wrapped functions). -libsandbox_la_CFLAGS = -fexceptions +libsandbox_la_CFLAGS = -fexceptions -bin_PROGRAMS = sandbox -sandbox_SOURCES = sandbox.c sandbox.h sandbox_futils.c getcwd.c -sandbox_CFLAGS = -DOUTSIDE_LIBSANDBOX +bin_PROGRAMS = sandbox +sandbox_SOURCES = sandbox.c sandbox.h sandbox_futils.c getcwd.c +sandbox_CFLAGS = -DOUTSIDE_LIBSANDBOX libsandbox.c: symbols.h @@ -30,7 +29,7 @@ libsandbox.c: symbols.h symbols.h: symbols.in @echo "Generating $@"; \ if [ ! -e "$(LIBC_PATH)" ]; then\ - echo -e "\n*** Cannot find $(LIBC_PATH)!\n"; \ + echo -e "\n*** Cannot find LIBC_PATH '$(LIBC_PATH)' !\n"; \ exit 1; \ fi; \ echo "#ifndef __symbol_h" > $@; \ @@ -49,4 +48,3 @@ symbols.h: symbols.in fi; \ done; \ echo -e "\n#endif /* __symbol_h */" >> $@ - |