# -*- Makefile -*- #---------------------------------------------------------------------------- # GNU Makefile # # @file GNUmakefile.PerlACE # # $Id: gnu.mpd 85209 2009-04-29 09:47:19Z johnnyw $ # # This file was automatically generated by MPC. Any changes made directly to # this file will be lost the next time it is generated. # #---------------------------------------------------------------------------- MAKEFILE = GNUmakefile.PerlACE DEPENDENCY_FILE = .depend.PerlACE FILES = \ #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- PRJ_TYPE = library INSLIB ?= . ifeq ($(INSLIB),.) ifeq ($(CURDIR),) ifeq ($(PWD),) PWD=$(shell pwd) endif else PWD=$(CURDIR) endif INSLIB = $(PWD) endif OUTPUT_DIRECTORY = $(INSLIB) include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU # To build multiple targets in the same directory on AIX, it works # best to have a template directory per project. # The compiler/linker isn't too smart about instantiating templates... ifdef TEMPINCDIR TEMPINCDIR := $(TEMPINCDIR)/PerlACE all: $(TEMPINCDIR) endif ifneq ($(OUTPUT_DIRECTORY),) all: $(OUTPUT_DIRECTORY) $(OUTPUT_DIRECTORY): -@$(MKDIR) "$(OUTPUT_DIRECTORY)" endif LIBCHECK = 1 ifneq ($(LIBCHECK), 1) all: lib_warning endif include $(ACE_ROOT)/include/makeinclude/macros.GNU include $(ACE_ROOT)/include/makeinclude/rules.common.GNU include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU include $(ACE_ROOT)/include/makeinclude/rules.local.GNU ifeq ($(VXWORKSLINK),1) include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) endif ifeq ($(VXWORKSLINK),1) LDLIBPATH = -L. else LDFLAGS += -L. endif #---------------------------------------------------------------------------- # Local targets #---------------------------------------------------------------------------- lib_warning: @echo PerlACE will not be built due to the following missing library: @echo $(LIBCHECK) ## Some OS's have /bin/test others only have /usr/bin/test ifeq ($(wildcard /bin/test), /bin/test) TEST_EXE = /bin/test else ifeq ($(wildcard /usr/bin/test), /usr/bin/test) TEST_EXE = /usr/bin/test endif endif ifneq ($(GENERATED_DIRTY),) .PRECIOUS: $(GENERATED_DIRTY) all: $(GENERATED_DIRTY) endif realclean: clean ifneq ($(GENERATED_DIRTY),) -$(RM) -r $(GENERATED_DIRTY) endif __prebuild__: @-: