For now keep both makeBaseApp and makeBaseApp.pl; Make compatible
This commit is contained in:
@@ -51,7 +51,7 @@ if [ ! -f Makefile ]; then
|
||||
cat > Makefile <<-\END
|
||||
TOP = .
|
||||
include $(TOP)/config/CONFIG_APP
|
||||
DIRS += $(wildcard *App*)
|
||||
DIRS += $(wildcard *App)
|
||||
DIRS += iocBoot
|
||||
include $(TOP)/config/RULES_TOP
|
||||
END
|
||||
@@ -63,7 +63,6 @@ if [ ! -d config ]; then
|
||||
#CONFIG
|
||||
# Add any changes to make rules here
|
||||
#CROSS_COMPILER_TARGET_ARCHS = mv167
|
||||
VX_WARN_YES = -Wall -pedantic
|
||||
END
|
||||
cat > config/CONFIG_APP <<-\END
|
||||
#CONFIG_APP DO NOT EDIT THIS FILE
|
||||
@@ -256,6 +255,10 @@ do
|
||||
END
|
||||
fi
|
||||
cat >> src/Makefile.Vx <<-\END
|
||||
|
||||
#Note that the command line that builds the
|
||||
#library $(LIBNAME) may be HUGE (>3kB)
|
||||
#
|
||||
include $(TOP)/config/RULES.Vx
|
||||
#----------------------------------------
|
||||
# ADD RULES AFTER THIS LINE
|
||||
@@ -270,7 +273,7 @@ do
|
||||
|
||||
#USR_CFLAGS +=
|
||||
PROD_LIBS_DEFAULT += m
|
||||
PROD_LIBS_WIN32 += -nil-
|
||||
PROD_LIBS_WIN32 := -nil-
|
||||
PROD_LIBS += ca
|
||||
PROD_LIBS += Db
|
||||
PROD_LIBS += Com
|
||||
@@ -323,7 +326,7 @@ do
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cadef.h>
|
||||
#include "cadef.h"
|
||||
|
||||
main(int argc,char **argv)
|
||||
{
|
||||
@@ -346,7 +349,7 @@ do
|
||||
END
|
||||
#if source starts with blank tab replace by tab
|
||||
sed -e "s/ / /" > src/xxxRecord.c <<-\END
|
||||
/* recXxx.c */
|
||||
/* xxxRecord.c */
|
||||
/* Example record support module */
|
||||
|
||||
#include <vxWorks.h>
|
||||
|
||||
Reference in New Issue
Block a user