summaryrefslogtreecommitdiff
path: root/nuttx/graphics/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-01 18:51:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-01 18:51:08 +0000
commitddbd1c4ca59bc9adb8807abc4b1b78b2767dfbdb (patch)
tree9c516f20302e112ea872b3fc51914fa60d3b573c /nuttx/graphics/Makefile
parentc29661444c8c0719d8cad6d60341758563d965fc (diff)
downloadpx4-nuttx-ddbd1c4ca59bc9adb8807abc4b1b78b2767dfbdb.tar.gz
px4-nuttx-ddbd1c4ca59bc9adb8807abc4b1b78b2767dfbdb.tar.bz2
px4-nuttx-ddbd1c4ca59bc9adb8807abc4b1b78b2767dfbdb.zip
Add the beginning of NX toolkit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1380 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/Makefile')
-rw-r--r--nuttx/graphics/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/graphics/Makefile b/nuttx/graphics/Makefile
index 16e68106d..cb581f000 100644
--- a/nuttx/graphics/Makefile
+++ b/nuttx/graphics/Makefile
@@ -56,10 +56,14 @@ DEPPATH += --dep-path nxsu
CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh "$(CC)" $(TOPDIR)/graphics/nxsu}
endif
-ASRCS = $(NXGLIB_ASRCS) $(NXBE_ASRCS) $(NX_ASRCS)
+include nxtk/Make.defs
+DEPPATH += --dep-path nxtk
+CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh "$(CC)" $(TOPDIR)/graphics/nxtk}
+
+ASRCS = $(NXGLIB_ASRCS) $(NXBE_ASRCS) $(NX_ASRCS) $(NXTK_ASRCS)
AOBJS = $(ASRCS:.S=$(OBJEXT))
-CSRCS = $(NXGLIB_CSRCS) $(NXBE_CSRCS) $(NX_CSRCS)
+CSRCS = $(NXGLIB_CSRCS) $(NXBE_CSRCS) $(NX_CSRCS) $(NXTK_CSRCS)
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
@@ -68,9 +72,9 @@ OBJS = $(AOBJS) $(COBJS)
BIN = libgraphics$(LIBEXT)
ifeq ($(CONFIG_NX_MULTIUSER),y)
-VPATH = nxglib:nxbe:nxmu
+VPATH = nxglib:nxbe:nxmu:nxtk
else
-VPATH = nxglib:nxbe:nxsu
+VPATH = nxglib:nxbe:nxsu:nxtk
endif
all: mklibgraphics