#############################################################################
# Makefile for building: libqnp.a
# Generated by qmake (1.07a) (Qt 3.3.3) on: Mon Oct 23 19:20:29 2006
# Project:  qnp.pro
# Template: lib
# Command: $(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile qnp.pro
#############################################################################

####### Compiler, tools and options

CC       = gcc
CXX      = g++
LEX      = flex
YACC     = yacc
CFLAGS   = -pipe -fno-exceptions -Wall -W -O2 -march=i486 -mcpu=i686 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
CXXFLAGS = -pipe -fno-exceptions -Wall -W -O2 -march=i486 -mcpu=i686 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
LEXFLAGS = 
YACCFLAGS= -d
INCPATH  = -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../../../include -I/usr/X11R6/include -I/usr/X11R6/include -I./
AR       = ar cqs
RANLIB   = 
MOC      = /usr/lib/qt/bin/moc
UIC      = /usr/lib/qt/bin/uic -L /usr/lib/qt/plugins
QMAKE    = /usr/lib/qt/bin/qmake
TAR      = tar -cf
GZIP     = gzip -9f
COPY     = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK  = ln -sf
DEL_DIR  = rmdir
MOVE     = mv -f
CHK_DIR_EXISTS= test -d
MKDIR    = mkdir -p

####### Output directory

OBJECTS_DIR = .obj/release-shared-mt/

####### Files

HEADERS = qnp.h
SOURCES = qnp.cpp
OBJECTS = .obj/release-shared-mt/qnp.o
FORMS = 
UICDECLS = 
UICIMPLS = 
SRCMOC   = moc_qnp.cpp
OBJMOC = .obj/release-shared-mt/moc_qnp.o
DIST	   = qnp.pro
QMAKE_TARGET = qnp
DESTDIR  = ../../../lib/
TARGET   = libqnp.a

first: all
####### Implicit rules

.SUFFIXES: .c .o .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<

####### Build rules

all: Makefile ../../../lib/libqnp.prl ../../../lib/$(TARGET) 

staticlib: ../../../lib/$(TARGET)

../../../lib/$(TARGET):  $(UICDECLS) $(OBJECTS) $(OBJMOC) $(OBJCOMP) 
	test -d ../../../lib/ || mkdir -p ../../../lib/
	-$(DEL_FILE) $(TARGET)
	$(AR) $(TARGET) $(OBJECTS) $(OBJMOC)
	-$(DEL_FILE) ../../../lib/$(TARGET)
	-$(MOVE) $(TARGET) ../../../lib/


mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)

$(MOC): 
	( cd /usr/lib/qt/src/moc && $(MAKE) )

../../../lib/libqnp.prl: 
	@$(QMAKE) -prl  -spec /usr/lib/qt/mkspecs/linux-g++ qnp.pro
Makefile: qnp.pro ../../../.qmake.cache /usr/lib/qt/mkspecs/linux-g++/qmake.conf ../../../lib/libqt-mt.prl
	$(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile qnp.pro
qmake: 
	@$(QMAKE) -spec /usr/lib/qt/mkspecs/linux-g++ -o Makefile qnp.pro

dist: 
	@mkdir -p .obj/release-shared-mt/qnp && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release-shared-mt/qnp/ && ( cd `dirname .obj/release-shared-mt/qnp` && $(TAR) qnp.tar qnp && $(GZIP) qnp.tar ) && $(MOVE) `dirname .obj/release-shared-mt/qnp`/qnp.tar.gz . && $(DEL_FILE) -r .obj/release-shared-mt/qnp

mocclean:
	-$(DEL_FILE) $(OBJMOC)
	-$(DEL_FILE) $(SRCMOC)

uiclean:

yaccclean:
lexclean:
clean: mocclean
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) ../../../lib/$(TARGET) $(TARGET)


FORCE:

####### Compile

.obj/release-shared-mt/qnp.o: qnp.cpp qnp.h \
		npapi.h \
		npunix.c \
		npwin.cpp
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/qnp.o qnp.cpp

.obj/release-shared-mt/moc_qnp.o: moc_qnp.cpp  qnp.h 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt/moc_qnp.o moc_qnp.cpp

moc_qnp.cpp: $(MOC) qnp.h
	$(MOC) qnp.h -o moc_qnp.cpp

####### Install

install:  

uninstall:  

