mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-07 13:41:32 +00:00
ea3895805b
That which isn't rewritten is horribly broken. However, this does include a nice mechanism for building QC structs for emitting data. emit.c has been gutted in the spirit of "throw one away". There is much work to be done to get even variables emitted, let alone code. Things should be a little more fun from here on.
76 lines
2 KiB
Makefile
76 lines
2 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
#
|
|
# Makefile.am
|
|
#
|
|
# Automake-using build system for QuakeForge
|
|
#
|
|
# Copyright (C) 2000 Jeff Teunissen <deek@quakeforge.net>
|
|
#
|
|
# This Makefile 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
|
|
# of the License, 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:
|
|
#
|
|
# Free Software Foundation, Inc.
|
|
# 59 Temple Place - Suite 330
|
|
# Boston, MA 02111-1307, USA
|
|
#
|
|
# $Id$
|
|
#
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
QFCC_LIBS=@QFCC_LIBS@
|
|
QFCC_DEPS=@QFCC_DEPS@
|
|
QFCC_INCS=@QFCC_INCS@
|
|
|
|
INCLUDES= -I$(top_srcdir)/include $(QFCC_INCS)
|
|
YFLAGS = -v -d
|
|
|
|
if BUILD_QFCC
|
|
qfcc=qfcc
|
|
qfpc=qfpc
|
|
qfpreqcc=qfpreqcc
|
|
qfprogs=qfprogs
|
|
else
|
|
qfcc=
|
|
qfpc=
|
|
qfpreqcc=
|
|
qfprogs=
|
|
endif
|
|
|
|
bin_PROGRAMS= $(qfcc) $(qfpc) $(qfprogs)
|
|
bin_SCRIPTS= $(qfpreqcc)
|
|
EXTRA_PROGRAMS= qfcc qfpc qfprogs
|
|
|
|
common_src=\
|
|
class.c codespace.c constfold.c cpp.c debug.c def.c defspace.c emit.c \
|
|
expr.c function.c grab.c idstuff.c immediate.c linker.c method.c \
|
|
obj_file.c opcodes.c options.c qfcc.c reloc.c strpool.c struct.c switch.c \
|
|
symtab.c type.c
|
|
|
|
qfcc_SOURCES= qc-lex.l qc-parse.y $(common_src)
|
|
qfcc_LDADD= $(QFCC_LIBS)
|
|
qfcc_DEPENDENCIES= $(QFCC_DEPS)
|
|
|
|
qfpc_SOURCES= qp-lex.l qp-parse.y $(common_src)
|
|
qfpc_LDADD= $(QFCC_LIBS)
|
|
qfpc_DEPENDENCIES= $(QFCC_DEPS)
|
|
|
|
qfprogs_SOURCES= \
|
|
disassemble.c globals.c lines.c modules.c obj_file.c stub.c qfprogs.c strings.c
|
|
qfprogs_LDADD= $(QFCC_LIBS)
|
|
qfprogs_DEPENDENCIES= $(QFCC_DEPS)
|
|
|
|
BUILT_SOURCES=qc-parse.c qc-parse.h qc-lex.c qp-parse.c qp-parse.h qp-lex.c
|
|
|
|
EXTRA_DIST=qc-lex.c qc-parse.c qc-parse.h qfpreqcc \
|
|
qp-parse.c qp-parse.h qp-lex.c
|