]> cygwin.com Git - cygwin-apps/cygutils.git/blob - Makefile.am
Remove programs now provided by util-linux
[cygwin-apps/cygutils.git] / Makefile.am
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = subdir-objects
4
5 SUBDIRS = po
6 DIST_SUBDIRS =
7
8 INCLUDES = -I$(top_builddir) -I$(top_srcdir)
9
10 if WITH_WINDOWS_PROGRAMS
11 windows_progs = src/banner/banner src/clip/getclip src/clip/putclip \
12 src/cygstart/cygstart src/lpr/lpr src/mkshortcut/mkshortcut \
13 src/readshortcut/readshortcut
14 endif
15
16 if WITH_NATIVE_IPC_PROGRAMS
17 ipc_progs = src/ipc/semtool src/ipc/shmtool \
18 src/ipc/msgtool src/ipc/semstat
19 ipc_scripts = src/ipc/ipck
20 endif
21
22 bin_PROGRAMS = src/ascii/ascii $(windows_progs) src/conv/conv \
23 src/dump/dump $(ipc_progs) \
24 src/realpath/realpath
25
26 bin_SCRIPTS = $(ipc_scripts)
27
28 noinst_HEADERS = \
29 src/lpr/Printer.hh src/lpr/PrinterException.hh src/lpr/Win32Utils.hh
30
31 man_MANS = src/cygstart/cygstart.1 \
32 src/mkshortcut/mkshortcut.1 \
33 src/readshortcut/readshortcut.1 \
34 src/lpr/lpr.1
35
36 EXTRA_PROGRAMS = src/banner/banner src/clip/getclip src/clip/putclip \
37 src/cygstart/cygstart \
38 src/ipc/semtool src/ipc/shmtool \
39 src/ipc/msgtool src/ipc/semstat \
40 src/lpr/lpr src/mkshortcut/mkshortcut src/readshortcut/readshortcut
41
42 EXTRA_SCRIPTS = src/ipc/ipck
43
44 po_files = \
45 po/ChangeLog po/LINGUAS po/Makefile.in.in po/Makevars po/POTFILES.in \
46 po/Rules-quot po/boldquot.sed po/en@boldquot.header po/en@quot.header \
47 po/insert-header.sin po/quot.sed po/remove-potcdate.sin
48
49 extra_docs = \
50 src/lpr/README
51
52 licenses = licenses/COPYING.BSD-no-advert licenses/COPYING.GPL
53
54 EXTRA_DIST = config.rpath PROGLIST bootstrap common.h \
55 HOW-TO-CONTRIBUTE BRANCHES $(man_MANS) $(EXTRA_SCRIPTS) \
56 $(licenses) $(po_files) $(extra_docs)
57
58 src_banner_banner_LDADD = -lkernel32 -lgdi32
59 src_lpr_lpr_LDADD = -lwinspool
60 src_mkshortcut_mkshortcut_LDADD = -lole32 -luuid
61 src_readshortcut_readshortcut_LDADD = -lole32 -luuid
62
63 src_lpr_lpr_SOURCES = src/lpr/Printer.cc src/lpr/Win32Utils.cc src/lpr/lpr.cc src/lpr/Printer.hh src/lpr/PrinterException.hh src/lpr/Win32Utils.hh
64
65 install-exec-hook: $(bin_PROGRAMS)
66 @$(NORMAL_INSTALL)
67 $(mkinstalldirs) $(DESTDIR)$(bindir)
68 @for p in d2u u2d dos2unix unix2dos; do \
69 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
70 f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
71 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) src/conv/conv${EXEEXT} $(DESTDIR)$(bindir)/$$f"; \
72 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) src/conv/conv${EXEEXT} $(DESTDIR)$(bindir)/$$f; \
73 done
74
This page took 0.038927 seconds and 5 git commands to generate.