~ubuntu-branches/ubuntu/edgy/mcpp/edgy

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2004-10-23 23:18:57 UTC
  • Revision ID: james.westby@ubuntu.com-20041023231857-93z8ff2dgp7m7dpy
Tags: upstream-2.4.1
ImportĀ upstreamĀ versionĀ 2.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
##AUTOMAKE_OPTIONS = no-dependencies
 
4
 
 
5
bin_PROGRAMS = cpp_std cpp_poststd
 
6
libexec_PROGRAMS = cpp_std cpp_poststd
 
7
cpp_std_SOURCES = system.H configed.H internal.H main.c control.c eval.c expand.c support.c system.c mbchar.c lib.c
 
8
cpp_poststd_SOURCES = $(cpp_std_SOURCES)
 
9
cpp_poststd_CPPFLAGS = -DMODE=POST_STANDARD
 
10
 
 
11
if MAINTAINER_MODE
 
12
 
 
13
bin_PROGRAMS += cpp_prestd cpp_old
 
14
libexec_PROGRAMS += cpp_prestd cpp_old
 
15
cpp_prestd_SOURCES = $(cpp_std_SOURCES)
 
16
cpp_old_SOURCES = $(cpp_std_SOURCES)
 
17
cpp_prestd_CPPFLAGS = -DMODE=PRE_STANDARD
 
18
cpp_old_CPPFLAGS = -DMODE=PRE_STANDARD -DOLD_PREPROCESSOR
 
19
install-exec-hook:
 
20
        @if test x"$(CC)" = x"gcc"; then \
 
21
        ./set_mcpp.sh '$(gcc_path)' $(gcc_maj_ver) '$(cpp_call)' '$(CXX)' 'x$(EXEEXT)' '$(LN_S)'; \
 
22
    fi
 
23
uninstall-hook:
 
24
        @if test x"$(CC)" = x"gcc"; then \
 
25
        ./unset_mcpp.sh '$(gcc_path)' $(gcc_maj_ver) '$(cpp_call)' '$(CXX)' 'x$(EXEEXT)'; \
 
26
    fi
 
27
 
 
28
else
 
29
 
 
30
install-exec-hook:
 
31
uninstall-hook:
 
32
 
 
33
endif
 
34