~ubuntu-branches/ubuntu/vivid/inform/vivid

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-05-26 22:09:44 UTC
  • mfrom: (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526220944-ba7phz0d1k4vo7wx
Tags: 6.31.1+dfsg-1
* Remove a considerable number of files from the package
  due to unacceptable licensing terms.
* Repair library symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Automake template for Inform program.
2
 
 
3
 
bin_PROGRAMS = inform
4
 
 
5
 
SRCS = arrays.c asm.c bpatch.c chars.c directs.c errors.c expressc.c     \
6
 
expressp.c files.c inform.c lexer.c linker.c memory.c objects.c states.c \
7
 
symbols.c syntax.c tables.c text.c veneer.c verbs.c
8
 
 
9
 
HDRS = header.h
10
 
 
11
 
INCPATH = ,$(DESTDIR)$(localincdir),$(DESTDIR)$(localmoddir),$(DESTDIR)$(includedir),$(DESTDIR)$(moduledir)
12
 
MODPATH = ,$(DESTDIR)$(localmoddir),$(DESTDIR)$(moduledir)
13
 
 
14
 
INCLUDES = -D$(HOST) -DModule_Directory=\"$(MODPATH)\" \
15
 
-DInclude_Directory=\"$(INCPATH)\"
16
 
 
17
 
inform_SOURCES = $(SRCS) $(HDRS)
18
 
 
19
 
install-exec-hook:
20
 
if CYGWIN
21
 
#       Don't bother keeping old versions under Cygwin.
22
 
else
23
 
        mv $(DESTDIR)$(bindir)/inform $(DESTDIR)$(bindir)/inform-$(INFORM_VERSION)
24
 
        $(LN_S) $(DESTDIR)$(bindir)/inform-$(INFORM_VERSION) $(DESTDIR)$(bindir)/inform
25
 
endif
26
 
 
27
 
uninstall-hook:
28
 
if CYGWIN
29
 
#       Ditto.
30
 
else
31
 
        - chmod u+w $(DESTDIR)$(bindir)
32
 
        rm -f $(DESTDIR)$(bindir)/inform-$(INFORM_VERSION)
33
 
endif
34
 
 
35
 
@make_include@