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

version 1.1, 2001/10/29 15:54:11 version 1.2, 2001/11/05 19:00:23
Line 48  CC = g++  Line 48  CC = g++ 
 SRC = .  SRC = .
   
 # set PACKAGE and VERSION for distrbution tarball  # set PACKAGE and VERSION for distrbution tarball
PACKAGE=wppluginPACKAGE=moziword
VERSION=0.99VERSION=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 tst.png wordp.js wordp.xul READMEEXTRA_DISTFILES= nsWPPlugin_CID.h wpplugintst.html README wordp.js wordp.xul tst.png abi
   
 # Path to your Mozilla installation  # Path to your Mozilla installation
 #  #
Line 87  HEADER_FILES = $(SRC)/nsWPPluginFactory. Line 87  HEADER_FILES = $(SRC)/nsWPPluginFactory.
   
 # 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 -I/usr/include/gtk-1.2 -I/usr/include/libole2 -I/usr/local/include -fno-rtti -DPLUGIN_DEBUGINCLUDES = -I./ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -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 = -lgtksuperwin -L $(SRC)/../libabiword -lAbiWord EXTRA_LIBS =
  
 # -lgtksuperwin
   
 # Mozilla directories  # Mozilla directories
#
MOZINCLUDES = -I $(MOZZYDEV) -I $(MOZZYDEV)/nsprMOZINCLUDES = -I $(MOZZYDEV) -I $(MOZZYDEV)/nspr -I $(MOZZYDEV)/plugin -I $(MOZZYDEV)/xpcom -I $(MOZZYDEV)/string -I $(MOZZYDEV)/widget
 MOZIDLS = $(MOZZYDEV)/idl  MOZIDLS = $(MOZZYDEV)/idl
 MOZLIBS = $(MOZZY)  MOZLIBS = $(MOZZY)
 MOZCOMPONENTS = $(MOZZY)/components  MOZCOMPONENTS = $(MOZZY)/components
 MOZINSTALL = $(DESTDIR)/$(MOZCOMPONENTS)  MOZINSTALL = $(DESTDIR)/$(MOZCOMPONENTS)
MOZPLUGINS = $(DESTDIR)/$(MOZZY)/plugins MOZPLUGINS = $(MOZZY)/plugins
   
 XPIDL = $(MOZLIBS)/xpidl  XPIDL = $(MOZLIBS)/xpidl
   
Line 130  install:  Line 134  install: 
         install -d $(MOZINSTALL)/          install -d $(MOZINSTALL)/
         install $(LIBRARY_NAME) $(MOZINSTALL)/          install $(LIBRARY_NAME) $(MOZINSTALL)/
         install $(IDL_OUTPUT_BASENAME).xpt $(MOZINSTALL)/          install $(IDL_OUTPUT_BASENAME).xpt $(MOZINSTALL)/
         install -d $(MOZPLUGINS)/  
         install $(LIBRARY_NAME) $(MOZPLUGINS)/          install $(LIBRARY_NAME) $(MOZPLUGINS)/
   
 uninstall:  uninstall:
Line 145  test:  Line 148  test: 
          ./$(TEST_PROGRAM)           ./$(TEST_PROGRAM)
   
   
   ########################################## ABIWORD SETTINGS ######################################################
   ABIWORD_DEFINES= -DABIWORD_APP_NAME=\"WordProcessor\" -DABIWORD_APP_LIBDIR=\"\" -DVERSION=\"1.1\"
   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
   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/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
   ABILIBPATH= $(ABIBUILD)/abi/src/Linux_2.4.6_i386_OBJ/obj
   ABILINKFLAGS= -lgtk -lgdk -lpng -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
   ABIOBJS= main.o xap_UnixFrame.o ap_UnixFrame.o ap_UnixApp.o ev_UnixToolbar.o
   
   LIBS += $(ABILINKFLAGS)
   ########################################## ABIWORD SETTINGS ######################################################
   
 # Builds xpcom shared object  # Builds xpcom shared object
   
$(LIBRARY_NAME): $(SOURCE_FILES) $(HEADER_FILES) $(IDL_OUTPUT_BASENAME) $(LIBRARY_NAME): $(SOURCE_FILES) $(HEADER_FILES) $(IDL_OUTPUT_BASENAME) $(ABIOBJS)
        $(CC) -shared -o $(LIBRARY_NAME) $(SOURCE_FILES)  $(MOZINCLUDES)  $(INCLUDES) $(LIBS)         $(CC) -shared -o $(LIBRARY_NAME) $(SOURCE_FILES) $(ABIOBJS) $(MOZINCLUDES) $(INCLUDES) $(LIBS)
 
 main.o: $(SRC)/abi/main.cpp
         $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/main.cpp
   
   xap_UnixFrame.o: $(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
           $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/ap_UnixApp.cpp
   
   ev_UnixToolbar.o: $(SRC)/abi/ev_UnixToolbar.cpp
           $(CC) -c $(ABIWORD_DEFINES) $(ABIWORD_FLAGS) $(ABIINCLUDES) $(SRC)/abi/ev_UnixToolbar.cpp
   
 # Generates .xpt and .h files from the IDL  # Generates .xpt and .h files from the IDL
   
Line 163  $(IDL_OUTPUT_BASENAME):  Line 196  $(IDL_OUTPUT_BASENAME): 
 # Build test program  # Build test program
   
 $(TEST_PROGRAM) : $(TEST_SOURCE_FILES)  $(TEST_PROGRAM) : $(TEST_SOURCE_FILES)
        $(CC) -o $(TEST_PROGRAM) $(TEST_SOURCE_FILES) $(MOZINCLUDES)  $(INCLUDES) $(TESTLIBS)  -lplds4 -lplc4 -lnspr4         $(CC) -o $(TEST_PROGRAM) $(TEST_SOURCE_FILES) $(MOZINCLUDES) $(INCLUDES) $(TESTLIBS)  -lplds4 -lplc4 -lnspr4
   
   
   
Line 183  distdir:  Line 216  distdir: 
         rm -rf $(distdir)          rm -rf $(distdir)
         mkdir $(distdir)          mkdir $(distdir)
         for file in $(DISTFILES); do \          for file in $(DISTFILES); do \
       cp -p $$file $(distdir) ;\         if [ -f $$file ]; then\
                 cp -p $$file $(distdir);\
         fi\
         done
         for dir in $(DISTFILES); do \
         if [ -d $$dir ]; then\
                 cp -r $$dir $(distdir);\
         fi\
         done          done

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


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