diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
commit | 1fd361a1ea06e44286c213ca1f814f49306fdc43 (patch) | |
tree | 64c8c96cf54d8718847339a403e5e67b922e8c3f /other/pamx/Makefile | |
download | netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.gz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.xz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.zip |
Create Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pamx/Makefile')
-rw-r--r-- | other/pamx/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/other/pamx/Makefile b/other/pamx/Makefile new file mode 100644 index 00000000..a86a3331 --- /dev/null +++ b/other/pamx/Makefile @@ -0,0 +1,43 @@ +ifeq ($(SRCDIR)x,x) + SRCDIR = $(CURDIR)/../.. + BUILDDIR = $(SRCDIR) +endif +SUBDIR = other/pamx +VPATH=.:$(SRCDIR)/$(SUBDIR) + +include $(BUILDDIR)/Makefile.config + +ifneq ($(X11LIB),NONE) + ifneq ($(X11HDR_DIR),) + INCLUDES += -I$(X11HDR_DIR) + endif +endif + +ifneq ($(X11LIB),NONE) + BINARIES += pamx +endif + +PAMX_OBJECTS = \ + pamx.o \ + image.o \ + send.o \ + window.o \ + +MERGE_OBJECTS = \ + pamx.o2 \ + image.o \ + send.o \ + window.o \ + +OBJECTS = $(PAMX_OBJECTS) + +MERGEBINARIES = $(BINARIES) + +all: $(BINARIES) + +include $(SRCDIR)/Makefile.common + +pamx: $(PAMX_OBJECTS) $(NETPBMLIB) $(LIBOPT) + $(LD) $(LDFLAGS) -o $@ $(PAMX_OBJECTS) \ + $(shell $(LIBOPT) $(NETPBMLIB) $(X11LIB)) \ + $(LDLIBS) $(MATHLIB) $(RPATH) $(LADD) |