View | Details | Raw Unified
Collapse All | Expand All

(-) qemacs-0.3.1/libqhtml/Makefile (-25 / +11 lines)
 Lines 29-42   ifdef TARGET_GPROF Link Here 
CFLAGS+= -p
CFLAGS+= -p
LDFLAGS+= -p
LDFLAGS+= -p
endif
endif
ifdef TARGET_ARCH_X86
#CFLAGS+=-fomit-frame-pointer
ifeq ($(GCC_MAJOR),2)
CFLAGS+=-m386 -malign-functions=0
else
CFLAGS+=-march=i386 -falign-functions=0
endif
endif
DEFINES=-DHAVE_QE_CONFIG_H
DEFINES=-DHAVE_QE_CONFIG_H
########################################################
########################################################
 Lines 190-204   distclean: clean Link Here 
	rm -f config.h config.mak
	rm -f config.h config.mak
install: qe qe.1 kmaps ligatures html2png
install: qe qe.1 kmaps ligatures html2png
	install -m 755 qe $(prefix)/bin/qemacs
	mkdir -p $(DESTDIR)$(prefix)/bin
	ln -sf qemacs $(prefix)/bin/qe
	install -m 755 qe $(DESTDIR)$(prefix)/bin/qemacs
	install -m 755 libqhtml/csstoqe $(DESTDIR)$(prefix)/bin/csstoqe
ifdef CONFIG_FFMPEG
ifdef CONFIG_FFMPEG
	ln -sf qemacs $(prefix)/bin/ffplay
	ln -sf qemacs $(DESTDIR)$(prefix)/bin/qemacs-ffplay
endif
endif
	mkdir -p $(prefix)/share/qe
	mkdir -p $(DESTDIR)$(prefix)/share/qemacs
	install kmaps ligatures $(prefix)/share/qe
	install -m644 kmaps ligatures $(DESTDIR)$(prefix)/share/qe
	install qe.1 $(prefix)/man/man1
	mkdir -p $(DESTDIR)$(prefix)/share/man/man1
	install -m 755 -s html2png $(prefix)/bin
	install -m644 qe.1 $(DESTDIR)$(prefix)/share/man/man1/qemacs.1
	install -m 755 -s html2png $(DESTDIR)$(prefix)/bin
TAGS: force
TAGS: force
	etags *.[ch]
	etags *.[ch]
 Lines 6-12    Link Here 
#
#
# modify to get the path of the qemacs sources
# modify to get the path of the qemacs sources
QEMACS_PATH=../
QEMACS_PATH=/usr/include/qemacs
# define the name of your plugin
# define the name of your plugin
LIB=my_plugin.so
LIB=my_plugin.so
# define the object files it contains
# define the object files it contains
 Lines 20-26   CFLAGS=-O2 -Wall -g -fPIC $(INCLUDES) $( Link Here 
# by default, the plugin is copied in ~/.qe/ some that qemacs can load
# by default, the plugin is copied in ~/.qe/ some that qemacs can load
# it automatically.
# it automatically.
all: $(DIST_LIB)
all: $(LIB)
$(DIST_LIB): $(LIB)
$(DIST_LIB): $(LIB)
	install -s -m 644 $< $@
	install -s -m 644 $< $@
 Lines 5-18   ifdef TARGET_GPROF Link Here 
CFLAGS+= -p
CFLAGS+= -p
LDFLAGS+= -p
LDFLAGS+= -p
endif
endif
ifdef TARGET_ARCH_X86
#CFLAGS+=-fomit-frame-pointer
ifeq ($(GCC_MAJOR),2)
CFLAGS+=-m386 -malign-functions=0
else
CFLAGS+=-march=i386 -falign-functions=0
endif
endif
CFLAGS+=-I..
CFLAGS+=-I..
OBJS=css.o xmlparse.o cssparse.o html_style.o docbook_style.o
OBJS=css.o xmlparse.o cssparse.o html_style.o docbook_style.o