|
From: <ssm...@us...> - 2007-09-24 16:33:56
|
Revision: 2580
http://selinux.svn.sourceforge.net/selinux/?rev=2580&view=rev
Author: ssmalley
Date: 2007-09-24 09:33:53 -0700 (Mon, 24 Sep 2007)
Log Message:
-----------
Update other Makefiles in the same way as libselinux.
Modified Paths:
--------------
trunk/libsemanage/src/Makefile
trunk/libsepol/src/Makefile
Modified: trunk/libsemanage/src/Makefile
===================================================================
--- trunk/libsemanage/src/Makefile 2007-09-24 16:21:53 UTC (rev 2579)
+++ trunk/libsemanage/src/Makefile 2007-09-24 16:33:53 UTC (rev 2580)
@@ -47,14 +47,14 @@
$(CC) $(CFLAGS) -I$(PYINC) -fPIC -DSHARED -c -o $@ $<
$(SWIGSO): $(SWIGLOBJ)
- $(CC) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage -l$(PYLIBVER) -L$(LIBDIR) -Wl,-soname,$@,-z,defs
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage -l$(PYLIBVER) -L$(LIBDIR) -Wl,-soname,$@,-z,defs
$(LIBA): $(OBJS)
$(AR) rcs $@ $^
ranlib $@
$(LIBSO): $(LOBJS)
- $(CC) $(LDFLAGS) -shared -o $@ $^ -lsepol -lselinux -lustr -L$(LIBDIR) -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -lselinux -lustr -L$(LIBDIR) -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
ln -sf $@ $(TARGET)
conf-scan.c: conf-scan.l conf-parse.h
Modified: trunk/libsepol/src/Makefile
===================================================================
--- trunk/libsepol/src/Makefile 2007-09-24 16:21:53 UTC (rev 2579)
+++ trunk/libsepol/src/Makefile 2007-09-24 16:33:53 UTC (rev 2580)
@@ -20,7 +20,7 @@
ranlib $@
$(LIBSO): $(LOBJS)
- $(CC) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,$(LIBSO),--version-script=libsepol.map,-z,defs
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,$(LIBSO),--version-script=libsepol.map,-z,defs
ln -sf $@ $(TARGET)
%.o: %.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|