⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 Evc编的一个在wince5.0上运行的flash播放器
💻
字号:
#!make
################################################################################
# Copyright (c) 1996 Netscape Communications. All rights reserved.
################################################################################
#
# The output of the make process will be npflash.so
# Install this file either in
#	/usr/lib/netscape/plugins/
#	(or)
#	~/.netscape/plugins/
#	(or) in any convenient directory and point environment variable
#	     NPX_PLUGIN_PATH to point to the directory. It is advisable
#	     that the plugins (.so) are the only files in that directory.
#
# This makefile contains some of our defines for the compiler:
#
# XP_UNIX	This needs to get defined for npapi.h on unix platforms.
# PLUGIN_TRACE	Enable this define to get debug prints whenever the plugin
#		api gets control.
#          

PLUGIN_DEFINES= -DXP_UNIX
OPTIMIZER=
FLASH=../Lib

# Solaris
#LIBCXX=/usr/lib/libC.so
# gcc
LIBCXX=

# Solaris (Sun compiler/linker)
#SHARED=-G
# FreeBSD
#SHARED=-Bshareable
# Linux
SHARED=-shared

CFLAGS=  $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include
LDFLAGS= $(FLASH)/libflash.a $(LIBCXX) ../Jpeg/libjpeg.a ../Zlib/libz.a

SRC= plugin.c npunix.c
OBJ= plugin.o npunix.o

SHAREDTARGET=npflash.so

default all: $(SHAREDTARGET)

$(SHAREDTARGET): $(OBJ) $(FLASH)/libflash.a
	$(LD) $(SHARED) -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS)

plugin.o: $(FLASH)/flash.h

clean:
	$(RM) $(OBJ) $(SHAREDTARGET)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -