#$Id: Make1,v 26.11 2006/12/31 23:11:47 al Exp $ -*- Makefile -*- # # Copyright (C) 2001 Albert Davis # Author: Albert Davis # # This file is part of "GnuCap", the Gnu Circuit Analysis Package # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. #------------------------------------------------------------------------ TARGET = gnucap-modelgen #------------------------------------------------------------------------ DELETED = mg_in_old.cc mg_in_verilog.cc #------------------------------------------------------------------------ #------------------------------------------------------------------------ RAW_SRCS = \ mg_main.cc mg_error.cc mg_in.cc mg_out_h.cc mg_out_dump.cc \ mg_out_common.cc mg_out_dev.cc mg_out_lib.cc mg_out_model.cc mg_out_root.cc #------------------------------------------------------------------------ RAW_HDRS = mg_.h mg_out.h #------------------------------------------------------------------------ RAW_OTHER = \ configure.old Make1 \ Makefile.am #------------------------------------------------------------------------ RAW = $(RAW_HDRS) $(RAW_SRCS) $(RAW_OTHER) #------------------------------------------------------------------------ #------------------------------------------------------------------------ IMPORTED_SRCS = ap_construct.cc ap_convert.cc ap_get.cc ap_match.cc ap_skip.cc IMPORTED_HDRS = ap.h io_.h io_error.h io_trace.h l_lib.h md.h patchlev.h IMPORTED_OTHER = Makefile.in \ Make2.g++ Make2.Debug Make2.mingw32 Make3 Makefile.template IMPORTED = $(IMPORTED_SRCS) $(IMPORTED_HDRS) $(IMPORTED_OTHER) #------------------------------------------------------------------------ #------------------------------------------------------------------------ GENERATED_SRCS = GENERATED_HDRS = GENERATED_OTHER = Make.aux GENERATED = $(GENERATED_HDRS) $(GENERATED_SRCS) $(GENERATED_OTHER) #------------------------------------------------------------------------ #------------------------------------------------------------------------ GENERATED_DIST = Make.depend IMPORTED_DIST = $(IMPORTED) DISTFILES = $(RAW) $(GENERATED_DIST) $(IMPORTED_DIST) #------------------------------------------------------------------------ #------------------------------------------------------------------------ SRCS = $(RAW_SRCS) $(GENERATED_SRCS) $(IMPORTED_SRCS) HDRS = $(RAW_HDRS) $(GENERATED_HDRS) $(IMPORTED_HDRS) OBJS = ${SRCS:.cc=.o} TARGET_DEPENDS = $(OBJS) $(RAW) #------------------------------------------------------------------------ #------------------------------------------------------------------------ MOSTLYCLEANFILES = $(OBJS) $(GENERATED) CLEANFILES = $(MOSTLYCLEANFILES) DISTCLEANFILES = $(CLEANFILES) MAINTAINERCLEANFILES = $(DISTCLEANFILES) #------------------------------------------------------------------------ #------------------------------------------------------------------------