Merge branch 'master' of https://github.com/kmcdonell/pcp into kenj-merge
[pcp.git] / src / win32ctl / GNUmakefile
blob6ae72233072572db14d735527d59bd9d04239faf
2 # Copyright (c) 2008-2011 Aconex. All Rights Reserved.
3 #
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License as published by the
6 # Free Software Foundation; either version 2 of the License, or (at your
7 # option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # for more details.
15 TOPDIR = ../..
16 include $(TOPDIR)/src/include/builddefs
18 SUBDIRS = include lib \
19 eventlog services setevent
20 BATCHES = pcp.bat pmafm.bat mkaf.bat pmsignal.bat
21 LSRCFILES = $(BATCHES)
23 default :: default_pcp
25 default_pcp : $(SUBDIRS)
26 $(SUBDIRS_MAKERULE)
28 install :: default_pcp install_pcp
30 install_pcp : $(SUBDIRS)
31 $(SUBDIRS_MAKERULE)
32 ifeq "$(TARGET_OS)" "mingw"
33 $(INSTALL) -m 755 $(BATCHES) $(PCP_BIN_DIR)
34 endif
36 include $(BUILDRULES)