Diff for /abimoz/plugin/Makefile between versions 1.2 and 1.7

version 1.2, 2001/11/05 19:00:23 version 1.7, 2002/10/25 14:42:28
Line 1 Line 1
   #This file is part of AbiMoz.
   #
   #Makefile - To build the plugin
   #Copyright (C) 2001 OEone Corporation
   #
   #This program is free software; you can redistribute it and/or
   #modify it under the terms of the GNU Lesser General Public License
   #as published by the Free Software Foundation; either version 2
   #of the License, or (at your option) any later version.
   #
   #This program 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 Lesser General Public License for more details.
   #
   #You should have received a copy of the GNU Lesser General Public License
   #along with this program; if not, write to the Free Software
   #Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
   #
   #The author of this program can be contacted in writing at
   #OEone Corporation, 290 St-Joseph Blvd., Hull, QC J8Y 3Y3, CANADA.
   
 #  #
 # Generic XPCOM component makefile  # Generic XPCOM component makefile
 # Copyright OEone Corp.  # Copyright OEone Corp.
Line 48  CC = g++  Line 70  CC = g++ 
 SRC = .  SRC = .
   
 # set PACKAGE and VERSION for distrbution tarball  # set PACKAGE and VERSION for distrbution tarball
PACKAGE=moziwordPACKAGE=abimoz
 VERSION=0.1  VERSION=0.1
   
 # Distribution files  # Distribution files
 # Add any extra files to go in the tarball, by default .so, .idl, .xpt and Makefile are included.  # Add any extra files to go in the tarball, by default .so, .idl, .xpt and Makefile are included.
   
EXTRA_DISTFILES= nsWPPlugin_CID.h wpplugintst.html README wordp.js wordp.xul tst.png abiEXTRA_DISTFILES= wpplugintst.html README wordp.js wordp.xul tst.png abi
   
 # Path to your Mozilla installation  # Path to your Mozilla installation
 #  #
MOZZY = /usr/lib/oemozillaMOZZY = $(HOME)/mozilla.cvs/dist/bin
 # Path to your Mozilla header files  # Path to your Mozilla header files
 #  #
MOZZYDEV = /usr/include/mozillaMOZZYDEV = $(HOME)/mozilla.cvs/dist/include
   
 # Define the name for the final shared object file  # Define the name for the final shared object file
 #  #
Line 82  IDL_OUTPUT_BASENAME = nsWPPluginControl Line 104  IDL_OUTPUT_BASENAME = nsWPPluginControl
   
 # List the source files needed for building the component  # List the source files needed for building the component
 #  #
SOURCE_FILES = $(SRC)/nsWPPluginFactory.cpp $(SRC)/nsWPPlugin.cpp SOURCE_FILES = $(SRC)/nsWPPlugin.cpp $(SRC)/pnWPPluginScriptablePeer.cpp $(SRC)/npp_gate.cpp $(SRC)/npunix.c
HEADER_FILES = $(SRC)/nsWPPluginFactory.h $(SRC)/nsWPPlugin.hHEADER_FILES = $(SRC)/nsWPPlugin.h $(SRC)/pnWPPluginScriptablePeer.h
   
 # List any custom include paths here  # List any custom include paths here
 #  #
INCLUDES = -I./ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DPLUGIN_DEBUG INCLUDES = -I./ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -DPLUGIN_DEBUG
     
 #-I ./ -I/usr/include/gtk-1.2 -I/usr/include/libole2 -I/usr/local/include -fno-rtti  
   
 # List any custom libraries to be linked here  # List any custom libraries to be linked here
 #  #
 EXTRA_LIBS =  EXTRA_LIBS =
Line 99  EXTRA_LIBS =  Line 119  EXTRA_LIBS = 
   
 # Mozilla directories  # Mozilla directories
   
MOZINCLUDES = -I $(MOZZYDEV) -I $(MOZZYDEV)/nspr -I $(MOZZYDEV)/plugin -I $(MOZZYDEV)/xpcom -I $(MOZZYDEV)/string -I $(MOZZYDEV)/widgetMOZINCLUDES = -I $(MOZZYDEV) -I $(MOZZYDEV)/nspr -I $(MOZZYDEV)/plugin -I $(MOZZYDEV)/xpcom -I $(MOZZYDEV)/string -I $(MOZZYDEV)/widget -I $(MOZZYDEV)/java 
MOZIDLS = $(MOZZYDEV)/idlMOZIDLS = $(MOZZYDEV)/../idl
 MOZLIBS = $(MOZZY)  MOZLIBS = $(MOZZY)
 MOZCOMPONENTS = $(MOZZY)/components  MOZCOMPONENTS = $(MOZZY)/components
 MOZINSTALL = $(DESTDIR)/$(MOZCOMPONENTS)  MOZINSTALL = $(DESTDIR)/$(MOZCOMPONENTS)
MOZPLUGINS = $(MOZZY)/plugins MOZPLUGINS = $(DESTDIR)/$(MOZZY)/plugins
   
 XPIDL = $(MOZLIBS)/xpidl  XPIDL = $(MOZLIBS)/xpidl
   
Line 124  TESTLIBS = $(NSPR_LIBS) $(XPCOM_LIBS)  Line 144  TESTLIBS = $(NSPR_LIBS) $(XPCOM_LIBS) 
 all: $(LIBRARY_NAME) $(IDLFILE) $(TEST_PROGRAM)  all: $(LIBRARY_NAME) $(IDLFILE) $(TEST_PROGRAM)
   
 clean:  clean:
        rm  -f *.obj *.pdb *.res *.map *.lib *.exp *.o *.so *.dll *.xpt $(IDL_OUTPUT_BASENAME).h $(TEST_PROGRAM)         rm  -f *.obj *.pdb *.res *.map *.lib *.exp *.o *.so *.xpt *.dll $(IDL_OUTPUT_BASENAME).h $(TEST_PROGRAM)
   
 reset:  reset:
         rm -f $(MOZZY)/component.reg          rm -f $(MOZZY)/component.reg
Line 149  test:  Line 169  test: 
   
   
 ########################################## ABIWORD SETTINGS ######################################################  ########################################## ABIWORD SETTINGS ######################################################
ABIWORD_DEFINES= -DABIWORD_APP_NAME=\"WordProcessor\" -DABIWORD_APP_LIBDIR=\"\" -DVERSION=\"1.1\" ABIWORD_DEFINES= -DABIWORD_APP_NAME=\"WordProcessor\" -DABIWORD_APP_LIBDIR=\"\" -DHAVE_LIBJPEG
 ABIWORD_FLAGS= -O2 -Wall -ansi -pedantic -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_XOPEN_SOURCE -D__USE_XOPEN_EXTENDED -DNDEBUG  ABIWORD_FLAGS= -O2 -Wall -ansi -pedantic -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -D_XOPEN_SOURCE -D__USE_XOPEN_EXTENDED -DNDEBUG
ABIBUILD= /usr/local/oe-abiword-devel ABIBUILD= $(HOME)/rpmbuild/BUILD/abiword-1.0.3
 ABIINCLUDES= $(INCLUDES) -I$(ABIBUILD)/abi/src/af/util/xp -I$(ABIBUILD)/abi/src/af/xap/xp -I$(ABIBUILD)/abi/src/wp/ap/unix -I$(ABIBUILD)/abi/src/wp/ap/xp \  ABIINCLUDES= $(INCLUDES) -I$(ABIBUILD)/abi/src/af/util/xp -I$(ABIBUILD)/abi/src/af/xap/xp -I$(ABIBUILD)/abi/src/wp/ap/unix -I$(ABIBUILD)/abi/src/wp/ap/xp \
 -I$(ABIBUILD)/abi/src/af/xap/unix -I$(ABIBUILD)/abi/src/text/ptbl/xp -I$(ABIBUILD)/abi/src/af/ev/unix -I$(ABIBUILD)/abi/src/af/ev/xp \  -I$(ABIBUILD)/abi/src/af/xap/unix -I$(ABIBUILD)/abi/src/text/ptbl/xp -I$(ABIBUILD)/abi/src/af/ev/unix -I$(ABIBUILD)/abi/src/af/ev/xp \
 -I$(ABIBUILD)/abi/src/af/util/unix -I$(ABIBUILD)/abi/src/wp/impexp/xp -I$(ABIBUILD)/abi/src/text/fmt/xp -I$(ABIBUILD)/abi/src/af/gr/xp \  -I$(ABIBUILD)/abi/src/af/util/unix -I$(ABIBUILD)/abi/src/wp/impexp/xp -I$(ABIBUILD)/abi/src/text/fmt/xp -I$(ABIBUILD)/abi/src/af/gr/xp \
 -I$(ABIBUILD)/abi/src/af/gr/unix -I$(ABIBUILD)/abi/src/other/spell/xp -I$(ABIBUILD)/expat/lib  -I$(ABIBUILD)/abi/src/af/gr/unix -I$(ABIBUILD)/abi/src/other/spell/xp -I$(ABIBUILD)/expat/lib
ABILIBPATH= $(ABIBUILD)/abi/src/Linux_2.4.6_i386_OBJ/obj ABILIBPATH= `ls -d $(ABIBUILD)/abi/src/L*`/obj
ABILINKFLAGS= -lgtk -lgdk -lpng -L$(ABILIBPATH) -lAbiGr -lAbiFmt  -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell\ ABILINKFLAGS= -lgtk -lgdk -lpng -ljpeg -L$(ABILIBPATH) -lAbiGr -lAbiFmt  -lAbiPTbl -lAbiImpExp -lAbiXAp -lAbiWPAp -lAbiEv -lAbiUtil -lAbiWordVer -lAbiSpell\
 -lAbi_libwv -L$(ABIBUILD)/psiconv/psiconv/.libs -lpsiconv -L$(ABIBUILD)/expat/lib/.libs -lexpat -lAbiXAp -lAbiWPAp -lAbiGr  -lAbi_libwv -L$(ABIBUILD)/psiconv/psiconv/.libs -lpsiconv -L$(ABIBUILD)/expat/lib/.libs -lexpat -lAbiXAp -lAbiWPAp -lAbiGr
ABIOBJS= main.o xap_UnixFrame.o ap_UnixFrame.o ap_UnixApp.o ev_UnixToolbar.o ABIOBJS= main.o xap_UnixFrame.o ap_UnixApp.o js_ViewListener.o
   
 LIBS += $(ABILINKFLAGS)  LIBS += $(ABILINKFLAGS)
 ########################################## ABIWORD SETTINGS ######################################################  ########################################## ABIWORD SETTINGS ######################################################
Line 175  main.o: $(SRC)/abi/main.cpp  Line 195  main.o: $(SRC)/abi/main.cpp 
 xap_UnixFrame.o: $(SRC)/abi/xap_UnixFrame.cpp  xap_UnixFrame.o: $(SRC)/abi/xap_UnixFrame.cpp
         $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/xap_UnixFrame.cpp          $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/xap_UnixFrame.cpp
   
 ap_UnixFrame.o: $(SRC)/abi/ap_UnixFrame.cpp  
         $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/ap_UnixFrame.cpp  
   
 ap_UnixApp.o: $(SRC)/abi/ap_UnixApp.cpp  ap_UnixApp.o: $(SRC)/abi/ap_UnixApp.cpp
         $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/ap_UnixApp.cpp          $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/ap_UnixApp.cpp
   
ev_UnixToolbar.o: $(SRC)/abi/ev_UnixToolbar.cpp js_ViewListener.o: $(SRC)/abi/js_ViewListener.cpp
        $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/ev_UnixToolbar.cpp         $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/js_ViewListener.cpp
   
 # Generates .xpt and .h files from the IDL  # Generates .xpt and .h files from the IDL
   

Removed from v.1.2  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>