|
|
@ -1,5 +1,5 @@ |
|
|
|
#*********************************************************************************************************
|
|
|
|
# VxWorks Makefile
|
|
|
|
# libVxWorks Makefile
|
|
|
|
# target -> libVxWorks.a
|
|
|
|
# libVxWorks.so
|
|
|
|
#*********************************************************************************************************
|
|
|
@ -41,7 +41,7 @@ DEBUG_LEVEL = debug |
|
|
|
# buildin internal application source
|
|
|
|
#*********************************************************************************************************
|
|
|
|
#*********************************************************************************************************
|
|
|
|
# src(s) file
|
|
|
|
# libVxWorks src(s) file
|
|
|
|
#*********************************************************************************************************
|
|
|
|
SRCS = \
|
|
|
|
target/src/errnoLib.c \ |
|
|
@ -71,13 +71,13 @@ OBJPATH = $(OUTPATH)/obj |
|
|
|
DEPPATH = $(OUTPATH)/dep |
|
|
|
|
|
|
|
#*********************************************************************************************************
|
|
|
|
# target
|
|
|
|
# target
|
|
|
|
#*********************************************************************************************************
|
|
|
|
LIB = $(OUTPATH)/libVxWorks.a |
|
|
|
DLL = $(OUTPATH)/libVxWorks.so |
|
|
|
|
|
|
|
#*********************************************************************************************************
|
|
|
|
# lib objects
|
|
|
|
# libVxWorks objects
|
|
|
|
#*********************************************************************************************************
|
|
|
|
OBJS = $(addprefix $(OBJPATH)/, $(addsuffix .o, $(basename $(SRCS)))) |
|
|
|
DEPS = $(addprefix $(DEPPATH)/, $(addsuffix .d, $(basename $(SRCS)))) |
|
|
@ -217,13 +217,13 @@ $(OBJPATH)/%.o: %.cpp |
|
|
|
$(COMPILE.cxx) $< -o $@ |
|
|
|
|
|
|
|
#*********************************************************************************************************
|
|
|
|
# link libunqlite.a object files
|
|
|
|
# link libVxWorks.a object files
|
|
|
|
#*********************************************************************************************************
|
|
|
|
$(LIB): $(OBJS) |
|
|
|
$(AR) $(ARFLAGS) $(LIB) $(OBJS) |
|
|
|
|
|
|
|
#*********************************************************************************************************
|
|
|
|
# link libunqlite.so object files
|
|
|
|
# link libVxWorks.so object files
|
|
|
|
#*********************************************************************************************************
|
|
|
|
$(DLL): $(OBJS) |
|
|
|
$(LD) $(CPUFLAGS) -nostdlib -fPIC -shared -o $(DLL) $(OBJS) \
|
|
|
@ -241,7 +241,6 @@ $(DLL): $(OBJS) |
|
|
|
clean: |
|
|
|
-rm $(RM_PARAM) $(DLL) |
|
|
|
-rm $(RM_PARAM) $(LIB) |
|
|
|
-rm $(RM_PARAM) $(EXE) |
|
|
|
-rm $(RM_PARAM) $(OBJS) |
|
|
|
|
|
|
|
#*********************************************************************************************************
|
|
|
|