diff options
| author | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-18 00:31:54 +0200 |
|---|---|---|
| committer | Xavier ASUS <xavi92psx@gmail.com> | 2019-10-18 00:31:54 +0200 |
| commit | 268a53de823a6750d6256ee1fb1e7707b4b45740 (patch) | |
| tree | 42c1799a9a82b2f7d9790ee9fe181d72a7274751 /sim/ucsim/cmd.src/Makefile.in | |
| download | sdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz | |
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'sim/ucsim/cmd.src/Makefile.in')
| -rw-r--r-- | sim/ucsim/cmd.src/Makefile.in | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/sim/ucsim/cmd.src/Makefile.in b/sim/ucsim/cmd.src/Makefile.in new file mode 100644 index 0000000..d1ff0a6 --- /dev/null +++ b/sim/ucsim/cmd.src/Makefile.in @@ -0,0 +1,137 @@ +# +# ucsim cmd.src/Makefile +# +# (c) Drotos Daniel, Talker Bt. 1997 +# + +STARTYEAR = 1997 + +SHELL = /bin/sh +CXX = @CXX@ +CPP = @CPP@ +CXXCPP = @CXXCPP@ +RANLIB = @RANLIB@ +INSTALL = @INSTALL@ +MAKEDEP = @MAKEDEP@ +AR = @AR@ + +LEX = @LEX@ +YACC = @YACC@ + +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@) +CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(top_srcdir) -I$(top_builddir) \ + -I$(top_srcdir)/sim.src -I$(top_srcdir)/gui.src +CFLAGS = @CFLAGS@ @WALL_FLAG@ +CXXFLAGS = @CXXFLAGS@ @WALL_FLAG@ +WINSOCK_AVAIL = @WINSOCK_AVAIL@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +bindir = @bindir@ +libdir = @libdir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +includedir = @includedir@ +mandir = @mandir@ +man1dir = $(mandir)/man1 +man2dir = $(mandir)/man2 +infodir = @infodir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +OBJECTS = command.o cmdutil.o syntax.o newcmd.o newcmdposix.o\ + cmd_exec.o cmd_get.o cmd_set.o cmd_timer.o cmd_bp.o \ + cmd_info.o cmd_show.o cmd_gui.o \ + cmd_conf.o cmd_uc.o cmd_stat.o cmd_mem.o + +#ifeq ($(WINSOCK_AVAIL), 1) +#OBJECTS += newcmdwin32.o +#else +#OBJECTS += newcmdposix.o +#endif + +LOCAL_OBJECTS = cmdpars.o cmdlex.o + +SOURCES = $(addprefix $(srcdir)/, $(OBJECTS:.o=.cc)) +LOCAL_SOURCES = $(LOCAL_OBJECTS:.o=.cc) + +# Compiling entire program or any subproject +# ------------------------------------------ +all: checkconf cmdlib + +cmd.src: all + + +# Compiling and installing everything and runing test +# --------------------------------------------------- +install: all installdirs + + +# Deleting all the installed files +# -------------------------------- +uninstall: + + +# Performing self-test +# -------------------- +check: + +test: + + +# Performing installation test +# ---------------------------- +installcheck: + + +# Creating installation directories +# --------------------------------- +installdirs: + + +# Creating dependencies +# --------------------- +dep: $(LOCAL_SOURCES) Makefile.dep + +Makefile.dep: $(SOURCES) $(LOCAL_SOURCES) $(srcdir)/*.h cmdpars.hh cmdpars.cc + $(MAKEDEP) $(CPPFLAGS) $(SOURCES) $(LOCAL_SOURCES) >Makefile.dep + +-include Makefile.dep +include $(srcdir)/clean.mk + +cmdlex.cc: cmdlex.l cmdpars.hh + +# My rules +# -------- + +cmdlib: $(top_builddir)/libcmd.a + +$(top_builddir)/libcmd.a: $(OBJECTS) $(LOCAL_OBJECTS) + $(AR) -rc $@ $(OBJECTS) $(LOCAL_OBJECTS) + $(RANLIB) $@ + +.cc.o: + $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@ + +cmdpars.hh: cmdpars.cc + +cmdpars.cc: cmdpars.y + $(YACC) -d $< + mv y.tab.c $*.cc + mv y.tab.h $*.hh + +.l.cc: + rm -f $@ + $(LEX) -t $< > $@ + +# Remaking configuration +# ---------------------- +checkconf: + @if [ -f $(top_builddir)/devel ]; then\ + $(MAKE) -C $(top_builddir) -f conf.mk srcdir="$(srcdir)" top_builddir="$(top_builddir)" freshconf;\ + fi + +# End of cmd.src/Makefile.in |
