1*4882a593Smuzhiyun# PTP 1588 clock support - User space test program 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# Copyright (C) 2010 OMICRON electronics GmbH 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun# This program is free software; you can redistribute it and/or modify 6*4882a593Smuzhiyun# it under the terms of the GNU General Public License as published by 7*4882a593Smuzhiyun# the Free Software Foundation; either version 2 of the License, or 8*4882a593Smuzhiyun# (at your option) any later version. 9*4882a593Smuzhiyun# 10*4882a593Smuzhiyun# This program is distributed in the hope that it will be useful, 11*4882a593Smuzhiyun# but WITHOUT ANY WARRANTY; without even the implied warranty of 12*4882a593Smuzhiyun# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*4882a593Smuzhiyun# GNU General Public License for more details. 14*4882a593Smuzhiyun# 15*4882a593Smuzhiyun# You should have received a copy of the GNU General Public License 16*4882a593Smuzhiyun# along with this program; if not, write to the Free Software 17*4882a593Smuzhiyun# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunCC = $(CROSS_COMPILE)gcc 20*4882a593SmuzhiyunINC = -I$(KBUILD_OUTPUT)/usr/include 21*4882a593SmuzhiyunCFLAGS = -Wall $(INC) 22*4882a593SmuzhiyunLDLIBS = -lrt 23*4882a593SmuzhiyunPROGS = testptp 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunall: $(PROGS) 26*4882a593Smuzhiyun 27*4882a593Smuzhiyuntestptp: testptp.o 28*4882a593Smuzhiyun 29*4882a593Smuzhiyunclean: 30*4882a593Smuzhiyun rm -f testptp.o 31*4882a593Smuzhiyun 32*4882a593Smuzhiyundistclean: clean 33*4882a593Smuzhiyun rm -f $(PROGS) 34