Skip to content

Commit

Permalink
Implement module stuff.
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
  • Loading branch information
felipec committed Oct 25, 2008
1 parent 33c0ae9 commit 8e264da
Show file tree
Hide file tree
Showing 4 changed files with 431 additions and 343 deletions.
8 changes: 6 additions & 2 deletions Makefile
Expand Up @@ -3,6 +3,7 @@ GLIB_LIBS := $(shell pkg-config --libs glib-2.0)

OMX_CFLAGS := -I$(PWD)/include

CORE_CFLAGS := -I$(PWD)/lib
UTIL_CFLAGS := -I$(PWD)/util
UTIL_LIBS := -L$(PWD)/util -lutil

Expand All @@ -23,9 +24,12 @@ objs += $(util_objs)
lib := libomxil-g.so
lib_objs := lib/core.o

# dummy
lib_objs += lib/dummy/module.o

$(lib): $(lib_objs)
$(lib): CFLAGS := $(CFLAGS) $(OMX_CFLAGS) $(UTIL_CFLAGS) $(GLIB_CFLAGS)
$(lib): LIBS := $(UTIL_LIBS) $(GLIB_LIBS)
$(lib): CFLAGS := $(CFLAGS) $(OMX_CFLAGS) $(CORE_CFLAGS) $(UTIL_CFLAGS) $(GLIB_CFLAGS) $(lib_cflags)
$(lib): LIBS := $(UTIL_LIBS) $(GLIB_LIBS) $(lib_libs)

targets += $(lib)
objs += $(lib_objs)
Expand Down

0 comments on commit 8e264da

Please sign in to comment.