Initial release of the VFD code
[de200vfd.git] / Makefile
blobb98a88e203b6231871365c717f34660d8fd2cba7
1 #******************************************************************************
2 # Makefile (C) 1992-2003 Christophe de Dinechin (ddd)
3 # VFD800 project
4 #******************************************************************************
6 # File Description:
8 # Top level makefile for the VFD server
17 #******************************************************************************
18 #This document is confidential.
19 #Do not redistribute without written permission
20 #******************************************************************************
21 #* File : $RCSFile$
22 #* Revision : $Revision$
23 #* Date : $Date$
24 #******************************************************************************
26 SUBDIRS=test showkeys server clients
28 include $(BROOT)Makefile.config
30 PREFIX=/usr/local
31 INSTALL=/usr/bin/install
33 SERVER_BIN= vfdserver
34 CLIENT_BIN= vfdbrightness \
35 vfdload vfdclock \
36 vfddisplay vfdticker vfdalert \
37 vfdslashdot vfdweather
39 install: $(SERVER_BIN:%=%.sbin-install) \
40 $(CLIENT_BIN:%=%.bin-install) \
41 $(INSTALL) etc/vfd.conf /etc/vfd.conf
42 $(INSTALL) etc/init.d/de200vfd /etc/init.d/de200vfd
44 %.sbin-install:
45 $(INSTALL) -c server/$* $(PREFIX)/sbin/$*
46 %.bin-install:
47 $(INSTALL) -c clients/$* $(PREFIX)/bin/$*