1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
# This file is part of wmaloader.*
# Copyright 2004 Andrew Wild */
# wmaloader is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. */
# wmaloader is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. */
# You should have received a copy of the GNU General Public License
# along with wmaloader; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Where to install binary
DEST=/usr/sbin
# Path to uPnP include files
UPNP_INC=/usr/include/upnp
# Path to uPnP libraries
UPNP_LIBS=/usr/lib
CC=gcc
LDFLAGS=-lixml -lupnp -lthreadutil -L$(UPNP_LIBS)
CFLAGS=-Wall -O2 -I$(UPNP_INC) $(LIBS) -D_REENTRANT
TARGET=wmaloader
OBJS=wmaloader.o image_transfer.o common.o
# Files in distribution archive
DIST_FILES=Makefile *.c *.h COPYING README CHANGELOG
DIST=wmaloader-0.1
all: $(TARGET)
$(TARGET) : wmaloader.o image_transfer.o common.o
clean :
rm -f $(TARGET) *.o
install : $(TARGET)
cp -f $(TARGET) $(DEST)
uninstall :
rm -f $(DEST)/$(TARGET)
dist : clean
rm -rf $(DIST)
mkdir $(DIST)
cp $(DIST_FILES) $(DIST)
tar -zc -f $(DIST).tar.gz $(DIST)
|