54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
#*************************************************************************
|
|
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
|
# National Laboratory.
|
|
# Copyright (c) 2002 The Regents of the University of California, as
|
|
# Operator of Los Alamos National Laboratory.
|
|
# EPICS BASE Versions 3.13.7
|
|
# and higher are distributed subject to a Software License Agreement found
|
|
# in file LICENSE that is included with this distribution.
|
|
#*************************************************************************
|
|
TOP=../..
|
|
include $(TOP)/configure/CONFIG
|
|
|
|
INC += asLib.h
|
|
INC += asDbLib.h
|
|
INC += asCa.h
|
|
INC += asTrapWrite.h
|
|
|
|
LIB_SRCS += asLib.c
|
|
LIB_SRCS += asTrapWrite.c
|
|
|
|
asIoc_SRCS += asDbLib.c
|
|
asIoc_SRCS += asCa.c
|
|
asIoc_SRCS += asTrapWrite.c
|
|
|
|
LIBRARY_HOST = asHost
|
|
LIBRARY_IOC = asIoc
|
|
|
|
asHost_LIBS = dbStaticHost ca Com
|
|
asIoc_LIBS = dbIoc dbStaticIoc ca Com
|
|
|
|
asHost_RCS_WIN32 = asHost.rc
|
|
asIoc_RCS_WIN32 = asIoc.rc
|
|
|
|
PROD_HOST = ascheck
|
|
ascheck_SRCS = ascheck.c
|
|
PROD_LIBS = asHost dbStaticHost Com
|
|
|
|
# For R3.13 compatibility only
|
|
OBJLIB_vxWorks=asIoc
|
|
OBJLIB_SRCS += $(LIB_SRCS) $(asIoc_SRCS)
|
|
|
|
include $(TOP)/configure/RULES
|
|
|
|
# Extra rule since asLib_lex.c is included in asLib.c
|
|
# In my opinion, these objects should really be built
|
|
# independently.
|
|
asLib.c: asLib_lex.c ../asLibRoutines.c
|
|
|
|
$(INSTALL_INC)/asLib.h:../asLib.h
|
|
|
|
clean::
|
|
@$(RM) asLib.c asLib_lex.c
|
|
|