-I globus... first. Required if different gssapi.h is found in /usr/local etc.
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 7 Jul 2005 18:39:55 +0000 (18:39 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 7 Jul 2005 18:39:55 +0000 (18:39 +0000)
pointed to by expat or ares

org.glite.lb.common/Makefile

index 5c65e64..068c531 100644 (file)
@@ -74,7 +74,7 @@ EXT_LIBS:= ${EXPAT_LIBS} ${ARES_LIBS} ${GLOBUS_LIBS}
 TEST_LIBS:=-L${cppunit}/lib -lcppunit
 TEST_INC:=-I${cppunit}/include
 
-COMPILE:=libtool --mode=compile ${CC} ${CFLAGS}
+COMPILE:=libtool --mode=compile ${CC}
 LINK:=libtool --mode=link ${CC} -rpath ${stagedir}/lib ${LDFLAGS} 
 LINKXX:=libtool --mode=link  ${CXX} -rpath ${stagedir}/lib ${LDFLAGS} 
 INSTALL:=libtool --mode=install install
@@ -180,7 +180,7 @@ clean:
 
 
 %.o: %.c
-       ${COMPILE} ${GLOBUSINC} -c $<
+       ${COMPILE} ${GLOBUSINC} ${CFLAGS} -c $<
 
 test_gss.o: %.o: %.cpp
        ${CXX} -c ${CFLAGS} ${GLOBUSINC} ${TEST_INC} $<
@@ -189,7 +189,7 @@ il_int_test.o il_string_test.o il_test.o: %.o: %.cpp
        ${CXX} -c ${CFLAGS} ${TEST_INC} $<
 
 %.thr.o: %.c
-       ${COMPILE} ${GLOBUSTHRINC} -o $@ -c $<
+       ${COMPILE} ${GLOBUSTHRINC} ${CFLAGS} -o $@ -c $<
 
 %.h: %.h.T
        rm -f $@