aboutsummaryrefslogtreecommitdiff
path: root/src/config/libobj.in
diff options
context:
space:
mode:
authorWilfredo Sanchez <tritan@mit.edu>1999-10-26 01:49:53 +0000
committerWilfredo Sanchez <tritan@mit.edu>1999-10-26 01:49:53 +0000
commit576f92854331c90f779e721443dcd375e6851670 (patch)
tree7730482a06f359c2997068ac71a5358d397dc0f9 /src/config/libobj.in
parent3edb32acbb73c8d52e66ab71b71c0b5896fe5400 (diff)
downloadkrb5-576f92854331c90f779e721443dcd375e6851670.zip
krb5-576f92854331c90f779e721443dcd375e6851670.tar.gz
krb5-576f92854331c90f779e721443dcd375e6851670.tar.bz2
Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES such
that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/libobj.in')
-rw-r--r--src/config/libobj.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/config/libobj.in b/src/config/libobj.in
index e2cf595..f8af821 100644
--- a/src/config/libobj.in
+++ b/src/config/libobj.in
@@ -27,14 +27,12 @@ SONAME=@SONAME@
#
PICFLAGS=@PICFLAGS@
PROFFLAGS=@PROFFLAGS@
-.SUFFIXES: .c .o .so .po
-.c.o:
- $(CC) $(CFLAGS) -c $<
+.SUFFIXES: .c .so .po
.c.so:
- $(CC) $(PICFLAGS) $(CFLAGS) -c $< -o $*.so.o && \
+ $(CC) $(DEFS) $(DEFINES) $(LOCALINCLUDES) $(PICFLAGS) $(CPPFLAGS) -c $< -o $*.so.o && \
$(MV) $*.so.o $*.so
.c.po:
- $(CC) $(PROFFLAGS) $(CFLAGS) -c $< -o $*.po.o && \
+ $(CC) $(DEFS) $(DEFINES) $(LOCALINCLUDES) $(PROFFLAGS) $(CPPFLAGS) -c $< -o $*.po.o && \
$(MV) $*.po.o $*.po
# rules to generate object file lists