Removed dependency on pmake 61/2761/1
authorRyan Ware <ware@linux.intel.com>
Mon, 18 Feb 2013 03:32:01 +0000 (19:32 -0800)
committerRyan Ware <ware@linux.intel.com>
Mon, 18 Feb 2013 03:32:01 +0000 (19:32 -0800)
Change-Id: I0ffba36fd03d12a0250fd17a2f68ad2833794bbf

Makefile
packaging/csr-framework.spec

index fe7b8e3..730f101 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ OUTDIR = lib
 TARGET = $(OUTDIR)/libsecfw.so
 SRCDIR = framework
 INCLUDE = -I. $(TCS_INC) -I../plugin
-LD_FLAGS := $(LD_FLAGS) -ldl
+LD_FLAGS := $(LD_FLAGS) -ldl -lc
 
 ifeq ($(TCS_CC), )
        CC = gcc
@@ -63,16 +63,11 @@ SOURCES = $(SRCDIR)/TCSImpl.c $(SRCDIR)/TWPImpl.c
 
 OBJECTS = $(OUTDIR)/TCSImpl.o $(OUTDIR)/TWPImpl.o
 
-MKDEP = mkdep -f .depend
-
 
 $(OUTDIR)/%.o: $(SRCDIR)/%.c
        $(CC) $(CFLAGS) -o $(OUTDIR)/$*.o -c $(SRCDIR)/$*.c
 
-all: $(OUTDIR) .depend $(TARGET)
-
-.depend: $(SOURCES)
-       $(MKDEP) $(CFLAGS) $(SOURCES)
+all: $(OUTDIR) $(TARGET)
 
 $(TARGET): $(OBJECTS)
        $(LD) -shared,-Wl,-zdefs -o $(TARGET) $(OBJECTS) $(LD_FLAGS)
@@ -91,5 +86,4 @@ clean:
        @rm -f $(OBJECTS) *~
        @rm -f *.bb *.bbg *.da *.gcov
 
--include .depend
 
index 9b54d2f..0d68dd2 100644 (file)
@@ -8,7 +8,6 @@ Source: %{name}-%{version}.tar.gz
 License: BSD
 Group: System/Libraries
 URL: http://tizen.org
-BuildRequires: pmake
 
 %description