You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
## Process this file with automake to produce Makefile.in
|
|
|
|
BUILT_SOURCES = ifs_yacc.h mod_yacc.h
|
|
|
|
EXTRA_DIST = .gitignore
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
bin_PROGRAMS = cmpp
|
|
|
|
AM_CPPFLAGS = -I. -I$(srcdir)
|
|
AM_YFLAGS = -d
|
|
|
|
cmpp_SOURCES = main.c cmpp.h \
|
|
pp_ifs.c pp_lst.c pp_mod.c read_ifs.c writ_ifs.c util.c \
|
|
ifs_lex.l ifs_yacc.y ifs_yacc_y.h \
|
|
mod_lex.l mod_yacc.y mod_yacc_y.h
|
|
|
|
mod_lex.c : mod_lex.l
|
|
$(am__skiplex) $(LEXCOMPILE) -o $@ $<
|
|
|
|
mod_yacc.c : mod_yacc.y
|
|
$(am__skipyacc) $(YACCCOMPILE) -o $@ $<
|
|
|
|
ifs_lex.c : ifs_lex.l
|
|
$(am__skiplex) $(LEXCOMPILE) -o $@ $<
|
|
|
|
ifs_yacc.c : ifs_yacc.y
|
|
$(am__skipyacc) $(YACCCOMPILE) -o $@ $<
|
|
|
|
|
|
if CROSS_COMPILING
|
|
|
|
BUILT_SOURCES += build/cmpp$(BUILD_EXEEXT)
|
|
CLEANFILES = build/cmpp$(BUILD_EXEEXT)
|
|
|
|
BUILD_CMPP_FILES = main.c \
|
|
pp_ifs.c pp_lst.c pp_mod.c read_ifs.c writ_ifs.c util.c \
|
|
ifs_lex.c ifs_yacc.c \
|
|
mod_lex.c mod_yacc.c
|
|
|
|
build/cmpp$(BUILD_EXEEXT) : $(BUILD_CMPP_FILES)
|
|
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) \
|
|
$(AM_CPPFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ $^
|
|
|
|
distclean-local:
|
|
-rm -rf build
|
|
|
|
endif
|