X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=settings.make;h=495b2b3f855b47d716d59929186d61ee5079bdf4;hp=d008a354adf29fdd1404c3b18a6f7e57038541da;hb=HEAD;hpb=76415873c03f50b8d952db149fe5b6b7eda09a05 diff --git a/settings.make b/settings.make index d008a35..27969c1 100644 --- a/settings.make +++ b/settings.make @@ -20,14 +20,16 @@ # website at www.fsf.org, or the GNU Project website at www.gnu.org. CONFIG_CPPFLAGS= -DRWBUFFER_SIZE_MB=$(RWBUFFER_SIZE_MB) \ - -DREALLY_CHECK_FILE='"/etc/inittab"' + -DREALLY_CHECK_FILE='"/etc/inittab"' \ + -DREALLY_CHECK_FILE_2='"/etc/rc.local"' CC= gcc -CFLAGS= $(WARNINGS) $(OPTIMISE) $(DEBUG) -CPPFLAGS= $(CONFIG_CPPFLAGS) +CFLAGS= $(WARNINGS) $(OPTIMISE) $(DEBUG) $(CMDLINE_CFLAGS) +CPPFLAGS= $(CONFIG_CPPFLAGS) $(CMDLINE_CPPFLAGS) +LDFLAGS= $(CMDLINE_LDFLAGS) WARNINGS= -Wall -Wwrite-strings -Wmissing-prototypes \ - -Wstrict-prototypes -Wpointer-arith + -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign OPTIMISE= -O2 DEBUG= -g @@ -41,7 +43,10 @@ confdir=$(etcdir)/$(us) bindir=$(prefix)/bin sbindir=$(prefix)/sbin sharedir=$(prefix)/share/$(us) +perl5dir=$(prefix)/share/perl5 txtdocdir=$(prefix)/share/doc/$(us) +python2dir=$(prefix)/lib/python2.7/dist-packages +python3dir=$(prefix)/lib/python3/dist-packages exampledir=$(txtdocdir)/examples vardir=$(varlib)/$(us) mandir=${prefix}/man