## # Author: Bill Brown # Date: as noted in change history # # Copyright 1992, 1993, the Regents of the University of California. # # This software was produced under U.S. Government contract: # (DE-AC03-76SF00098) at the Lawrence Berkeley Laboratory. # # ## # $Header: Makefile,v 1.4 93/05/06 13:08:00 wbrown Exp $ (LBL) # # $Log: Makefile,v $ # Revision 1.4 93/05/06 13:08:00 wbrown # added copyright notice # # Revision 1.3 92/07/09 14:06:45 wbrown # Moved to new environment # added call to sysIntEnable() # renamed probe # tested on mv167 # # Revision 1.2 92/01/15 09:51:15 wbrown # twidged various things to compile in new ($aip_3) # environment # # Revision 3.0 91/12/19 16:19:49 bordua # Baseline for new project. # # Revision 3.0 91/12/19 16:18:47 bordua # Baseline for new project. # # Revision 1.2 91/03/14 09:08:46 shalz # Correct misspelling. # # Revision 1.1 91/03/14 09:06:23 shalz # Initial revision # # Revision 1.10 90/10/01 09:56:16 shalz # Made from Makefile in pdm_lib. # # Revision 1.9 90/03/16 10:51:11 lewis # Use uncflags. Remove VX_INCLUDE. # # Revision 1.8 90/02/23 13:40:43 jimmy # more modular version of Makefile.. does not allow unix targets. # uses makefile includes and $OS_VERS. # # TOP = ../.. include $(TOP)/makes/os_mach.mk include $(TOP)/makes/gccflags.mk # # Main flags # TARG_PREFIX = vmeIOScannerLib FFLAGS = $(FF) OFLAGS = -O INCLUDE = $(TOP)/include LOCAL = . include $(TOP)/makes/vxcflags.mk # # Source objects # OTHER_HDRS = LOCAL_HDRS = $(INCLUDE)/$(TARG_PREFIX).h $(INCLUDE)/$(TARG_PREFIX)Probe.h HDRS = $(LOCAL_HDRS) $(OTHER_HDRS) SRCS = $(TARG_PREFIX).c $(TARG_PREFIX)Probe.h # # Intermediate objects # OBJECTS = $(TARG_PREFIX).$(BS-V) $(TARG_PREFIX)Probe.$(BS-V) # # Targets # TARGET = $(TARG_PREFIX).$(LS-V) $(TARG_PREFIX)Probe.$(LS-V) all : ${TARGET} # # Dependencies # $(OBJECTS) : ${SRCS} ${HDRS} $(OBJECTS) : Makefile # # specific procedures # # vxworks targets only.. allow no unix targets install: ${DL-V}/$(TARG_PREFIX).$(LS-V) ${DL-V}/$(TARG_PREFIX).vx : $(TARGET) rm -f ${DL-V}/$(TARG_PREFIX).vx cp $(TARGET) ${DL-V}/$(TARG_PREFIX).vx clean : rm -f $(OBJECTS) ${TARGET} rm -f core rm -rf .sb list: lpr Makefile; igrind ${LOCAL_HDRS} ${SRCS} tags : *.c ctags *.c include $(TOP)/makes/lib_rules.mk # # End #